Bug 2218485

Summary: when exporting vm from source to destination storage domain exported disk is having source domain disk profile id
Product: Red Hat Enterprise Virtualization Manager Reporter: Marian Jankular <mjankula>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED UPSTREAM QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.5.3CC: jortialc, michal.skrivanek
Target Milestone: ---   
Target Release: ---   
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: 2023-08-17 10:12:39 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:
Embargoed:

Description Marian Jankular 2023-06-29 10:43:25 UTC
Description of problem:
when exporting vm from source to destination storage domain exported disk is having source domain disk profile id

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

How reproducible:
every time

Steps to Reproduce:
1. create VM on SD A
2. export VM to SD B as VM_export

Actual results:
VM_export has a disk profile from SD A

Expected results:
VM_export has a disk profile from SD B

Additional info:


after the export:

    vm_names     |              storage_id              |   disk_alias   |           disk_profile_id            
-----------------+--------------------------------------+----------------+--------------------------------------
 original        | 665ee5f5-003d-4606-b032-b83fe8e0bc83 | original_Disk1 | 08bb5212-f8e3-4a01-94c3-41386fcdc789
 original-export | b840f50a-c805-4878-92f3-2f7c3478897f | original_Disk1 | 08bb5212-f8e3-4a01-94c3-41386fcdc789


          storage_domain_id           |                  id                  
--------------------------------------+--------------------------------------
 665ee5f5-003d-4606-b032-b83fe8e0bc83 | 08bb5212-f8e3-4a01-94c3-41386fcdc789
 b840f50a-c805-4878-92f3-2f7c3478897f | 4c1730fa-1a7f-41da-827b-af5c77ffa998

Comment 4 Michal Skrivanek 2023-08-17 10:12:39 UTC
moved to upstream tracking https://github.com/oVirt/ovirt-engine/issues/881