Magnum in yoga release on Ubuntu 22.04

Michal Arbet michal.arbet at ultimum.io
Wed Mar 15 12:28:20 UTC 2023


Hi,

You can't import qcow and mark it as raw, before upload to glance you have
to convert qcow2 to raw.

openstack image create Fedora-CoreOS
--file=fedora-coreos-35.20220313.3.1-openstack.x86_64.qcow2
--disk-format=raw --container-format=bare --property
os_distro='fedora-coreos' --public

to

qemu-img convert fedora-coreos-35.20220313.3.1-openstack.x86_64.qcow2
fedora-coreos-35.20220313.3.1-openstack.x86_64.raw
openstack image create Fedora-CoreOS
--file=fedora-coreos-35.20220313.3.1-openstack.x86_64.raw --disk-format=raw
--container-format=bare --property os_distro='fedora-coreos' --public

Hope it will help you.

Regards,
Michal Arbet
Openstack Engineer

Ultimum Technologies a.s.
Na Poříčí 1047/26, 11000 Praha 1
Czech Republic

+420 604 228 897
michal.arbet at ultimum.io
*https://ultimum.io <https://ultimum.io/>*

LinkedIn <https://www.linkedin.com/company/ultimum-technologies> | Twitter
<https://twitter.com/ultimumtech> | Facebook
<https://www.facebook.com/ultimumtechnologies/timeline>


po 13. 3. 2023 v 13:25 odesílatel МАКАРОВ МАКС <mister.mackarow at yandex.ru>
napsal:

> Hello, openstack team! Please help me! I'm trying to use magnum in the
> yoga release on ubuntu 22.04 I can't understand why it doesn't work, when
> creating a container I get an error
> "
> 2023-03-13 09:07:38.090 1507357 ERROR magnum.drivers.heat.driver
> [req-b0b05017-af6b-4f4c-bf2c-003b34f17ba0 - - - - -]Nodegroup error, stack
> status: CREATE_FAILED, stack_id: 54f98fee-c070-40f9b337-b9b6df49e73b,
> reason:Resource CREATE failed: ResourceInError:
> resources.kube_masters.resources[0].resources.kube-master:
> Went to status ERROR due to "Message: Build of instance
> 912d1432-c692-4569-a511-3fb9291c97dc aborted: Image
> 54c026f6-6ff7-4be6-b76e-a0732d9b8814 is unacceptable: Image is not raw
> format, Code: 500"
> "
> I downloaded the container image and tried to create it in raw with the
> command and create a new Cluster template
> "
> openstack image create Fedora-CoreOS
> --file=fedora-coreos-35.20220313.3.1-openstack.x86_64.qcow2
> --disk-format=raw --container-format=bare --property
> os_distro='fedora-coreos' --public
> "
> and create a new Cluster template, when I tried to create a cluster, it
> had the status CREATE_IN_PROGRESS for a very long time I got an error
> "
> 2023-03-13 10:21:58.110 1507357 ERROR magnum.drivers.heat.driver
> [req-29753ae4-b9c3-4602-ba8e-acf9a0d024c5 - - - - -] Nodegroup error, stack
> status:
> CREATE_FAILED, stack_id: 5958bd59-c6f9-464d-a4f7-ddd530fdf804, reason:
> Timed out=
> "
> why it doesn't work?  I saw a massage on your website.
>
> Does this mean that magnum only works in the Zed release?
> --
> With respect,
> Makarov Maxim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230315/f4035b95/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 4048 bytes
Desc: not available
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230315/f4035b95/attachment-0001.png>


More information about the openstack-discuss mailing list