[Openstack] qemu version for OpenStack Icehouse
Bernd Bausch
berndbausch at gmail.com
Thu Feb 15 01:21:23 UTC 2018
The problem is not the qemu version, but the image file version. More recently, qcow3 seems to be used; Icehouse probably uses qcow2.
I think you have a number of options.
The easiest approach might be converting the image to qcow2:
https://ask.openstack.org/en/question/84506/how-to-convert-qcow3-image-to-qcow2/
Or convert it to raw. Main inconvenience is the increased size.
Or create a volume from the image, and on the destination system, boot from the volume and snapshot the instance to create an image again.
-----Original Message-----
From: Georgios Dimitrakakis [mailto:giorgis at acmac.uoc.gr]
Sent: Thursday, February 15, 2018 7:28 AM
To: Openstack <openstack at lists.openstack.org>
Subject: [Openstack] qemu version for OpenStack Icehouse
Dear all,
I am trying to build a Windows image on a rather new Ubuntu system which image would be imported and used on an old OpenStack Icehouse installation.
The system on which I am building it has the following characteristics:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Kernel: 4.4.0-112-generic
and the installed QEMU packages are:
ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.20
amd64 extra block backend modules for
qemu-system and qemu-utils
ii qemu-kvm 1:2.5+dfsg-5ubuntu10.20
amd64 QEMU Full virtualization
ii qemu-system-common 1:2.5+dfsg-5ubuntu10.20
amd64 QEMU full system emulation binaries
(common files)
ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.20
amd64 QEMU full system emulation binaries
(x86)
ii qemu-utils 1:2.5+dfsg-5ubuntu10.20
amd64 QEMU utilities
The error that I am getting whey I try to launch the VM is the
following:
'ProcessExecutionError: Unexpected error while running
command.\nCommand: env LC_ALL=C LANG=C qemu-img info /var/lib/nova/instances/_base/ae8e48565dd0b934afe98a17febc0660077d7e35.part\nExit
code: 1\nStdout: \'\'\nStderr: "\'image\' uses a qcow2 feature which is not supported by this qemu version: QCOW version 3\\nCould not open
\'/var/lib/nova/instances/_base/ae8e48565dd0b934afe98a17febc0660077d7e35.part\':
Operation not supported\\n"\n'
Using the same image on a newer OpenStack Ocata installation works fine and the VM boots up and works without a problem.
Obviously there is a version mismatch and something on this image is not supported by OpenStack Icehouse.
Do you know where the problem could be? Is there a way to build it with backwards compatibility or can someone point out to me the latest versions that would work with OpenStack Icehouse?
Unfortunately for the moment it's not possible to upgrade OpenStack. We will in the next few months but for the moment is important to have it working.
Looking forward for your answers!
Best regards,
G.
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
More information about the Openstack
mailing list