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
Use the host_geust_devices inventory collection #360
Use the host_geust_devices inventory collection #360
Conversation
Prevent duplication of host guest_devices by using the correct association. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1691109
Checked commit agrare@d4f2903 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
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.
Cool! How would you say we should test this?
(We can do it in a separate PR thought)
@borod108 what we should do is update all the refresh specs to do This catches any issues like this where two refreshes run back to back don't yield the same result. I tried doing this but was getting vcr errors:
cc @slemrmartin |
I tested this against a live RHV system by doing:
Twice |
@simaishi before you backport this we'll need ManageIQ/manageiq@b528ade1615 which adds the host_guest_devices inventory collection |
…association Use the host_geust_devices inventory collection (cherry picked from commit 49ac642) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1731237
Hammer backport details:
|
@agrare thank you for the note, confirmed host_guest_devices is in hammer branch. |
Prevent duplication of host guest_devices by using the correct
association.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1691109