Bug 1733932 - [RFE] add an option to remove unregistered entities from attached storage domain
Summary: [RFE] add an option to remove unregistered entities from attached storage domain
Keywords:
Status: POST
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: ovirt-4.4.0
: ---
Assignee: Eyal Shenitzky
QA Contact: Avihai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-29 08:59 UTC by Eyal Shenitzky
Modified: 2019-08-14 14:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Feature: Add the ability to remove unregistered entity (VM, Template, and disk) Reason: Supply the ability to remove unwanted unregistered entities without the need to import them to the environment. Also, when having an entity such as VM or template with disks on more than one storage domain, we cannot import or remove the entity in case the storage domain re-attached to the data center and the original entity still exists. Result: The RFE fix will supply an option to remove any type of unregistered entity (VM, template, and disk)
Clone Of:
Environment:
Last Closed:
oVirt Team: Storage
pm-rhel: ovirt-4.4?
pm-rhel: planning_ack?
pm-rhel: devel_ack?
pm-rhel: testing_ack?


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
oVirt gerrit 102304 master MERGED core: introduce RemoveUnregisteredVmTemplateCommand 2019-08-19 08:51:07 UTC
oVirt gerrit 102393 master MERGED webadmin: add remove unregistered template button 2019-08-19 08:51:09 UTC
oVirt gerrit 102404 master MERGED core: introduce RemoveUnregisteredEntityCommand 2019-08-19 08:51:11 UTC
oVirt gerrit 102405 master MERGED core: introduce RemoveUnregisteredVmCommand 2019-08-19 08:51:13 UTC
oVirt gerrit 102421 master MERGED webadmin: add remove unregistered VM button 2019-08-19 08:51:15 UTC
oVirt gerrit 102446 master MERGED core: implement removing unregistered disk 2019-08-19 08:51:17 UTC
oVirt gerrit 102447 master MERGED webadmin: add remove unregistered disk button 2019-08-19 08:51:18 UTC

Description Eyal Shenitzky 2019-07-29 08:59:34 UTC
Description of problem:

Currently, the user cannot remove an unregistered entity.
The only option is to register the entity to a data center and then remove it which is caused for redundant operations.

The problem is when we have a template with a disk that been copied to several storage domains for e.g on SD1 and SD2.

When detaching SD1 the template will be considered as an unregistered entity on 
SD1 but it will also remain on the data center.

When the user will try to re-attach SD1 to that data center and register the template, he will fail because the template still exists.
So now the user has an unregistered template that he cannot remove or register.



[RFE] add an option to remove unregistered entities from attached storage domain


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


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