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@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@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
This is image error. Not magnum On Wed, Mar 15, 2023, 7:34 PM Michal Arbet <michal.arbet@ultimum.io> wrote:
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@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@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
Just forcus heat log in k8s master instance. It is all you need to specify problems. On Wed, Mar 15, 2023, 8:46 PM МАКАРОВ МАКС <mister.mackarow@yandex.ru> wrote:
Thanks for the answer! I solved this problem by specifying in the settings nova.conf image-type = qcow2 now I can use qcow2, but unfortunately the cluster does not create, it crashes with a time_out error, if I run heat stack-list I see that kube_masters create in progress, now I'm stuck at this step
15.03.2023, 15:28, "Michal Arbet" <michal.arbet@ultimum.io>:
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@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@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
-- With respect, Makarov Maxim
participants (4)
-
Michal Arbet
-
Nguyễn Hữu Khôi
-
Oliver Weinmann
-
МАКАРОВ МАКС