Bug 1341076

Summary: NGN always wait for vm shutdown although vm is shutdown after deploy HE.
Product: [oVirt] ovirt-node Reporter: cshao <cshao>
Component: UIAssignee: Ryan Barry <rbarry>
Status: CLOSED CURRENTRELEASE QA Contact: cshao <cshao>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: bugs, dfediuck, huzhao, leiwang, rbarry, weiwang, yaniwang, ycui
Target Milestone: ovirt-4.0.0-rcKeywords: Regression
Target Release: 4.0Flags: rule-engine: ovirt-4.0.0+
rule-engine: blocker+
rule-engine: planning_ack+
fdeutsch: devel_ack+
cshao: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ovirt-dashboard-0.10.2-0.0.1.el7ev Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:50:21 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:
Bug Depends On: 1344900    
Bug Blocks:    
Attachments:
Description Flags
HE-VM-SHUTDOWN
none
all log info none

Description cshao 2016-05-31 08:31:32 UTC
Created attachment 1163079 [details]
HE-VM-SHUTDOWN

Description of problem: 
NGN always wait for vm shutdown although vm is shutdown after deploy HE.

Version-Release number of selected component (if applicable):
rhev-hypervisor7-ng-4.0-20160527.0.x86_64
imgbased-0.7.0-0.1.el7ev.noarch
cockpit-0.103-1.el7.x86_64

How reproducible:
100%


Steps to Reproduce:
1. Install NGN
2. Config network and deploy HE with correct steps.
3. Try to finish HE setup process.
4. Register Host to Engine.
5. Shutdown the HE vm after pop-up shut-down info.

Actual results:
After step5, It always show "The system will wait until the VM is down"

Expected results:
NGN can identify the HE status after the VM is shut-down.

Additional info: 
No such issue on rhev-hypervisor7-ng-3.6-20160518.0.x86_64, so this is a regression bug.

Comment 1 cshao 2016-05-31 08:32:38 UTC
Created attachment 1163080 [details]
all log info

Comment 2 cshao 2016-05-31 08:34:32 UTC
Add keyword "regression" due to no such issue on rhev-hypervisor7-ng-3.6-20160518.0.x86_64, so this is a regression bug.

Comment 3 Fabian Deutsch 2016-05-31 09:38:44 UTC
The question is if it's an issue in trhe UI or if he-setup is waiting.

Comment 4 Red Hat Bugzilla Rules Engine 2016-05-31 09:38:51 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 5 Red Hat Bugzilla Rules Engine 2016-05-31 09:40:07 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 6 Ryan Barry 2016-06-01 04:02:36 UTC
I wasn't actually able to reproduce this, but the attached patch will catch it in any case.

Comment 7 Doron Fediuck 2016-06-09 07:41:23 UTC
Ryan, can you add a reference to the relevant patch?

Comment 8 Ryan Barry 2016-06-09 12:11:17 UTC
(In reply to Doron Fediuck from comment #7)
> Ryan, can you add a reference to the relevant patch?

Added.

The bug-url was in the commit. I suppose that the gerrit hooks must not have automatically added it to this bug...

Comment 9 cshao 2016-06-15 09:47:51 UTC
blocker by bug 1344900, I will verify this bug after bug 1344900 fixed.

Comment 10 cshao 2016-06-17 06:18:29 UTC
Test version:
rhev-hypervisor7-ng-4.0-20160616.0.x86_64
ovirt-hosted-engine-ha-2.0.0-1.el7ev.noarch
ovirt-hosted-engine-setup-2.0.0.2-1.el7ev.noarch
imgbased-0.7.0-0.1.el7ev.noarch
redhat-release-rhev-hypervisor-4.0-0.7.el7.x86_64
cockpit-ovirt-dashboard-0.10.4-0.0.1.el7ev.noarch


Test steps:
1. Install NGN
2. Config network and deploy HE with correct steps.
3. Try to finish HE setup process.
4. Register Host to Engine.
5. Shutdown the HE vm after pop-up shut-down info.

Test result:
NGN can identify the HE status after the VM is shut-down.

Change bug status to VERIFIED.

Comment 11 Sandro Bonazzola 2016-07-05 07:50:21 UTC
oVirt 4.0.0 has been released, closing current release.