Compress qcow2 snapshot images

Bug #1109923 reported by Rafi Khardalian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Rafi Khardalian

Bug Description

There is currently no support for compression when extracting qcow2 snapshots. In most cases, hypervisors are constrained by memory allocation rather than CPU, making the processing overhead to compress a snapshot worthwhile.

We should support this via a configuration option, to allow administrators to decide if they're willing to make the trade off.

Changed in nova:
assignee: nobody → Rafi Khardalian (rkhardalian)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/20779
Committed: http://github.com/openstack/nova/commit/b216ed51914986087ea7dee57bc29904fda001a0
Submitter: Jenkins
Branch: master

commit b216ed51914986087ea7dee57bc29904fda001a0
Author: Rafi Khardalian <email address hidden>
Date: Wed Jan 30 02:39:18 2013 +0000

    Add support for compressing qcow2 snapshots

    Fixes bug 1109923

    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.

    Change-Id: I7a7ebcf41a91a8a9cb14be79e9bb79c22acb136e
    Flags: DocImpact

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-3 → 2013.1
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.