[rdo-users] Creation of Compute instance always fails on RDO openstack

Alfredo Moralejo Alonso amoralej at redhat.com
Mon Oct 5 06:30:02 UTC 2020


Hi Tony,

The problem seems to be the content of the image. Could you try downloading
the image from the download cirros site?, you can use:

https://download.cirros-cloud.net/0.5.1/cirros-0.5.1-x86_64-disk.img

I've tested in a RDO Train on CentOS7 and i could reproduce it with default
installation with same error but i could make it work by creating a new
image from a freshed download image. We are pushing a fix to packstack too.

Best regards,

Alfredo




On Fri, Oct 2, 2020 at 7:11 PM Tony Waria <tonywaria at gmail.com> wrote:

> Javier - I updated the image (Compute->Image->Select Image->Edit
> Image->Update Image but it gives the same error message.
>
> Here is the log message from /var/log/cinder. I don't know how to decipher
> this.
>
> Much Thanks for your help.
>
> 2020-10-02 09:50:32.429 3037 ERROR cinder.volume.manager   File
> "/usr/lib/python2.7/site-packages/cinder/volume/volume_utils.py", line
> 1158, in copy_image_to_volume
> 2020-10-02 09:50:32.429 3037 ERROR cinder.volume.manager     raise
> exception.ImageCopyFailure(reason=ex.stderr)
> 2020-10-02 09:50:32.429 3037 ERROR cinder.volume.manager ImageCopyFailure:
> Failed to copy image to volume: qemu-img: Could not open
> '/var/lib/cinder/conversion/tmpfrtQ9Bpackstack at lvm': Image is not in
> qcow2 format
> 2020-10-02 09:50:32.429 3037 ERROR cinder.volume.manager
> 2020-10-02 09:50:32.429 3037 ERROR cinder.volume.manager
> 2020-10-02 09:50:32.501 3037 WARNING cinder.volume.manager
> [req-91a2ccda-488b-4ad3-83dd-5f0fc76582b2 278c88b467c84505a98b6ea4d62fdf3a
> 32a92d883c2949ca9796afdfffb18f6f - default default] Task
> 'cinder.volume.flows.manager.create_volume.CreateVolumeFromSpecTask;volume:create'
> (111b6d08-9142-4f22-8f60-91917de35eff) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2020-10-02 09:50:32.504 3037 WARNING cinder.volume.manager
> [req-91a2ccda-488b-4ad3-83dd-5f0fc76582b2 278c88b467c84505a98b6ea4d62fdf3a
> 32a92d883c2949ca9796afdfffb18f6f - default default] Task
> 'cinder.volume.flows.manager.create_volume.NotifyVolumeActionTask;volume:create,
> create.start' (2ab55b0d-95d4-4e17-9d9d-ae72e5707c87) transitioned into
> state 'REVERTED' from state 'REVERTING'
> 2020-10-02 09:50:32.506 3037 WARNING cinder.volume.manager
> [req-91a2ccda-488b-4ad3-83dd-5f0fc76582b2 278c88b467c84505a98b6ea4d62fdf3a
> 32a92d883c2949ca9796afdfffb18f6f - default default] Task
> 'cinder.volume.flows.manager.create_volume.ExtractVolumeSpecTask;volume:create'
> (4ea20a6e-e51e-4978-acb2-144e3ab6e2dc) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2020-10-02 09:50:32.713 3037 ERROR
> cinder.volume.flows.manager.create_volume
> [req-91a2ccda-488b-4ad3-83dd-5f0fc76582b2 278c88b467c84505a98b6ea4d62fdf3a
> 32a92d883c2949ca9796afdfffb18f6f - default default] Volume
> dc392ec8-95e2-488d-9edf-6814b03c4adc: create failed
> 2020-10-02 09:50:32.715 3037 WARNING cinder.volume.manager
> [req-91a2ccda-488b-4ad3-83dd-5f0fc76582b2 278c88b467c84505a98b6ea4d62fdf3a
> 32a92d883c2949ca9796afdfffb18f6f - default default] Task
> 'cinder.volume.flows.manager.create_volume.OnFailureRescheduleTask;volume:create'
> (eb66d9dd-5e9f-4e74-9392-444bf97aab46) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2020-10-02 09:50:32.718 3037 WARNING cinder.volume.manager
> [req-91a2ccda-488b-4ad3-83dd-5f0fc76582b2 278c88b467c84505a98b6ea4d62fdf3a
> 32a92d883c2949ca9796afdfffb18f6f - default default] Task
> 'cinder.volume.flows.manager.create_volume.ExtractVolumeRefTask;volume:create'
> (75f64887-8d52-4122-9ad9-462a4af30306) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2020-10-02 09:50:32.800 3037 WARNING cinder.volume.manager
> [req-91a2ccda-488b-4ad3-83dd-5f0fc76582b2 278c88b467c84505a98b6ea4d62fdf3a
> 32a92d883c2949ca9796afdfffb18f6f - default default] Flow
> 'volume_create_manager' (6aa1d1d7-fb07-4e91-9b97-635b108966eb) transitioned
> into state 'REVERTED' from state 'RUNNING'
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server
> [req-91a2ccda-488b-4ad3-83dd-5f0fc76582b2 278c88b467c84505a98b6ea4d62fdf3a
> 32a92d883c2949ca9796afdfffb18f6f - default default] Exception during
> message handling: ImageCopyFailure: Failed to copy image to volume:
> qemu-img: Could not open '/var/lib/cinder/conversion/tmpfrtQ9Bpackstack at lvm':
> Image is not in qcow2 format
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server Traceback
> (most recent call last):
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server   File
> "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 165,
> in _process_incoming
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server     res =
> self.dispatcher.dispatch(message)
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server   File
> "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line
> 274, in dispatch
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server     return
> self._do_dispatch(endpoint, method, ctxt, args)
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server   File
> "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line
> 194, in _do_dispatch
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server     result =
> func(ctxt, **new_args)
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server   File
> "<string>", line 2, in create_volume
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server   File
> "/usr/lib/python2.7/site-packages/cinder/objects/cleanable.py", line 212,
> in wrapper
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server     result =
> f(*args, **kwargs)
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server   File
> "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 749, in
> create_volume
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server
> _run_flow()
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server   File
> "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 741, in
> _run_flow
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server
> flow_engine.run()
> 2020-10-02 09:50:32.838 3037 ERROR oslo_messaging.rpc.server   File
> "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/engine.py",
> line 247, in run
>
> On Fri, Oct 2, 2020 at 1:53 AM Javier Pena <jpena at redhat.com> wrote:
>
>>
>> I'm running a centos 7 VM. On that VM I have installed RDO openstack.
>>
>> I'm able to instantiate a network. However when I create Compute
>> Instances, I'm constantly getting this error message -
>>
>> [image: image.png]
>> Appreciate your help with this.
>> Thanks
>>
>> Hi Tony,
>>
>> I have been running some local tests, and I think the reason you are
>> getting this failure is because of an error in the image used to start the
>> VM.
>>
>> You can try downloading a new image, uploading it using the Compute ->
>> Images menu, and then use that new image for your instance.
>>
>> Regards,
>> Javier
>>
>>
>> _______________________________________________
>> users mailing list
>> users at lists.rdoproject.org
>> http://lists.rdoproject.org/mailman/listinfo/users
>>
>> To unsubscribe: users-unsubscribe at lists.rdoproject.org
>>
>>
>> _______________________________________________
>> users mailing list
>> users at lists.rdoproject.org
>> http://lists.rdoproject.org/mailman/listinfo/users
>>
>> To unsubscribe: users-unsubscribe at lists.rdoproject.org
>>
> _______________________________________________
> users mailing list
> users at lists.rdoproject.org
> http://lists.rdoproject.org/mailman/listinfo/users
>
> To unsubscribe: users-unsubscribe at lists.rdoproject.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20201005/3d134b8d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 47898 bytes
Desc: not available
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20201005/3d134b8d/attachment-0001.png>


More information about the users mailing list