-
Notifications
You must be signed in to change notification settings - Fork 898
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
Reconnect host on provider add #16750
Conversation
Specs available here ManageIQ/manageiq-providers-ovirt#189 |
@miq-bot add_label gaprindashvili/yes |
} | ||
|
||
attributes.merge!(extra_attributes) | ||
end | ||
|
||
def vms(extra_attributes = {}) |
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.
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.
@Ladas I did that but the specs started to fail for CloudManager so rolling back and keeping it on InfraManager level.
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.
ok, I will looks into that, let's start with infra then
We need to make sure that when we remove a provider and add it again we will keep using the same host entities. Without this change add and remove provider cause to duplicate hosts. Fixes https://bugzilla.redhat.com/1528859
Checked commit pkliczewski@2ede836 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@Ladas please review |
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.
Looks good. @agrare we can start with infra and I will look into why the specs fail for Cloud
@agrare Are you OK with this PR? |
Reconnect host on provider add (cherry picked from commit 1caf713) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1532332
Gaprindashvili backport details:
|
We need to make sure that when we remove a provider and add it again we
will keep using the same host entities. Without this change add and remove
provider cause to duplicate hosts.
Fixes https://bugzilla.redhat.com/1528859