Skip to content
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

test(manual): support bundle node collection timeout #1920

Conversation

c3y1huang
Copy link
Collaborator

Which issue(s) this PR fixes:

Issue longhorn/longhorn#8623

What this PR does / why we need it:

Propose manually testing the support bundle node timeout to include a simulation of the node collection blockage with a patched image.

Special notes for your reviewer:

None

Additional documentation or context

rancher/support-bundle-kit#109

@c3y1huang c3y1huang self-assigned this May 28, 2024
longhorn/longhorn-8623

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
@c3y1huang c3y1huang force-pushed the feat-support-bundle-node-bundle-collection-timeout branch from fcc519a to 9d79fa5 Compare May 28, 2024 03:55
@c3y1huang c3y1huang marked this pull request as ready for review May 28, 2024 04:08
@c3y1huang c3y1huang requested a review from a team as a code owner May 28, 2024 04:08
```
**And** A timeout log is recorded in the support bundle manager pod logs.
```
time="2024-05-28T03:07:07Z" level=info msg="Some nodes are timeout, not all node bundles are received."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this PR but just curious, can we print the node name also in the log? Or are we doing it already?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the node bundle is collected, the logs will include the node name:

time="2024-05-28T23:41:26Z" level=debug msg="Handle create node bundle for ip-10-0-1-238"
time="2024-05-28T23:41:26Z" level=debug msg="Complete node ip-10-0-1-238"
time="2024-05-28T23:41:26Z" level=debug msg="Complete node ip-10-0-1-185"

And, the support bundle also collects node CRs, which can be compared with the actual collected node bundles. So we should be able to work it out.

@khushboo-rancher khushboo-rancher merged commit 130c86c into longhorn:master May 28, 2024
7 checks passed
@c3y1huang c3y1huang deleted the feat-support-bundle-node-bundle-collection-timeout branch May 28, 2024 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants