-
Notifications
You must be signed in to change notification settings - Fork 142
EOS-25693-new: Support Bundle generation is not creating and collecting data for m0reportbug-traces. #1221
Conversation
…ata for m0reportbug-traces. Fix : If /proc/sysrq-trigger is mounted as ro then return. Signed-off-by: Papan Kumar Singh <papan.kumarsingh@seagate.com>
Tested in cortx-motr-ios container
|
tested on 1 node VM cluster [root@ssc-vm-g3-rhev4-2360 ~]# m0reportbug |
@papan-singh This PR is raised against kubernetes branch. Are you sure that is what we want? |
utils/m0reportbug
Outdated
@@ -699,6 +703,10 @@ sysrq_info() { | |||
[t]='show-task-states' | |||
[m]='show-memory-usage' | |||
) | |||
if [[ "ro"==$(cat /proc/mounts | grep /proc/sysrq-trigger | awk '{print substr($4,1,2)}') ]] ; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Objective of this command is to identify and skip sysrq/journal log on k8 env.
From the VM output, it is skipping on VM as well. which is not expected I believe.
It could also skip on HW as well.
Could you kindly confirm this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested updated patch on VM and HW
Signed-off-by: Papan Kumar Singh <papan.kumarsingh@seagate.com>
tested updated patch on 1 node VM cluster |
Tested updated patch on HW |
Looks good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
…ng data for m0reportbug-traces. (#1221) Fix : If /proc/sysrq-trigger is mounted as ro then return. Signed-off-by: Papan Kumar Singh <papan.kumarsingh@seagate.com>
…ng data for m0reportbug-traces. (#1221) Fix : If /proc/sysrq-trigger is mounted as ro then return. Signed-off-by: Papan Kumar Singh <papan.kumarsingh@seagate.com>
…ng data for m0reportbug-traces. (#1221) Fix : If /proc/sysrq-trigger is mounted as ro then return. Signed-off-by: Papan Kumar Singh <papan.kumarsingh@seagate.com>
…ng data for m0reportbug-traces. (#1221) Fix : If /proc/sysrq-trigger is mounted as ro then return. Signed-off-by: Papan Kumar Singh <papan.kumarsingh@seagate.com>
…ng data for m0reportbug-traces. (#1221) Fix : If /proc/sysrq-trigger is mounted as ro then return. Signed-off-by: Papan Kumar Singh <papan.kumarsingh@seagate.com>
…ng data for m0reportbug-traces. (#1221) Fix : If /proc/sysrq-trigger is mounted as ro then return. Signed-off-by: Papan Kumar Singh <papan.kumarsingh@seagate.com>
…ng data for m0reportbug-traces. (#1221) Fix : If /proc/sysrq-trigger is mounted as ro then return. Signed-off-by: Papan Kumar Singh <papan.kumarsingh@seagate.com>
Problem Statement
Design
Coding
Checklist for Author
Testing
Checklist for Author
Impact Analysis
Checklist for Author/Reviewer/GateKeeper
Review Checklist
Checklist for Author
Documentation
Checklist for Author