-
Notifications
You must be signed in to change notification settings - Fork 897
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
Suspend provider #17489
Comments
@miq-bot add_label question |
@slemrmartin Do you have a design doc for how to solve this? I feel that would be very helpful in deciding the right way to implement this. Please create an RFC on https://github.com/ManageIQ/manageiq-design/issues |
@Fryguy - created ManageIQ/manageiq-design#41 |
How this maintenance zone should be represented in the API? In the UI we are not displaying it at all when requesting all zones. What zone should the API respond for a suspended provider? These questions bother me @abellotti @gtanzillo |
@skateman This was my concern from the beginning, and part of the reason I find the So, there is a
So, my overarching opinion here is that the visible column only be honored in the EMS Edit dropdown for unpaused EMSes. All other places, we just show it like a normal zone. I'm sure @agrare @gtanzillo @slemrmartin @chessbyte have their own opinions. I also think we should get UX's opinion. |
I missed the "in the API" qualifier, but my opinion is everything comes out of the API. All zones including the invisible ones. All EMSes including paused ones. EMS.zone should return a link to whatever zone, visible or not. EMS.zone_before_pause_id should return a link to whatever zone. |
I agree, API could show all zones, i.e. returning nil for invisible zone will be confusing there |
@Fryguy but there is no invisible zone (or at least maintenance zone)'s validation that it cannot be deleted. |
.. Previous comment is not valid, maintenance zone cannot be deleted |
UI ManageIQ/manageiq-ui-classic#4269 implemented basic features requested.
@Fryguy @agrare If wanted it can be done in separate PR, what do you think about it? |
@slemrmartin @agrare @Fryguy do we want to have suspend for these providers? |
@slemrmartin this is because these have
Yeah we could add a disabled provider check to the existing supports feature blocks. |
There are still missing some default roles mentioned here |
cc @Loicavenel - according to link ^^, which pre-defined roles should have Pause and Resume provider feature enabled by default? |
@slemrmartin any Role that can create and delete a provider should be able to Pause/Resume. |
@slemrmartin last UI PR got in, anything else you need from me? |
It seems to be finally all, @skateman. Thanks for cooperation :) |
Goal: Make an ability to manually suspend all remote operations (outside VMDB) for one provider.
Using two features:
ExtManagementSystem.enabled
When provider is paused (suspended), refresh worker's (and other provider-related worker's) processes are terminated.
Quadicons in UI have moon icon and there is Pause/Resume links in Providers toolbars in list/detail view of provider under button "Configuration"
Links:
RFC ManageIQ/manageiq-design#41
PRs:
Features definition:
Pre-defined roles extension:
Older PRs:
BZs:
The text was updated successfully, but these errors were encountered: