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

Change retire_now to pass zone_name to raise_retirement_event. #15026

Merged
merged 1 commit into from
May 10, 2017

Conversation

tinaafitz
Copy link
Member

@tinaafitz tinaafitz commented May 8, 2017

Pass zone as option to raise_evm_event.

Separate Automate engine miq_ae_event change required.

https://bugzilla.redhat.com/show_bug.cgi?id=1447625

Related PR ManageIQ/manageiq-automation_engine#18

@chrispy1
Copy link

chrispy1 commented May 8, 2017

@miq-bot add_label fine/yes
@miq-bot add_label blocker

@tinaafitz tinaafitz changed the title [WIP]Change retire_now to pass zone_name to raise_retirement_event. Change retire_now to pass zone_name to raise_retirement_event. May 8, 2017
@miq-bot miq-bot removed the wip label May 8, 2017
@@ -198,6 +198,10 @@ def error_retiring?

private

def retire_queue_options
try(:my_zone) ? {:zone => my_zone} : {}
Copy link
Member

Choose a reason for hiding this comment

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

@tinaafitz If my_zone returns nil this will pass {:zone => nil}. Will that have the expected results? Or should we only pass the zone_name if we have an actual name? It is unclear to me which is correct.

cc @mkanoor

@miq-bot
Copy link
Member

miq-bot commented May 9, 2017

Checked commit tinaafitz@7239d70 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
4 files checked, 0 offenses detected
Everything looks fine. 🍰

@tinaafitz tinaafitz closed this May 10, 2017
@tinaafitz tinaafitz reopened this May 10, 2017
@gmcculloug gmcculloug merged commit 9e5df30 into ManageIQ:master May 10, 2017
@gmcculloug gmcculloug added this to the Sprint 61 Ending May 22, 2017 milestone May 10, 2017
simaishi pushed a commit that referenced this pull request May 10, 2017
Change retire_now to pass zone_name to raise_retirement_event.
(cherry picked from commit 9e5df30)

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

Fine backport details:

$ git log -1
commit 53299ce3894fa64aaa8175fef4841149fc034d6d
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Wed May 10 10:42:12 2017 -0400

    Merge pull request #15026 from tinaafitz/add_zone_to_retirement
    
    Change retire_now to pass zone_name to raise_retirement_event.
    (cherry picked from commit 9e5df30604b9c0fb9fdbb91952a4d70f3fe7abf4)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1449748

simaishi pushed a commit that referenced this pull request May 10, 2017
Change retire_now to pass zone_name to raise_retirement_event.
(cherry picked from commit 9e5df30)

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

Euwe backport details:

$ git log -1
commit 2bac4be51677a1bd931ffc2a2f5d871dbf6d2cce
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Wed May 10 10:42:12 2017 -0400

    Merge pull request #15026 from tinaafitz/add_zone_to_retirement
    
    Change retire_now to pass zone_name to raise_retirement_event.
    (cherry picked from commit 9e5df30604b9c0fb9fdbb91952a4d70f3fe7abf4)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1449753

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.

6 participants