Bug 1579743 - A host is stated as SHE host during removal but it is not
Summary: A host is stated as SHE host during removal but it is not
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.HostedEngine
Version: 4.2.3.5
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Doron Fediuck
QA Contact: Nikolai Sednev
URL:
Whiteboard:
: 1570095 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-18 08:41 UTC by Jiri Belka
Modified: 2020-06-26 16:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-14 11:29:28 UTC
oVirt Team: SLA
Embargoed:


Attachments (Terms of Use)
screenshot (64.38 KB, image/png)
2018-05-18 08:43 UTC, Jiri Belka
no flags Details
Screenshot from 2019-04-14 14-07-09.png (72.63 KB, image/png)
2019-04-14 11:08 UTC, Nikolai Sednev
no flags Details

Description Jiri Belka 2018-05-18 08:41:11 UTC
Description of problem:

While Removing a non-SHE host:

---%>---
Remove Host(s)
Are you sure you want to remove the following items?
- slot-1 *
The hosts marked with * still have hosted engine deployed on them. Hosted engine should be undeployed before they are removed.
---%<---

But slot-1 is not SHE host, there's is _NO_ crown in hosts list for this particular host.

---%>---
engine=# select vds_name,hosted_engine_configured from vds where hosted_engine_configured = true;
 vds_name | hosted_engine_configured 
----------+--------------------------
 slot-5d  | t
 slot-7a  | t
 slot-6b  | t
 _slot-5b | t
 slot-6a  | t
 slot-1   | t
 slot-7c  | t
 _slot-2  | t
 slot-7b  | t
 slot-5c  | t
 slot-6d  | t
 slot-5a  | t
(12 rows)

engine=# \q
-bash-4.2$ logout
You have new mail in /var/spool/mail/root
[root@brq-setup ansible]# ssh slot-1 'hosted-engine --vm-status'
root@slot-1's password: 
You must run deploy first
---%<---

see screenshot

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-4.2.3.5-0.1.el7.noarch

How reproducible:

Steps to Reproduce:
1. our env has 3 clusters, 1 she env, 2 others
2. she cluster has 2 she hosts, others are not she hosts at all
3. remove a non-she host

Actual results:
the host is marked as she host in remove host dialog

Expected results:
such info should not be present in remove host dialog for non-she host

Additional info:

Comment 2 Jiri Belka 2018-05-18 08:43:05 UTC
Created attachment 1438386 [details]
screenshot

Comment 3 Martin Perina 2018-05-26 08:31:56 UTC
Moving to SLA team for further investigation why database status doesn't correspond with actual host

Comment 4 Martin Sivák 2018-06-26 16:04:49 UTC
*** Bug 1570095 has been marked as a duplicate of this bug. ***

Comment 5 Ryan Barry 2019-04-08 17:38:25 UTC
Nikolai, still reproducible?

Comment 6 Nikolai Sednev 2019-04-14 11:08:01 UTC
I can't reproduce the reported issue on latest Software Version:4.2.8.6-0.1.el7ev.
See also screenshot attached.

Comment 7 Nikolai Sednev 2019-04-14 11:08:27 UTC
Created attachment 1555035 [details]
Screenshot from 2019-04-14 14-07-09.png


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