diff options
| author | Boris Filippov <bfilippov@griddynamics.com> | 2012-09-05 05:40:05 +0400 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-09-05 14:24:01 +0000 |
| commit | 804732d0c5bdc78c20200e7ed51b2f43bb5e936d (patch) | |
| tree | da4786bd082bb13abc904ed5c46fe24ac4da3e59 /nova/openstack | |
| parent | 84c62b35ff349ff0301eed36f765031d400e6c24 (diff) | |
| download | nova-804732d0c5bdc78c20200e7ed51b2f43bb5e936d.tar.gz nova-804732d0c5bdc78c20200e7ed51b2f43bb5e936d.tar.xz nova-804732d0c5bdc78c20200e7ed51b2f43bb5e936d.zip | |
Use bare container format by default
Set container_format to bare during libvirt snapshot, when VM image in
glance was deleted. Currently, if VM image in glance was already deleted
before snapshot, nova will attempt to create snapshot image with
container_format: None. This cause glance to return error on attempt to
upload snapshot. According to glance docs container_format is not used
anywhere in glance or nova explicitly and it is safe to set it to bare,
when you are unsure which container_format you need to use.
Current snapshot logic sets snapshot disk_format to currently used
image_format in absence of base image in glance.
This resolves bug 921774 without need for snapshot mechanism redesign.
Change-Id: I7beea35120aaeac0837daecdf58f38f62e24454c
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
