Bug 1466825

Summary: aborting ovirt-hosted-engine-cleanup fails
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Chris Reynolds <christopher.s.reynolds>
Component: ToolsAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1.0.6CC: bugs, rbarry, sbonazzo, ylavi
Target Milestone: ovirt-4.2.0Keywords: Triaged
Target Release: 2.2.0Flags: ylavi: ovirt-4.2+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:42:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Reynolds 2017-06-30 14:02:36 UTC
Description of problem: 
unable to cancel ovirt-hosted-engine-cleanup execution

Version-Release number of selected component (if applicable):
RHVH-4.1-20170616.0-RHVH-x86_64-dvd1.iso

How reproducible:
every time

Steps to Reproduce:
1.execute ovirt-hosted-engine-cleanup
2.select 'n' on do  you want to proceeed.
3. Profit?

Actual results:
[root@redranger ~]# ovirt-hosted-engine-cleanup 
 This will de-configure the host to run ovirt-hosted-engine-setup from scratch. 
Caution, this operation should be used with care.

Are you sure you want to proceed? [y/n]
n
/usr/sbin/ovirt-hosted-engine-cleanup: line 12: die: command not found
  -=== Destroy hosted-engine VM ===- 
^CTraceback (most recent call last):


Expected results:
ovirt-hosted-engine-cleanup util dies.

Additional info:

rpm -qa | grep hosted-engine-setup
ovirt-hosted-engine-setup-2.1.0.6-1.el7ev.noarch

Comment 2 Artyom 2017-09-19 14:08:29 UTC
Verified on ovirt-hosted-engine-setup-2.2.0-0.0.master.20170918155232.git446d954.el7.centos.noarch

# ovirt-hosted-engine-cleanup 
 This will de-configure the host to run ovirt-hosted-engine-setup from scratch. 
Caution, this operation should be used with care.

Are you sure you want to proceed? [y/n]
n
FATAL: Please contact support for further assistance.
[root@cyan-vdsf ~]# ovirt-hosted-engine-cleanup

Comment 3 Sandro Bonazzola 2017-12-20 11:42:16 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

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