-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add node related commands to must-gather #142
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: agarwal-mudit The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Its a bit ugly but this is the best I can find as of now, attaching the output file as well. |
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.
Its a bit ugly but this is the best I can find as of now,
- not sure what you mean by this, do we want to conform to any pattern as the collected info seems good enough to me.
I meant that we have to use oc debug command and because of that I have to put everything in a file and then execute that file as a single command. Couldn't think of any other solution, I need to check with LVM developer also. |
|
@leelavg added -a and -q as per the last comment, PTAL |
|
commands_get=() | ||
|
||
# lvm commands | ||
commands_get+=("lvm lvs -a") |
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.
we don't need to call lvm each time. For instance, just lvs, vgs etc will work. Why are we including lvm as well? lvm apparently opens the lvm shell.
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.
Lets check with the LVM dev if this could have any unwanted effects. Otherwise I think this is fine.
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.
I will check with him along with the other things, but as far as I have noticed running only "lvm" opens a lvm shell otherwise not. But yeah, all the commands work without prefixing lvm so I can remove that.
Add node related commands to must-gather output Signed-off-by: Mudit Agarwal <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: agarwal-mudit, nbalacha The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add node related commands to must-gather output
Signed-off-by: Mudit Agarwal [email protected]