[Bug 1119248] [NEW] [SRU] nova does not set container_format when snapshotting instance with ref image deleted

Launchpad Bug Tracker 1119248 at bugs.launchpad.net
Fri Feb 8 12:37:59 UTC 2013


You have been subscribed to a public bug by Edward Hope-Morley (hopem):

This bug affects release: 12.04 LTS Precise

Affected package:
https://launchpad.net/ubuntu/precise/+source/nova/2012.1.3+stable-20120827
-4d2a4afe-0ubuntu1.1

Precise currenlty runs Openstack Essex.

A fix for this bug was added to Openstack Folsom and backported to Essex
but 12.04 does not yet include this fix so we are patching the current
release to include this fix.

[Impact]

 * User has images stuck in "Queued" status in Glance. This is cuased by
created snapshots of instances that have had their base image deleted.
The user is using Essex.

 * The bug has been fixed in Folsom

 * The fix ensures that the container_format field is always set to a
legitimate value i.e. at least 'bare', since Glance expects it to be set
to non-None/NULL.

[Test Case]

  This issue can be easily reproduced with the following steps:

    1. Add image 'image1' to glance
    2. Create VM 'vm1' using 'image1'
    3. Create snapshot 'snap1' of 'vm1'
    4. Create VM 'vm2' from 'snap1'
    5. Delete snapshot image 'snap1'
    6. Create snapshot 'snap2' of 'vm2'

   If you do 'nova image-list' you will see the image for 'snap2' is
stuck in the SAVING state (which translates to 'QUEUED' in Glance). If
you then go to Glance server and look in the glance/registry.log you
will see that the image update failed becauise the container_format is
not set.

[Regression Potential]

 * not likely.

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: glance nova
-- 
[SRU] nova does not set container_format when snapshotting instance with ref image deleted
https://bugs.launchpad.net/bugs/1119248
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list