Bug 1042966 - [RFE][oslo]: Image helper functions
Summary: [RFE][oslo]: Image helper functions
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/oslo...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-13 16:48 UTC by RHOS Integration
Modified: 2015-03-19 17:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 17:19:39 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.