Bug 1258725 - KVM on rhel 6.7 does not support qcow2 (v3) images resulting in error 500
KVM on rhel 6.7 does not support qcow2 (v3) images resulting in error 500
Status: CLOSED WONTFIX
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova (Show other bugs)
5.0 (RHEL 6)
x86_64 Linux
unspecified Severity medium
: ---
: 8.0 (Liberty)
Assigned To: Eoghan Glynn
nlevinki
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-01 02:15 EDT by Amit Ugol
Modified: 2015-09-11 09:00 EDT (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-11 09:00:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Amit Ugol 2015-09-01 02:15:32 EDT
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:
Comment 3 Eoghan Glynn 2015-09-11 09:00:47 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.