-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Add 'uuid', 'on_reboot', 'on_restart', and 'on_crash' settings to the… #48214
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
Conversation
… virt.info output
|
The use case we have for this is matching, with a high degree of confidence, the dataset we get from a salt minion which runs on a guest and when the same VM shows up as a part of If |
|
Re: Failing checks - sorry, not sure how to fix any of them. None of the failures seemed actual failures. I tried to follow the pattern already established by functions such as |
|
Hi @pm17788 - Apologies for not commenting on this sooner. It got lost in my tabs. :) The original test run actually hit a race-condition we have in our jenkins server, that's why there weren't any test results there. However, the lint failures will need to be fixed up for sure: https://jenkins.saltstack.com/job/PR/job/salt-pr-lint-n/22808/violations/file/salt/modules/virt.py/ Can you grab those? Also, welcome! Thanks for contributing. :) |
|
@rallytime: Thank you for catching up with this. The linter and I are now in the battle of wits. :) |
|
@rallytime : Incoming! |
|
@rallytime: I think I got it this time. So many checks seem to come back angry-red, though, sadly, I'm at a loss how to fix 'em. |
|
@pm17788 Thanks! Yeah, those other test failures are not related to this PR. |
|
@rallytime : Huzzah! :) |
What does this PR do?
Adds 'uuid', 'on_reboot', 'on_restart', and 'on_crash' settings to the
virt.vm_infoandvirt.full_infooutputsWhat issues does this PR fix or reference?
The need to parse XML to get this data.
New Behavior
Both
virt.vm_infoandvirt.full_infooutputs now include the parsed values (or Null) foruuid,on_reboot,on_restart, andon_crash. The highest utility is in mass parsing of output of things likesalt --out=json '*' virt.full_infoTests written?
No
Commits signed with GPG?
No