Description of problem:
Trying to launch a qcow2 image resulted in this error:
{"message": "No valid host was found. ", "code": 500, "details": " File \"/usr/lib/python2.6/site-packages/nova/scheduler/filter_scheduler.py\", line 114, in schedule_run_instance
raise exception.NoValidHost(reason=\"\")
However in the scheduler log:
ProcessExecutionError: Unexpected error while running command.
Command: env LC_ALL=C LANG=C qemu-img info /var/lib
/nova/instances/_base/e7fbf8c282a9eec69332520ca56b88155bb07068.part
Exit code: 1
Stdout: u\'\'
Stderr: u"\'image\' uses a qcow2 feature which is not supported by this qemu version: QCOW version 3\
Could not open '/var/lib/nova/instances/_base/e7fbf8c282a9eec69332520ca56b88155bb07068.part\': Operation not supported
The image used was taken from here:
https://getfedora.org/en/cloud/download/
Version-Release number of selected component (if applicable):
openstack-nova-*-2014.1.5-1.el6ost.noarch
How reproducible:
Always
Steps to Reproduce:
1. download the latest image from the link above
2. glance image-create --name fedora-22 --disk-format=qcow2 --container-format=bare --is-public=True --file=Fedora-Cloud-Base-22-20150521.x86_64.qcow2
3. try to boot the image with nova
Actual results:
"message": "No valid host was found. ", "code": 500
Expected results:
image uses a qcow2 feature which is not supported by this qemu version: QCOW version 3 (error code 501)
Additional info:
There is no way to provide the requested information in the error error message, as there could be a mix of RHEL 6 & 7 nodes in the OpenStack deployment.
In any case, not the type of info that OpenStack would ever expose to users.