Bug 1527866

Summary: Initial hosted-engine VM not deleted properly after ansible SHE deployment.
Product: [oVirt] ovirt-engine Reporter: Nikolai Sednev <nsednev>
Component: BLL.HostedEngineAssignee: Doron Fediuck <dfediuck>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: ahadas, bugs, lveyde, nsednev, stirabos
Target Milestone: ovirt-4.2.1Keywords: Triaged
Target Release: ---Flags: dfediuck: ovirt-4.2?
nsednev: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 11:54:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot from 2017-11-16 17-10-29.png
none
engine logs none

Description Nikolai Sednev 2017-12-20 09:52:29 UTC
Description of problem:
Initial hosted-engine VM not deleted properly after ansible SHE deployment.
I see two hostedengineansible VMs, first one shown as external-hostedengineansible and its down, second shown as hostedengineansible and its up. See photo for more details.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1.Deploy ansible SHE.

Actual results:
Initial SHE-VM not wiped out properly and shown as external-hostedengineansiblein UI and its down.

Expected results:
Initial SHE-VM should be wiped out properly.

Additional info:
See the attached screenshot.

Comment 1 Nikolai Sednev 2017-12-20 09:53:41 UTC
Created attachment 1370377 [details]
Screenshot from 2017-11-16 17-10-29.png

Comment 2 Yaniv Kaul 2017-12-21 07:41:08 UTC
Can you provide some logs?
Perhaps it's related to the exception in Engine in detecting the external VMs that we've seen?

Comment 3 Nikolai Sednev 2017-12-21 11:17:02 UTC
Created attachment 1370834 [details]
engine logs

Comment 4 Nikolai Sednev 2018-01-22 15:51:43 UTC
Works for me just fine on these components:
ovirt-hosted-engine-setup-2.2.7-0.0.master.20180119084226.git3799ea2.el7.centos.noarch
ovirt-hosted-engine-ha-2.2.5-0.0.master.20180117160214.20180117160210.gitd5b58a8.el7.centos.noarch
ovirt-engine-appliance-4.2-20180121.1.el7.centos.noarch

Moving to verified.

Comment 5 Sandro Bonazzola 2018-02-12 11:54:24 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

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