I am currently unable to create or delete instances in my OpenStack Cloud (the cloud was working properly before, for a long time) .
Everything seams to be working properly acording to juju status, but I am unable to create instances, they get stuck in Building status and when I try t delete an instance I got the following error.
mchc@ubuntu:/data/git/openstack-cfg/client$ openstack server delete --wait 45f3f3ff-8f72-4953-8894-3eab2c3affe8
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'openstack.exceptions.NotSupported'> (HTTP 500) (Request-ID: req-f3eec74d-a733-4104-8282-801deb88136d)
2023-03-22 17:59:05.006 1201203 ERROR nova openstack.exceptions.NotSupported: The placement service for keystone.openstack.maas:RegionOne exists but does not have any supported versions.
2023-03-22 18:10:26.812 1208781 WARNING keystoneauth.discover [req-cef0bf8c-0590-445c-ae6f-b019724166cd - - - - -] Failed to contact the endpoint at https://placement.openstack.maas:8778 for discovery. Fallback to using that endpoint as the base url.
2023-03-22 18:10:26.828 1208781 WARNING keystoneauth.discover [req-cef0bf8c-0590-445c-ae6f-b019724166cd - - - - -] Failed to contact the endpoint at https://placement.openstack.maas:8778 for discovery. Fallback to using that endpoint as the base url.
2023-03-22 18:10:26.828 1208781 CRITICAL nova [req-cef0bf8c-0590-445c-ae6f-b019724166cd - - - - -] Unhandled error: openstack.exceptions.NotSupported: The placement service for keystone.openstack.maas:RegionOne exists but does not have any supported versions.
2023-03-22 18:03:55.673 3837073 WARNING nova.conductor.api [req-b044d3a6-a656-407f-9018-20ecfcc1dee4 - - - - -] Timed out waiting for nova-conductor. Is it running? Or did this service start before nova-conductor? Reattempting establishment of nova-conductor connection...: oslo_messaging.exceptions.MessagingTimeout: Timed out waiting for a reply to message ID 44661288325d486fb41cb9b81c310d71
I found the root problem, for some reason placement nodes didn’t have new certificates , i reissue the certificates and the cloud is working properly now
geoint@MAAS-01:~$ juju status --relations | grep vault
vault 1.5.9 active 3 vault stable 54 no Unit is ready (active: true, mlock: disabled)
vault-hacluster active 3 hacluster stable 81 no Unit is ready and clustered
vault-mysql-router 8.0.36 active 3 mysql-router stable 15 no Unit is ready
vault/0 active idle 0/lxd/6 10.2.101.142 8200/tcp Unit is ready (active: true, mlock: disabled)
vault-hacluster/1 active idle 10.2.101.142 Unit is ready and clustered
vault-mysql-router/1 active idle 10.2.101.142 Unit is ready
vault/1* active idle 1/lxd/6 10.2.101.159 8200/tcp Unit is ready (active: true, mlock: disabled)
vault-hacluster/0* active idle 10.2.101.159 Unit is ready and clustered
vault-mysql-router/0 active idle 10.2.101.159 Unit is ready
vault/2 active idle 2/lxd/6 10.2.101.174 8200/tcp Unit is ready (active: true, mlock: disabled)
vault-hacluster/2 active idle 10.2.101.174 Unit is ready and clustered
vault-mysql-router/2* active idle 10.2.101.174 Unit is ready
mysql-innodb-cluster:db-router vault-mysql-router:db-router mysql-router regular
vault-hacluster:ha vault:ha hacluster subordinate
vault-hacluster:hanode vault-hacluster:hanode hacluster peer
vault-mysql-router:shared-db vault:shared-db mysql-shared subordinate
vault:certificates ceph-radosgw:certificates tls-certificates regular
vault:certificates cinder:certificates tls-certificates regular
vault:certificates glance-simplestreams-sync:certificates tls-certificates regular
vault:certificates glance:certificates tls-certificates regular
vault:certificates keystone:certificates tls-certificates regular
vault:certificates mysql-innodb-cluster:certificates tls-certificates regular
vault:certificates neutron-api-plugin-ovn:certificates tls-certificates regular
vault:certificates neutron-api:certificates tls-certificates regular
vault:certificates nova-cloud-controller:certificates tls-certificates regular
vault:certificates openstack-dashboard:certificates tls-certificates regular
vault:certificates ovn-central:certificates tls-certificates regular
vault:certificates ovn-chassis:certificates tls-certificates regular
vault:certificates placement:certificates tls-certificates regular
vault:cluster vault:cluster vault-ha peer
Placement now has the new certificate but my cloud still has problems that didt had before the certificate issues.
mchc@ubuntu:/data/git/openstack-cfg/client$ openstack server list --all-projects
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'neutronclient.common.exceptions.ServiceUnavailable'> (HTTP 500) (Request-ID: req-6f1ca795-bf57-448b-8c5a-be404415a2c0)