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

Bug 1114634

Summary: [RFE] Allow exporting to glance disks with snapshots and even if they are thinly-provisioned on templates.
Product: [oVirt] vdsm Reporter: Federico Simoncelli <fsimonce>
Component: RFEsAssignee: Nobody <nobody>
Status: CLOSED WONTFIX QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, dfediuck, lpeer, srevivo, ylavi
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: ylavi: ovirt-future?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-21 09:17:52 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: 1046018    

Description Federico Simoncelli 2014-06-30 14:18:15 UTC
Description of problem:
Adding the support for collapsing volume chains on the fly in uploadImage will allow us to remove the current limitation of exporting to glance only disks without snapshots and that are not thinly-provisioned on templates.

It should be possible to use "qemu-img map" to get an ordered list of offsets for building the final squashed raw image on the fly. Streaming the raw image to glance with http compression should give better results than qcow2.

Note: it is not possible to stream a volume chain on the fly to a destination qcow2 format because there's no support for creating the qcow header in advance (before pushing the entire image data).

Comment 1 Doron Fediuck 2018-05-21 09:17:52 UTC
Closing old RFEs.
If relevant please re-open and explain why.