Bug 1042966

Summary: [RFE][oslo]: Image helper functions
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/oslo/+spec/imageutils
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:19:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-13 16:48:55 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/oslo/+spec/imageutils.

Description:

Modules nova/virt/images.py and cinder/image/image_utils.py contain duplicate classes and functions.

Classes:
    QemuImgInfo

Functions:
    qemu_img_info()
    convert_image()

The QemuImgInfo can be used without changes but the functions need a root_helper argument passed.

def qemu_img_info(path, run_as_root=True, root_helper=None)
def convert_image(source, dest, out_format, run_as_root=False, root_helper=None)

Specification URL (additional information):

None