Bug 1334740 - hosted-engine deploy UI can be lost leaving the process hanging
Summary: hosted-engine deploy UI can be lost leaving the process hanging
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: UI
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.0.1
: 4.0
Assignee: Ryan Barry
QA Contact: cshao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-10 12:35 UTC by Sandro Bonazzola
Modified: 2016-08-04 13:30 UTC (History)
8 users (show)

Fixed In Version: cockpit-ovirt-dashboard-0.9.1-0.0.1.el7ev
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-04 13:30:31 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.0.z+
ycui: testing_plan_complete?
rule-engine: planning_ack+
fdeutsch: devel_ack+
ycui: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 57593 0 None None None 2016-05-18 14:09:00 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.