[magnum] Cluster type (vm, ubuntu, kubernetes) not supported
Folks, I am trying to create a template for magnum but getting the following error. I am running the 2024.1 release. Anything changed or missing here? openstack image create ${IMAGE_NAME} --disk-format=qcow2 --container-format=bare --property os_distro=${OS_DISTRO} --file=${IMAGE_NAME}.qcow2; \ openstack coe cluster template create \ --image $(openstack image show ${IMAGE_NAME} -c id -f value) \ --external-network public \ --dns-nameserver 8.8.8.8 \ --master-lb-enabled \ --master-flavor gen.c4-m8-d30 \ --flavor gen.c4-m8-d30 \ --network-driver calico \ --docker-storage-driver overlay2 \ --coe kubernetes \ --label kube_tag=${version} \ k8s-${version}; Cluster type (vm, ubuntu, kubernetes) not supported (HTTP 400) (Request-ID: req-7c7f27b2-d67c-4f5b-aacf-01754b35bba8)
Hi Satish, I remember that I also had this error once. In my case the Capi driver was no longer installed in the magnum container. Cheers, Oliver Von meinem iPhone gesendet
Am 10.12.2024 um 20:50 schrieb Satish Patel <satish.txt@gmail.com>:
Folks,
I am trying to create a template for magnum but getting the following error. I am running the 2024.1 release. Anything changed or missing here?
openstack image create ${IMAGE_NAME} --disk-format=qcow2 --container-format=bare --property os_distro=${OS_DISTRO} --file=${IMAGE_NAME}.qcow2; \ openstack coe cluster template create \ --image $(openstack image show ${IMAGE_NAME} -c id -f value) \ --external-network public \ --dns-nameserver 8.8.8.8 \ --master-lb-enabled \ --master-flavor gen.c4-m8-d30 \ --flavor gen.c4-m8-d30 \ --network-driver calico \ --docker-storage-driver overlay2 \ --coe kubernetes \ --label kube_tag=${version} \ k8s-${version};
Cluster type (vm, ubuntu, kubernetes) not supported (HTTP 400) (Request-ID: req-7c7f27b2-d67c-4f5b-aacf-01754b35bba8)
Hi Oliver, It's already there and service is already up and running without error. (magnum-api)[root@os2-bos-ctrl01 /]# pip list | grep -i magnum magnum 18.0.1.dev3 magnum-cluster-api 0.22.1 python-magnumclient 4.4.0 On Wed, Dec 11, 2024 at 2:21 AM Oliver Weinmann <oliver.weinmann@me.com> wrote:
Hi Satish,
I remember that I also had this error once. In my case the Capi driver was no longer installed in the magnum container.
Cheers, Oliver
Von meinem iPhone gesendet
Am 10.12.2024 um 20:50 schrieb Satish Patel <satish.txt@gmail.com>:
Folks,
I am trying to create a template for magnum but getting the following error. I am running the 2024.1 release. Anything changed or missing here?
openstack image create ${IMAGE_NAME} --disk-format=qcow2 --container-format=bare --property os_distro=${OS_DISTRO} --file=${IMAGE_NAME}.qcow2; \ openstack coe cluster template create \ --image $(openstack image show ${IMAGE_NAME} -c id -f value) \ --external-network public \ --dns-nameserver 8.8.8.8 \ --master-lb-enabled \ --master-flavor gen.c4-m8-d30 \ --flavor gen.c4-m8-d30 \ --network-driver calico \ --docker-storage-driver overlay2 \ --coe kubernetes \ --label kube_tag=${version} \ k8s-${version};
Cluster type (vm, ubuntu, kubernetes) not supported (HTTP 400) (Request-ID: req-7c7f27b2-d67c-4f5b-aacf-01754b35bba8)
Hi Oliver, This is very bizarre but I found out that the 2024.1 release is kolla-ansible. The following line is presented in magnum.conf file. As soon as I removed the following lines... It works! Is this related to the magnum capi driver which stackHPC vs Vaxxhost stuff? [drivers] disabled_drivers = k8s_cluster_api_flatcar,k8s_cluster_api_ubuntu,k8s_cluster_api_ubuntu_focal On Wed, Dec 11, 2024 at 11:34 AM Satish Patel <satish.txt@gmail.com> wrote:
Hi Oliver,
It's already there and service is already up and running without error.
(magnum-api)[root@os2-bos-ctrl01 /]# pip list | grep -i magnum magnum 18.0.1.dev3 magnum-cluster-api 0.22.1 python-magnumclient 4.4.0
On Wed, Dec 11, 2024 at 2:21 AM Oliver Weinmann <oliver.weinmann@me.com> wrote:
Hi Satish,
I remember that I also had this error once. In my case the Capi driver was no longer installed in the magnum container.
Cheers, Oliver
Von meinem iPhone gesendet
Am 10.12.2024 um 20:50 schrieb Satish Patel <satish.txt@gmail.com>:
Folks,
I am trying to create a template for magnum but getting the following error. I am running the 2024.1 release. Anything changed or missing here?
openstack image create ${IMAGE_NAME} --disk-format=qcow2 --container-format=bare --property os_distro=${OS_DISTRO} --file=${IMAGE_NAME}.qcow2; \ openstack coe cluster template create \ --image $(openstack image show ${IMAGE_NAME} -c id -f value) \ --external-network public \ --dns-nameserver 8.8.8.8 \ --master-lb-enabled \ --master-flavor gen.c4-m8-d30 \ --flavor gen.c4-m8-d30 \ --network-driver calico \ --docker-storage-driver overlay2 \ --coe kubernetes \ --label kube_tag=${version} \ k8s-${version};
Cluster type (vm, ubuntu, kubernetes) not supported (HTTP 400) (Request-ID: req-7c7f27b2-d67c-4f5b-aacf-01754b35bba8)
Hi, It seems that it gets added if magnum_kubeconfig_file_path is not set. https://github.com/openstack/kolla-ansible/commit/4879656058c43a88eb934ae0c6... ________________________________ From: Satish Patel <satish.txt@gmail.com> Sent: December 11, 2024 2:13 PM To: Oliver Weinmann <oliver.weinmann@me.com> Cc: OpenStack Discuss <openstack-discuss@lists.openstack.org> Subject: Re: [magnum] Cluster type (vm, ubuntu, kubernetes) not supported Hi Oliver, This is very bizarre but I found out that the 2024.1 release is kolla-ansible. The following line is presented in magnum.conf file. As soon as I removed the following lines... It works! Is this related to the magnum capi driver which stackHPC vs Vaxxhost stuff? [drivers] disabled_drivers = k8s_cluster_api_flatcar,k8s_cluster_api_ubuntu,k8s_cluster_api_ubuntu_focal On Wed, Dec 11, 2024 at 11:34 AM Satish Patel <satish.txt@gmail.com<mailto:satish.txt@gmail.com>> wrote: Hi Oliver, It's already there and service is already up and running without error. (magnum-api)[root@os2-bos-ctrl01 /]# pip list | grep -i magnum magnum 18.0.1.dev3 magnum-cluster-api 0.22.1 python-magnumclient 4.4.0 On Wed, Dec 11, 2024 at 2:21 AM Oliver Weinmann <oliver.weinmann@me.com<mailto:oliver.weinmann@me.com>> wrote: Hi Satish, I remember that I also had this error once. In my case the Capi driver was no longer installed in the magnum container. Cheers, Oliver Von meinem iPhone gesendet
Am 10.12.2024 um 20:50 schrieb Satish Patel <satish.txt@gmail.com<mailto:satish.txt@gmail.com>>:
Folks,
I am trying to create a template for magnum but getting the following error. I am running the 2024.1 release. Anything changed or missing here?
openstack image create ${IMAGE_NAME} --disk-format=qcow2 --container-format=bare --property os_distro=${OS_DISTRO} --file=${IMAGE_NAME}.qcow2; \ openstack coe cluster template create \ --image $(openstack image show ${IMAGE_NAME} -c id -f value) \ --external-network public \ --dns-nameserver 8.8.8.8 \ --master-lb-enabled \ --master-flavor gen.c4-m8-d30 \ --flavor gen.c4-m8-d30 \ --network-driver calico \ --docker-storage-driver overlay2 \ --coe kubernetes \ --label kube_tag=${version} \ k8s-${version};
Cluster type (vm, ubuntu, kubernetes) not supported (HTTP 400) (Request-ID: req-7c7f27b2-d67c-4f5b-aacf-01754b35bba8)
Which gets set if you have /etc/kolla/config/magnum/kubeconfig file, see https://github.com/openstack/kolla-ansible/blob/4ac270174070b0b42e32cc005ff0... Michal
On 11 Dec 2024, at 20:19, Mohammed Naser <mnaser@vexxhost.com> wrote:
Hi,
It seems that it gets added if magnum_kubeconfig_file_path is not set.
https://github.com/openstack/kolla-ansible/commit/4879656058c43a88eb934ae0c6...
From: Satish Patel <satish.txt@gmail.com> Sent: December 11, 2024 2:13 PM To: Oliver Weinmann <oliver.weinmann@me.com> Cc: OpenStack Discuss <openstack-discuss@lists.openstack.org> Subject: Re: [magnum] Cluster type (vm, ubuntu, kubernetes) not supported
Hi Oliver,
This is very bizarre but I found out that the 2024.1 release is kolla-ansible. The following line is presented in magnum.conf file. As soon as I removed the following lines... It works! Is this related to the magnum capi driver which stackHPC vs Vaxxhost stuff?
[drivers] disabled_drivers = k8s_cluster_api_flatcar,k8s_cluster_api_ubuntu,k8s_cluster_api_ubuntu_focal
On Wed, Dec 11, 2024 at 11:34 AM Satish Patel <satish.txt@gmail.com <mailto:satish.txt@gmail.com>> wrote: Hi Oliver,
It's already there and service is already up and running without error.
(magnum-api)[root@os2-bos-ctrl01 /]# pip list | grep -i magnum magnum 18.0.1.dev3 magnum-cluster-api 0.22.1 python-magnumclient 4.4.0
On Wed, Dec 11, 2024 at 2:21 AM Oliver Weinmann <oliver.weinmann@me.com <mailto:oliver.weinmann@me.com>> wrote: Hi Satish,
I remember that I also had this error once. In my case the Capi driver was no longer installed in the magnum container.
Cheers, Oliver
Von meinem iPhone gesendet
Am 10.12.2024 um 20:50 schrieb Satish Patel <satish.txt@gmail.com <mailto:satish.txt@gmail.com>>:
Folks,
I am trying to create a template for magnum but getting the following error. I am running the 2024.1 release. Anything changed or missing here?
openstack image create ${IMAGE_NAME} --disk-format=qcow2 --container-format=bare --property os_distro=${OS_DISTRO} --file=${IMAGE_NAME}.qcow2; \ openstack coe cluster template create \ --image $(openstack image show ${IMAGE_NAME} -c id -f value) \ --external-network public \ --dns-nameserver 8.8.8.8 \ --master-lb-enabled \ --master-flavor gen.c4-m8-d30 \ --flavor gen.c4-m8-d30 \ --network-driver calico \ --docker-storage-driver overlay2 \ --coe kubernetes \ --label kube_tag=${version} \ k8s-${version};
Cluster type (vm, ubuntu, kubernetes) not supported (HTTP 400) (Request-ID: req-7c7f27b2-d67c-4f5b-aacf-01754b35bba8)
participants (4)
-
Michał Nasiadka
-
Mohammed Naser
-
Oliver Weinmann
-
Satish Patel