Bug 1448693

Summary: A RHV host still seen on CFME UI, though was removed from RHV.
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED NOTABUG QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: istein, jfrey, jhardy, obarenbo, oourfali
Target Milestone: GA   
Target Release: 5.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-11 07:16:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:

Description Ilanit Stein 2017-05-07 10:25:50 UTC
Description of problem:

** This bug is added as it was not fixed within bug 1368925.

After migration of VMs on a RHV from a single original host, 
to a new host added to the setup, and removal of the original host,
CFME: Compute->Infrastructure->Hosts still show the original host.
Refreshing the provider doesn't change it. 

Version-Release number of selected component (if applicable):
CFME 5.6.1.0.20160726144018_810a94f
RHEVM 3.6.8-0.1
(These reported versions are taken from bug 1368925).

Expected results:
Hosts, that are removed from RHV, should no longer be displayed, on CFME, under Compute->Infrastructure->Hosts (At least not as active).

Comment 2 Piotr Kliczewski 2017-05-30 12:52:21 UTC
I attempted to reproduce the issue and performed 2 distinct tests.
1. Removed a host without performing vm migration.

   The host was successfully removed from provider's view.

2. I started a vm on non-spm host, migrated it to spm host and removed the source host.

   The host was successfully removed from provider's view.

I used vdsm and engine 4.2 built on 29th of May and manageiq (master) built on 30th of May.

Can you please provide the steps how to reproduce the issue.

Comment 3 Ilanit Stein 2017-06-08 06:52:02 UTC
Not reproduced on CFME-5.8.0.17/RHV-4.1.3:
1. Just remove host & refresh provider => Host moved to archived.
2. Migrate VM from host (SPM), and then remove the host => Host moved to archived.

Oved,
As bug was reported on CFME-5.6, and not reproduced on CFME-5.8,
should it be tested on CFME-5.6/5.7?

Comment 6 Ilanit Stein 2017-06-11 07:16:04 UTC
Not reproduced on CFME-5.7.3.1/RHV-4.1.3:
Migrate VM from host (SPM), and then remove the host => Host moved to archived.

closing the bug as it do not reproduce on CFME-5.7/5.8, and for CFME-5.6 won't be fixed.