Compute node convert qcow2 to raw even if force_raw_images=false
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Using openstack queen version:
Uploaded qcow2 image to glance
openstack image create --disk-format=qcow2 --container-
and created an instance
openstack server create test_queens_f --flavor small --image ylinux-7.4.4
After creating the image and try to create an instance
The selected Compute node will download the image from glance and
Convert it using the command
qemu-img convert -t none -O raw -f qcow2 {file} {file}
to produce a RAW image from qcow2
although in the configuration we set:
use_cow_images = true
force_raw_images = false
images_type = qcow2
in nova.conf and nova-compute.conf
i think using the options above should stop the convert to RAW
summary: |
- Compute node convert qcow2 to raw even force_raw_images=false + Compute node convert qcow2 to raw even if force_raw_images=false |
tags: | added: compute |
tags: | added: libvirt |
maybe you can put some log and whole configuration file to help analysis?
just a quick check and not sure where's the convert -t called, so a debug log might be much helpful to know where's root cause