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
tests suite reporter: Collect guest VM cloud-init logs #6882
Conversation
Signed-off-by: Or Mergi <ormergi@redhat.com>
b759de8
to
f2d8b37
Compare
@@ -1115,6 +1174,37 @@ func (r *KubernetesReporter) executePriviledgedVirtLauncherCommands(virtCli kube | |||
} | |||
} | |||
|
|||
func (r *KubernetesReporter) executeCloudInitCommands(vmi v12.VirtualMachineInstance, path string, vmiType string) { |
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 file could use better names for functions, but I guess it is consistent with existing usage and it is best handled in a separate PR.
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.
Yep, I am planning to post small refactoring PR for this file soon, we can do it then 🙂
/lgtm |
/cc @enp0s3 hey could you please take a look? 🙂 |
/hold |
/unhold |
/retest |
/cc @rmohr |
/approve Looks useful 👍 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rmohr 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 |
Thank you 🙂 |
/retest |
/retest |
4 similar comments
/retest |
/retest |
/retest |
/retest |
Signed-off-by: Or Mergi ormergi@redhat.com
What this PR does / why we need it:
With this PR test suite reporter will collect cloud-init logs from guest VM's from failing tests
and save them at
artifacts/cloud-init/vmis
.Having those logs will help debugging failing tests due to cloud-init configuration failures.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
This PR changes will help with working on #6776
Release note: