ImageUnacceptable: Image is unacceptable: 'qemu-img info' parsing failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Triaged
|
Low
|
Illia Khomenko |
Bug Description
Description:
=============
During spawning of cirros kvm instance on kvm compute node, I am getting below exception:
ImageUnacceptable: Image 99aec143-
Steps to reproduce:
=======
1) Create network
2) Create subnet
3) Fetch cirros image from below link:
wget http://
4) Create qcow2 image using below command:
glance image-create --name 'cirros-new' --container-format bare --disk-format qcow2 --property vmware_
5) Boot an openstack instance using below command:
nova boot --flavor 1 --image 99aec143-
6) Now vm Goes into ERROR state.
$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 207e6fd0-
| c7cb3011-
+------
Expected Result:
================
qemu-img should return output like:
$ qemu-img info /opt/stack/
image: /opt/stack/
file format: raw
virtual size: 39M (41126400 bytes)
disk size: 18M
Actual Result:
==============
I am not sure why qemu-img command is getting failed:
/usr/bin/python -m oslo_concurrenc
Environment:
============
Devstack: Queens
Network: Neutron
Hypervisor: Ubuntu1604 KVM
Logs:
=====
Full Nova logs traces can be found in below link:
http://
tags: | added: queens-rc-potential |
tags: |
added: libvirt removed: queens-rc-potential |
Changed in nova: | |
assignee: | nobody → Guo Jingyu (pandatt) |
Changed in nova: | |
assignee: | nobody → Illia Khomenko (raingeragon) |
Getting same error when tried to launch instance from Dashboard of devstack master.
Error: Failed to perform requested operation on instance "inst5", the instance has an error status: Please try again later [Error: Build of instance 359a93f5- ecbf-4c74- a15f-618d693a99 c1 aborted: Image e77840d9- 1978-4660- 98e0-1f5bf33b9e 3a is unacceptable: 'qemu-img info' parsing failed.].