-
Notifications
You must be signed in to change notification settings - Fork 403
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
bug 1878129: add node collection for oc adm inspect #2081
Conversation
@deads2k: This pull request references Bugzilla bug 1878129, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Just to make sure, this should effectively only affect must-gather (via Does this also mean the MCO is now the effective "owner" of a node object? In normal cluster operation does anyone "sync" node objects? |
It doesn't really make sense to me to have the nodes grouped under MCO instead of a first class resource like @cgwalters saidin the BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1878129#c6 I think this needs more discussion bc this doesn't feel like the right choice. /hold |
It doesn't mean that at all. This just means the data is gathered so that the node team can debug.
correct. |
Resources are inspected and related resources gathered. The method to hardcode collection is to add them to a relatedresource. Doing it in generic client handling (used by RHACM for instance or for inspecting a customer namespace) does not make sense. /hold cancel |
/retest |
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.
If its only for collection purposes I am +1
Also the BZ is targetted 4.7, did you want this in 4.6
Yes. Looks like someone may not have understood the impact and ease of the change and moved it out. |
Are there written down rules around what data Anyways tentative (On the flip side though debugging a lot of MCO problems is going to really want the node objects too) |
The enhancement describes what is collected: https://github.com/openshift/enhancements/blob/master/enhancements/oc/inspect.md#proposal It also includes information about what data is elided from output. Since the images would also be listed in the pods themselves, I don't see image metadata as different. |
Inspect is a tool for pulling information related to what is requested. That relationship should be described by the resources themselves, especially since usage like We will not add information about particular resources for particular operators, since the operators have a structured spot to include the relationship. If the MCO isn't able to add this information, group-b can provide a stop-gap, but it would be really disappointing if an additional piece of debugging information, most tightly coupled to the MCO wasn't able to be added where it is needed |
I don't quite see this listed in the enhancement but basically - we're not gathering user projects (i.e. non- (This data probably leaks into other operators or pod logs; it's not quite clear to me that |
/lgtm |
@cgwalters: This pull request references Bugzilla bug 1878129, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, deads2k, yuqi-zhang 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
10 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@deads2k: All pull requests linked via external trackers have merged: Bugzilla bug 1878129 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
MCO holds kubelet config, which leads to node creation. This adds node collection for related resources because the MCO configuration has a direct impact on the node resources.