Bug 1687645

Summary: [RFE] on cluster upgrade, warn the user if the cluster scheduling policy is 'cluster_maintenance'
Product: [oVirt] ovirt-engine Reporter: Scott Dickerson <sdickers>
Component: ovirt-engine-ui-extensionsAssignee: Scott Dickerson <sdickers>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: gshereme, lleistne
Target Milestone: ovirt-4.3.3Keywords: FutureFeature
Target Release: ---Flags: pm-rhel: ovirt-4.3?
pm-rhel: planning_ack?
gshereme: devel_ack+
lleistne: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-ui-extensions-1.0.4-1, ovirt-engine-4.3.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-16 13:58:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
check demo video
none
snap: cluster in maintenace mode
none
snap: loading cluster data none

Description Scott Dickerson 2019-03-12 03:32:07 UTC
[RFE] on cluster upgrade, warn the user if the cluster scheduling policy is 'cluster_maintenance'

By default, the ansible cluster upgrade role will set a cluster's scheduling policy to 'cluster_maintenance' prior to performing the host upgrade.  Add a check against the cluster's scheduling policy when a user clicks the Upgrade button.  If the policy is 'cluster_maintenance', warn the user and require them to confirm they intend to continue prior to opening the cluster upgrade wizard.

This is a stop-gap to support BZ1663626

Comment 1 Scott Dickerson 2019-03-15 16:47:57 UTC
Created attachment 1544546 [details]
check demo video

Comment 2 Scott Dickerson 2019-03-15 17:15:33 UTC
Created attachment 1544547 [details]
snap: cluster in maintenace mode

Comment 3 Scott Dickerson 2019-03-15 17:17:53 UTC
Created attachment 1544548 [details]
snap: loading cluster data

Comment 4 Petr Kubica 2019-04-03 10:24:06 UTC
Verified in ovirt-engine-4.3.3.1-0.1.el7.noarch

Comment 5 Sandro Bonazzola 2019-04-16 13:58:16 UTC
This bugzilla is included in oVirt 4.3.3 release, published on April 16th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.