Bug 1727196

Summary: Host fail to move to local maintenance from cockpit hosted engine
Product: [oVirt] cockpit-ovirt Reporter: Wei Wang <weiwang>
Component: Hosted EngineAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Wang <weiwang>
Severity: high Docs Contact:
Priority: high    
Version: 0.13.3CC: bugs, cshao, huzhao, mavital, qiyuan, sbonazzo, stirabos, weiwang, yaniwang, yturgema
Target Milestone: ovirt-4.3.5Flags: weiwang: testing_ack+
Target Release: 0.13.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.13.4 Doc Type: Bug Fix
Doc Text:
Cause: local maintenance button wasn't disabled if the host was running HE VM Consequence: the local maintenance button wouldn't work Fix: disable the local maintenance button when the host is running HE VM Result: a host could be moved to maintenance mode if it doesn't have the HE VM running on it.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-30 14:08:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Log files none

Description Wei Wang 2019-07-05 01:29:30 UTC
Created attachment 1587534 [details]
Log files

Description of problem:
Deploy hosted engine with RHVH, then adding additional host to it. From cockpit UI, clicking the "put this host into local maintenance" button
Host fail to move to local maintenance from cockpit hosted engine

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.3.5-20190703.1.el7_7.x86_64.liveimg.squashfs
cockpit-machines-ovirt-195-1.el7.noarch
cockpit-dashboard-195-1.el7.x86_64
cockpit-bridge-195-1.el7.x86_64
cockpit-ws-195-1.el7.x86_64
cockpit-storaged-195-1.el7.noarch
cockpit-ovirt-dashboard-0.13.3-1.el7ev.noarch
cockpit-system-195-1.el7.noarch
cockpit-195-1.el7.x86_64
rhvm-appliance-4.3-20190703.2.el7.rpm
ovirt-hosted-engine-ha-2.3.3-1.el7ev.noarch
ovirt-hosted-engine-setup-2.3.11-1.el7ev.noarch


How reproducible:
100%

Steps to Reproduce:
1. Clean install redhat-virtualization-host-4.3.5-20190703.1.el7_7.x86_64.liveimg.squashfs
2. Deploy hosted engine
3. Add additional host
4. Click the "put this host into local maintenance" button

Actual results:
Host fail to move to local maintenance from cockpit hosted engine.

Expected results:
Host move to local maintenance smoothly

Additional info:
1. Test from automation task.
2. No matter when clicking the button, no migration at all.

Comment 1 Sandro Bonazzola 2019-07-08 07:00:10 UTC
Simone can you please have a look? We may need to change cockpit ui following changes in hosted-engine for local maintenance.

Comment 2 Wei Wang 2019-07-12 02:02:03 UTC
Test Version
RHVH-4.3-20190711.1-RHVH-x86_64-dvd1.iso
cockpit-machines-ovirt-195-1.el7.noarch
cockpit-bridge-195-1.el7.x86_64
cockpit-ws-195-1.el7.x86_64
cockpit-dashboard-195-1.el7.x86_64
cockpit-system-195-1.el7.noarch
cockpit-195-1.el7.x86_64
cockpit-ovirt-dashboard-0.13.4-1.el7ev.noarch
cockpit-storaged-195-1.el7.noarch
rhvm-appliance-4.3-20190710.2.el7.rpm

Test Steps:
1. Clean install RHVH-4.3-20190711.1-RHVH-x86_64-dvd1.iso
2. Deploy hosted engine
3. Add additional host
4. Migrate engine vm to the additional host
5. Click the "put this host into local maintenance" button

Result:
Host move to local maintenance smoothly

bug is fixed, move to "VERIFIED“

Comment 3 Sandro Bonazzola 2019-07-30 14:08:08 UTC
This bugzilla is included in oVirt 4.3.5 release, published on July 30th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.5 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.