Skip to content
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

Merged
merged 2 commits into from
Nov 7, 2018

Conversation

ghost
Copy link

@ghost ghost commented Oct 29, 2018

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

@ghost
Copy link
Author

ghost commented Oct 29, 2018

@miq-bot add-label transformation, bug, hammer/yes
@miq-bot add-reviewer agrare

@miq-bot
Copy link
Member

miq-bot commented Oct 29, 2018

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
2 files checked, 0 offenses detected
Everything looks fine. 👍

@ghost
Copy link
Author

ghost commented Oct 30, 2018

@miq-bot add-reviewer jameswnl

@miq-bot miq-bot requested a review from jameswnl October 30, 2018 21:42
@@ -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) }
Copy link
Contributor

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@miq-bot
Copy link
Member

miq-bot commented Nov 2, 2018

This pull request is not mergeable. Please rebase and repush.

@ghost ghost force-pushed the v2v_fix_openstack_migration branch from 45e8156 to 84805c9 Compare November 7, 2018 16:17
@agrare agrare self-assigned this Nov 7, 2018
@agrare
Copy link
Member

agrare commented Nov 7, 2018

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.

@agrare agrare merged commit 69f83f0 into ManageIQ:master Nov 7, 2018
@agrare agrare added this to the Sprint 99 Ending Nov 19, 2018 milestone Nov 7, 2018
@agrare agrare removed the unmergeable label Nov 7, 2018
@ghost ghost deleted the v2v_fix_openstack_migration branch November 7, 2018 18:49
simaishi pushed a commit that referenced this pull request Nov 7, 2018
@simaishi
Copy link
Contributor

simaishi commented Nov 7, 2018

Hammer backport details:

$ git log -1
commit 93624069917780e3ebc7711029afc151eb1ed7f4
Author: Adam Grare <agrare@redhat.com>
Date:   Wed Nov 7 13:04:40 2018 -0500

    Merge pull request #18143 from fdupont-redhat/v2v_fix_openstack_migration
    
    Fix OpenStack virt-v2v-wrapper options hash
    
    (cherry picked from commit 69f83f019abf043e6643680eae60a4e674f2390f)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1644069

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants