-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(preflights): include preflight collect results in support bundle #1195
feat(preflights): include preflight collect results in support bundle #1195
Conversation
pkg/preflights/preflights.go
Outdated
src = match | ||
} | ||
} | ||
dst := filepath.Join(defaults.EmbeddedClusterLogsSubDir(), "preflight-bundle.tar.gz") |
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.
this shouldn't be unique - I think for logs we use the timestamp or something?
That way we don't overwrite each time the install command is run
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.
My thinking here is that if we store all these bundles here it will bloat the support bundle too much so i am only storing the latest.
This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID. Online Installer:
Airgap Installer (may take a few minutes before the airgap bundle is built):
Happy debugging! |
Test is flakey. Merging |
What this PR does / why we need it:
The new version of troubleshoot will drop the preflight collected files on disk in the current directory. This change will move the file to the /var/lib/embedded-cluster/logs directory which is included in support bundles.
Which issue(s) this PR fixes:
Does this PR require a test?
Does this PR require a release note?
Does this PR require documentation?