Bug 1367021

Summary: [RFE] Satellite must ensure RHV hosts are in 'maintenance' mode when upgrading them.
Product: Red Hat Satellite Reporter: Yaniv Kaul <ykaul>
Component: Compute Resources - RHEVAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: dmoessne, inecas, jcallaha, jentrena, spower
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 19:09:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1115190    

Description Yaniv Kaul 2016-08-15 09:36:36 UTC
Description of problem:
Currently, there's a gap in the integration of being able to update RHV hosts - Satellite doesn't verify hosts are in 'maintenance' mode before updating them.
In fact, if they are not, it should put them into maintenance mode (with a clear reason for doing so) - and verify it succeeded to do so.

If a host is running VMs and packages underneath are being upgraded, things may go south.

Note that unfortunately there is no way ATM to 'lock' a host into maintenance mode, so theoretically there's a chance for someone to move it back to 'UP' state (which is why the reason is needed).

Version-Release number of selected component (if applicable):
Any

How reproducible:
Always.



Additional info:
See https://bugzilla.redhat.com/show_bug.cgi?id=1157372#c9 for a customer use case for this.

Comment 1 Yaniv Kaul 2016-08-16 07:47:46 UTC
Ivan, this is not a RFE. I contemplated on this, but I concluded it as a gap in the feature design (and therefore implementation), which may have severe consequences for the customer environment.

Comment 2 Ivan Necas 2016-08-16 08:44:12 UTC
I'm not sure this kind of automation shouln't go into CloudForms , that should have more overview around the virtualiation layout (and has some methods around entering maintetnace mode into VSphere already).

https://access.redhat.com/documentation/en/red-hat-cloudforms/4.1/paged/methods-available-for-automation/chapter-1-methods-available-for-use-with-cloudforms-management-engine

As a short-term solution, if using the remote execution functionality with 6.2, it's possible to provide custom template for updates, and additional scripting could be put into the template to turn the host into maintanence mode. It would require however for the host to be able to turn itself into maintanence mode from command line.

Comment 5 Bryan Kearney 2018-09-04 18:58:18 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 6 Bryan Kearney 2018-09-04 19:09:46 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.