-
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
Fix OpenStack virt-v2v-wrapper options hash #18143
Fix OpenStack virt-v2v-wrapper options hash #18143
Conversation
Checked commits fabiendupont/manageiq@d8a6c63~...45e8156 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@miq-bot add-reviewer jameswnl |
@@ -517,7 +517,7 @@ | |||
let(:dst_cloud_network_2) { FactoryGirl.create(:cloud_network) } | |||
let(:dst_flavor) { FactoryGirl.create(:flavor) } | |||
let(:dst_security_group) { FactoryGirl.create(:security_group) } | |||
let(:conversion_host_vm) { FactoryGirl.create(:vm, :ext_management_system => dst_ems) } | |||
let(:conversion_host_vm) { FactoryGirl.create(:vm_openstack, :ext_management_system => dst_ems, :cloud_tenant => dst_cloud_tenant) } |
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.
Can we assign a name to this :cloud_tenant
and have an expect
statement to match it against the os_project_name
? My thought is that: If this had been there, we would have detected this bug early on.
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.
Done.
This pull request is not mergeable. Please rebase and repush. |
45e8156
to
84805c9
Compare
Looks like CI status isn't syncing, https://travis-ci.org/ManageIQ/manageiq/builds/451965303?utm_source=github_status&utm_medium=notification says this is green. |
…tion Fix OpenStack virt-v2v-wrapper options hash (cherry picked from commit 69f83f0) https://bugzilla.redhat.com/show_bug.cgi?id=1644069
Hammer backport details:
|
When migrating the to OpenStack, the hash passed to virt-v2v-wrapper contains the OpenStack authentication URL and the authentication project name. There was an error and this PR fixes it.
Associated RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1644069