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

[V2V] Remove check on power_off variable #513

Merged

Conversation

ghost
Copy link

@ghost ghost commented Mar 14, 2019

When we designed the migration workflow, we didn't want to force the shutdown of the VM. We wanted to have an explicit sign-off. So, we implemented a check on a power_offboolean variable. This variable was set to true in the first state of the state machine. The associated UI was never implemented and we always shutdown the VMs.

When the throttling code was moved to the backend, the variable was not set anymore, so all migrations fail. As it's not used, removing the check on power_off variable is cleaner.

Associated RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1688465

@ghost
Copy link
Author

ghost commented Mar 14, 2019

@miq-bot add_label transformation, bug, hammer/yes
@miq-bot add_reviewer @jameswnl
@miq-bot add_reviewer @gmcculloug

@miq-bot
Copy link
Member

miq-bot commented Mar 14, 2019

@fdupont-redhat 'jameswnl' is an invalid reviewer, ignoring...

@miq-bot miq-bot requested a review from gmcculloug March 14, 2019 11:10
@coveralls
Copy link

coveralls commented Mar 14, 2019

Pull Request Test Coverage Report for Build 2818

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.906%

Totals Coverage Status
Change from base Build 2813: 0.0%
Covered Lines: 2819
Relevant Lines: 2909

💛 - Coveralls

@miq-bot
Copy link
Member

miq-bot commented Mar 14, 2019

Checked commit fabiendupont@1f4c62b with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 👍

@ghost
Copy link
Author

ghost commented Mar 18, 2019

@miq-bot add_label blocker

@gmcculloug gmcculloug self-assigned this Mar 18, 2019
@gmcculloug gmcculloug merged commit 71fb5b8 into ManageIQ:master Mar 18, 2019
@gmcculloug gmcculloug added this to the Sprint 107 Ending Mar 18, 2019 milestone Mar 18, 2019
simaishi pushed a commit that referenced this pull request Mar 18, 2019
…off_variable

[V2V] Remove check on power_off variable

(cherry picked from commit 71fb5b8)

https://bugzilla.redhat.com/show_bug.cgi?id=1689947
@simaishi
Copy link
Contributor

Hammer backport details:

$ git log -1
commit 36a944bff4cb8c85a127a90b0b4ce12649ad6e69
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Mon Mar 18 09:24:23 2019 -0400

    Merge pull request #513 from fdupont-redhat/v2v_remove_test_on_power_off_variable
    
    [V2V] Remove check on power_off variable
    
    (cherry picked from commit 71fb5b85304eaec90401db8a9a8d15e8a3d8baad)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1689947

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.

None yet

6 participants