Bug 1258725 - KVM on rhel 6.7 does not support qcow2 (v3) images resulting in error 500
Summary: KVM on rhel 6.7 does not support qcow2 (v3) images resulting in error 500
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 5.0 (RHEL 6)
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Eoghan Glynn
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-01 06:15 UTC by Amit Ugol
Modified: 2019-09-09 13:11 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-11 13:00:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Amit Ugol 2015-09-01 06:15:32 UTC
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 13:00:47 UTC
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.