grizzly: add support for compressing qcow2 snapshots

Bug #1111091 reported by Tom Fifield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Tom Fifield

Bug Description

If https://review.openstack.org/#/c/20779/ is merged, a new feature is added to nova: support for compressing qcow2 snapshots

Adds a new configuration option:
libvirt_snapshot_compression=False (Default)

When set to True and the snapshot output format is qcow2, we pass
the -c option into qemu-img, which enables compression. This patch
also refactors the extract_image function to make construction of
the whole qemu-img command more dynamic.

 32 libvirt_opts = [
   33 cfg.BoolOpt('libvirt_snapshot_compression',
   34 default=False,
   35 help='Compress snapshot images when possible. This '
   36 'currently applies exclusively to qcow2 images'),
   37 ]

Tags: nova
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → grizzly
tags: added: nova
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
Tom Fifield (fifieldt)
Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/22174

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/22174
Committed: http://github.com/openstack/openstack-manuals/commit/ab66d6dfd5b57fe4fbdd3456a0ba9bd3fd43333b
Submitter: Jenkins
Branch: master

commit ab66d6dfd5b57fe4fbdd3456a0ba9bd3fd43333b
Author: Tom Fifield <email address hidden>
Date: Mon Feb 18 17:40:13 2013 +1100

    Doc libvirt_snapshot_compression option

    fixes bug 1111091

    libvirt_snapshot_compression -added in grizzly, enables compression
    for qcow2 options in libvirt. This patch adds the option to the table.

    Change-Id: Ie29ea1f8023c879bf1f6e2fc5bf77dcd1ec9fa61

Changed in openstack-manuals:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.