Bug 1956238

Summary: Shared disk will be completely lost on Detaching Storage Domain
Product: Red Hat Enterprise Virtualization Manager Reporter: Steffen Froemer <sfroemer>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED DUPLICATE QA Contact: Avihai <aefrat>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4.4CC: eshenitz, jbreitwe, mavital
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-04 05:33:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot showing VM disks and shared disk in Storage domain before detaching SD
none
VM import dialog showing missing shared disk after attaching the SD to DC none

Description Steffen Froemer 2021-05-03 09:32:56 UTC
Created attachment 1778875 [details]
Screenshot showing VM disks and shared disk in Storage domain before detaching SD

Description of problem:
When VMs in a DATA Storage Domain does consume a shared disk, this disk will be lost, as soon the Storage Domain got detached from the DataCenter

Version-Release number of selected component (if applicable):
ovirt-engine-4.4.4.7-0.2.el8ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. create two VMs
2. create a shared disk and attach to both VMs
3. (optional) Move all Disks to another SD, which can be detached (following doc [1]) 
4. Put SD into Maintenance and Detach it from DataCenter
5. Attach SD to the DC again
6. Import VMs

Actual results:
shared disk is missing

Expected results:
Shared disk should stay and included during import of VM

Additional info:



[1]: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/virtual_machine_management_guide/sect-exporting_and_importing_virtual_machines_and_templates#proc_Exporting_individual_virtual_machines_to_a_data_domain_vm_guide_administrative_tasks

Comment 2 Steffen Froemer 2021-05-03 09:37:40 UTC
Created attachment 1778887 [details]
VM import dialog showing missing shared disk after attaching the SD to DC

Comment 4 Eyal Shenitzky 2021-05-04 05:33:35 UTC
Hi Steffen,

This is a duplication of bug 1922977, please update the case.

*** This bug has been marked as a duplicate of bug 1922977 ***