Bug 1373124

Summary: CFME doesn't invalidate some views/entities after removal
Product: Red Hat CloudForms Management Engine Reporter: Ievgen Zapolskyi <izapolsk>
Component: UI - OPSAssignee: Dan Clarizio <dclarizi>
Status: CLOSED NOTABUG QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: hkataria, jhardy, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-21 20:32:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ievgen Zapolskyi 2016-09-05 09:53:23 UTC
Description of problem:
It is possible to open views for already removed entities and make some changes there.

How reproducible:
always

Steps to Reproduce:
1. Add any cloud provider and refresh relationships for it
2. Wait until CFME discovers entities and relationships
3. Open Compute->Clouds->Instances and Provision new VM
4. Open VMs view when it is created
5. Go to Compute->Clouds-Providers and remove recently added provider
6. Make sure the provider is removed
7. Open Compute->Clouds->Instances

Actual results:
The instance(VM) belonging to already removed provider is open and can be changed.

Expected results:
CFME should correctly invalidate already removed entities and their views.

Comment 2 Dave Johnson 2016-09-21 20:32:26 UTC
Ievgen, this is as designed.  The VMs/Hosts/Datastores should stick around for chargeback reporting purposes but they should move to 'Archived' status.