Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1913347

Summary: Let external clients prepare/teardown images
Product: [oVirt] ovirt-engine Reporter: Arik <ahadas>
Component: BLL.StorageAssignee: Tal Nisan <tnisan>
Status: CLOSED WONTFIX QA Contact: Avihai <aefrat>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4.4CC: bugs, michal.skrivanek, tgolembi
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: 2021-01-07 18:56:02 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:
Bug Depends On:    
Bug Blocks: 1595339    

Description Arik 2021-01-06 14:53:32 UTC
With the addition of ISOs to data domains and our intention to push users to drop their ISO domains in favour of data domains, external clients would need to be able to call prepare/teardown image in order to use ISO files that reside in block domains.

The use case:
A v2v conversion host needs to access virtio-win ISO
The ISO resides in a block storage domain
The block storage domain is attached to the host (the host is part of the data center)
The client needs to access to the image so it calls the engine to prepare the ISO image on that host
The client utilizes this ISO during the coversion
The client calls teardown before it finishes its execution

We would probably need some mechanism to handle the case that the client doesn't call teardown (maybe by passing the pid of the client to VDSM on the prepare image call so VDSM could monitor the process and if it detects that the process is down and teardown wasn't called, to compensate that).

Comment 1 Arik 2021-01-06 14:57:58 UTC
Setting high severity because that blocks bz 1595339 that is also set with high severity