Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Openstack (Train )instance not launching

Details : Openstack (Train )instance not launching, Failed to copy image to volume: qemu-img: Could not open '/var/lib/cinder/conversion/tmpHPa4Zkopenstack@lvm': Image is not in qcow2 format

Hi All, Openstack instance launch always fails with the following error: This error is occurring even for iso , img images . Tried an image to convert to qcow2 no luck. Can anyone please help its days that I cant get this instances launched and it fails every time with ERROR

2020-04-10 00:35:34.181 250692 WARNING cinder.volume.manager [req-d3a5dc5d-5551-41e7-97db-a5040efc6945 6ad05a7481174e2bb7b5e309bd40d341 d30e18aecf034366be85e9e5429fe1bf - default default] Task 'cinder.volume.flows.manager.create_volume.OnFailureRescheduleTask;volume:create' (985381a6-3e25-411a-bb30-91a7857d6ebf) transitioned into state 'REVERTED' from state 'REVERTING' 2020-04-10 00:35:34.184 250692 WARNING cinder.volume.manager [req-d3a5dc5d-5551-41e7-97db-a5040efc6945 6ad05a7481174e2bb7b5e309bd40d341 d30e18aecf034366be85e9e5429fe1bf - default default] Task 'cinder.volume.flows.manager.create_volume.ExtractVolumeRefTask;volume:create' (48f89f5b-558a-4332-9030-de09640b15fe) transitioned into state 'REVERTED' from state 'REVERTING' 2020-04-10 00:35:34.186 250692 WARNING cinder.volume.manager [req-d3a5dc5d-5551-41e7-97db-a5040efc6945 6ad05a7481174e2bb7b5e309bd40d341 d30e18aecf034366be85e9e5429fe1bf - default default] Flow 'volume_create_manager' (32a45c1b-cec0-449f-9518-c94cc5f0ddf0) transitioned into state 'REVERTED' from state 'RUNNING' 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server [req-d3a5dc5d-5551-41e7-97db-a5040efc6945 6ad05a7481174e2bb7b5e309bd40d341 d30e18aecf034366be85e9e5429fe1bf - default default] Exception during message handling: ImageCopyFailure: Failed to copy image to volume: qemu-img: Could not open '/var/lib/cinder/conversion/tmpHPa4Zkopenstack@lvm': Image is not in qcow2 format 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 274, in dispatch 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server result = func(ctxt, new_args) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "<string>", line 2, in create_volume 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/objects/cleanable.py", line 212, in wrapper 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server result = f(args, *kwargs) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 749, in create_volume 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server _run_flow() 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 741, in _run_flow 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server flow_engine.run() 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/engine.py", line 247, in run 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server for _state in self.run_iter(timeout=timeout): 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/engine.py", line 340, in run_iter 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server failure.Failure.reraise_if_any(er_failures) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/taskflow/types/failure.py", line 339, in reraise_if_any 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server failures[0].reraise() 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/taskflow/types/failure.py", line 346, in reraise 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server six.reraise(self._exc_info) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server result = task.execute(arguments) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 1123, in execute 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server *volume_spec) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 1023, in _create_from_image 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server image_service) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 915, in _create_from_image_cache_or_download 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server image_service 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 737, in _create_from_image_download 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server image_service) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/volume_utils.py", line 1158, in copy_image_to_volume 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server raise exception.ImageCopyFailure(reason=ex.stderr) 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server ImageCopyFailure: Failed to copy image to volume: qemu-img: Could not open '/var/lib/cinder/conversion/tmpHPa4Zkopenstack@lvm': Image is not in qcow2 format 2020-04-10 00:35:34.190 250692 ERROR oslo_messaging.rpc.server

Nova verion : [root@openstack ~(keystone_admin)]# nova-manage version 20.1.1-1.el7 [root@openstack ~(keystone_admin)]#

Background: I initially had the error with the port-binding issue, When I launch the instance from the image it used to create cinder-volume (DAS storage from the same server in my case)successfully but the instance was failing with the error relating port binding. This was mostly with the network type being different for private and public networks in the router, o I changed the type which is “Geneve” type now and seems port biding issue is gone. However the instance is now going to scheduling state with no success, there is an error relating as mentioned above

I have tried with multiple images and qcow2 conversions but no luck...

Please Help !

Thanks, Vinod