-
Notifications
You must be signed in to change notification settings - Fork 356
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
Allow Service retirement over Centralized Administration #4790
Allow Service retirement over Centralized Administration #4790
Conversation
74fbc13
to
9bc7407
Compare
9bc7407
to
f80cb98
Compare
Checked commit yrudman@f80cb98 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@miq-bot add_label blocker |
\cc @gtanzillo @tinaafitz |
when 'OrchestrationStack', 'Service', 'CloudObjectStoreContainer', 'CloudObjectStoreObject' | ||
objs, _objs_out_reg = filter_ids_in_region(objs, klass.to_s) | ||
when 'CloudObjectStoreContainer', 'CloudObjectStoreObject' | ||
objs, _objs_out_reg = filter_ids_in_region(objs, klass_str) | ||
when 'VmOrTemplate' |
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.
Hi @yrudman Why would the condition be different for VM's here?
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.
@tinaafitz
There are several reasons to add separate when
:
Service
would have only one available for centralized Administration task in that method -retire_now
butVm
has much longer list of tasks available for Centralized administration and it would looks confusing to putVm
andService
together- value in case condition and parameter passed to
filter_in_region
are different strings for Vm
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.
Thanks @yrudman.
Allow Service retirement over Centralized Administration (cherry picked from commit c15b650) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1633142
Hammer backport details:
|
Allow Service retirement over Centralized Administration (cherry picked from commit c15b650) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1643261
Gaprindashvili backport details:
|
Issue: in multiregion environment attempt to retire service replicated to Global region will fail with "The selected Service is not in the current region"
This PR: allow
retire_now
task to be processed via Centralized Administration forService
andOrchestrationStack
BEFORE:
AFTER:
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1633142
@miq-bot add-label bug, gaprindashvili/yes, hammer/yes