Bug 1994093 - Deleting an object in the RHV inventory must delete its dependent objects
Summary: Deleting an object in the RHV inventory must delete its dependent objects
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: Inventory
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.2.0
Assignee: Jeff Ortel
QA Contact: Amos Mastbaum
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-16 17:20 UTC by Jeff Ortel
Modified: 2021-12-09 19:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-09 19:20:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor forklift-controller pull 348 0 None Merged Cascading delete in oVirt model. 2021-09-22 13:05:04 UTC
Red Hat Product Errata RHEA-2021:5066 0 None None None 2021-12-09 19:20:54 UTC

Description Jeff Ortel 2021-08-16 17:20:29 UTC
Description of problem:

Need to apply cascade deletes to RHV inventory.
When a DataCenter or Cluster is deleted, everything it owns is deleted without detailed events for each. This needs to be reflected in the inventory.

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

2.1

How reproducible:

Always


Steps to Reproduce:
1. Delete a DataCenter in RHV.
2. Ensure everything owned by it is deleted in the inventory.
   - Cluster
   - Host
   - Network
   - Storage Domain
   - vNIC Profile
   - Disk Profile
   - Disk
   - VM


1. Delete a Cluster in RHV.
2. Ensure everything owned by it is deleted in the inventory.
   - Hosts

Actual results:

Owned resources not deleted.


Expected results:

Owned resources are deleted.


Additional info:

Comment 1 Fabien Dupont 2021-10-11 08:57:50 UTC
Please verify with mtv-operator-bundle-2.2.0-39 / iib:121326, or later.

Comment 2 Amos Mastbaum 2021-11-11 13:12:34 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1994093 (inventory log)
verified 2.2.0-81

Comment 5 errata-xmlrpc 2021-12-09 19:20:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (MTV 2.2.0 Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:5066


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