Bug 1334740

Summary: hosted-engine deploy UI can be lost leaving the process hanging
Product: [oVirt] ovirt-node Reporter: Sandro Bonazzola <sbonazzo>
Component: UIAssignee: Ryan Barry <rbarry>
Status: CLOSED CURRENTRELEASE QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: bugs, cshao, dfediuck, fdeutsch, leiwang, sbonazzo, ycui, ylavi
Target Milestone: ovirt-4.0.1Flags: rule-engine: ovirt-4.0.z+
ycui: testing_plan_complete?
rule-engine: planning_ack+
fdeutsch: devel_ack+
ycui: testing_ack+
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ovirt-dashboard-0.9.1-0.0.1.el7ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-04 13:30:31 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:

Description Sandro Bonazzola 2016-05-10 12:35:10 UTC
Start hosted-engine deployment from cockpit UI, then go around the cockpit ui or logout and login.

The underlying hosted engine setup process is still waiting for user input but the cockpit UI has lost connection to stdin / stdout of the process.

Comment 1 wanghui 2016-06-02 06:16:59 UTC
Test version:
rhev-hypervisor7-ng-4.0-20160527.0
cockpit-ovirt-dashboard-0.10.1-0.0.1.el7ev.noarch

Test steps:
1. Install rhev-hypervisor7-ng-4.0-20160527.0
2. Enter cockpit
3. Enter Hosted Engine page to start setup, check the hosted engine setup process
4. Enter other pages in cockpit, check hosted engine setup process

Test result:
1. After step3, the output is as follows.

#ps -aux |grep host
root     18196  7.7  1.2 572068 99464 pts/2    Ssl+ 06:09   0:03 /bin/python -B -m otopi.__main__  APPEND:BASE/pluginPath=str:/usr/share/ovirt-hosted-engine-setup/scripts/../plugins APPEND:BASE/pluginGroups=str:gr-he-common:gr-he-setup OVESETUP_CORE/offlinePackager=bool:True PACKAGER/yumpackagerEnabled=bool:False "DIALOG/dialect=str:machine"

2. After step4, there is no hosted engine setup process.

So when we change to other page during HE setup, the hosted engine setup process will be closed also.

Hi Sandro,

Could you please help me to review is this fixed ok for you? If so, I'd like to verify this issue.

Thanks!

Comment 2 Sandro Bonazzola 2016-06-23 09:05:08 UTC
Looks ok to me according to what described in comment #1

Comment 4 cshao 2016-07-28 09:28:47 UTC
Test version:
redhat-virtualization-host-4.0-20160727.1
cockpit-ovirt-dashboard-0.10.6-1.3.3.el7ev.noarch
cockpit-0.114-2.el7.x86_64


Test steps:
1. Install RHVH
2. Enter cockpit
3. Enter Hosted Engine page to start setup, check the hosted engine setup process
4. Enter other pages in cockpit, check hosted engine setup process

Test result:
1. After step3, the output is as follows.

#ps -aux |grep hosted
root     28554 16.2  0.3 619468 102020 pts/2   Ssl+ 17:22   0:44 /bin/python -B -m otopi.__main__  APPEND:BASE/pluginPath=str:/usr/share/ovirt-hosted-engine-setup/scripts/../plugins APPEND:BASE/pluginGroups=str:gr-he-common:gr-he-setup OVESETUP_CORE/offlinePackager=bool:True PACKAGER/yumpackagerEnabled=bool:False "DIALOG/dialect=str:machine"
root     29419  0.0  0.0 112648   960 pts/1    R+   17:27   0:00 grep --color=auto hosted

2. After step4, there is no hosted engine setup process.

So when we change to other page during HE setup, the hosted engine setup process will be closed also.

So the bug is fixed, change bug status to VERIFIED.