Bug 1439380
| Summary: | After the removal of a rhev provider the datastores are still displayed but unable to be deleted | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> | |
| Component: | Providers | Assignee: | Piotr Kliczewski <pkliczew> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Angelina Vasileva <anikifor> | |
| Severity: | low | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 5.8.0 | CC: | cpelland, dajohnso, gblomqui, hkataria, jfrey, jhardy, jzmeskal, mpovolny, obarenbo, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.9.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | rhev:datastore | |||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1444889 (view as bug list) | Environment: | ||
| Last Closed: | 2018-03-06 15:37:46 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | RHEVM | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1444889 | |||
|
Description
Josh Carter
2017-04-05 20:43:08 UTC
This issue is caused by manageiq-ui-classic "All Datastores" view where we can select a datastore and delete it. There is no check whether the datastore can be removed (relationships to vms or hosts) and "Remove Datastores" is always enabled which when clicked leads to described above issue. Whereas in in "Datastore" view button is correctly disabled when there are relationships. Based on above findings this issue looks to be generic and not RHV related. Verified on: CFME 5.9.0.4 RHV 4.1.7.4 Verification steps: 1. Add RHV provider with some VMs, hosts and storage domains 2. Remove RHV provider and leftover VMs and hosts 3. Try to remove leftover datastores During the first step, datastores with 0 VMs and 0 hosts can indeed be removed, which is expected behaviour. However, during this verification step it was discovered that some datastores still register hosts, even though they have been removed. New bug was opened for this: https://bugzilla.redhat.com/show_bug.cgi?id=1508910 |