Disabling validation plugin doesn't wait for tempest charm to be fully removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
New
|
Undecided
|
Unassigned |
Bug Description
Currently when disabling validation plugin, the process is marked as completed before tempest is fully removed. As shown in the code snippet below, the tempest charm is still in the middle of clean-up process at the time validation plugin is considered successfully disabled. From my tests, the model will eventually settle and tempest charm will be gone, but if for some reason an issue comes up, we will not be able to catch the error.
```
ubuntu@sunbeam02:~$ sunbeam disable validation
OpenStack validation application disabled.
ubuntu@sunbeam02:~$ juju status -m openstack
Model Controller Cloud/Region Version SLA Timestamp
openstack sunbeam-controller sunbeam-
SAAS Status Store URL
microceph active local admin/controlle
App Version Status Scale Charm Channel Rev Address Exposed Message
certificate-
cinder active 1 cinder-k8s 2023.2/edge 63 10.152.183.50 no
cinder-ceph active 1 cinder-ceph-k8s 2023.2/edge 57 10.152.183.151 no
cinder-
cinder-mysql-router 8.0.34-
glance active 1 glance-k8s 2023.2/edge 77 10.152.183.145 no
glance-mysql-router 8.0.34-
horizon active 1 horizon-k8s 2023.2/edge 75 10.152.183.186 no http://
horizon-
keystone active 1 keystone-k8s 2023.2/edge 168 10.152.183.169 no
keystone-
mysql 8.0.34-
neutron active 1 neutron-k8s 2023.2/edge 70 10.152.183.121 no
neutron-
nova active 1 nova-k8s 2023.2/edge 66 10.152.183.106 no
nova-api-
nova-cell-
nova-mysql-router 8.0.34-
ovn-central active 1 ovn-central-k8s 23.09/edge 75 10.152.183.246 no
ovn-relay active 1 ovn-relay-k8s 23.09/edge 62 10.6.0.181 no
placement active 1 placement-k8s 2023.2/edge 58 10.152.183.242 no
placement-
rabbitmq 3.12.1 active 1 rabbitmq-k8s 3.12/edge 33 10.6.0.183 no
tempest blocked 1/0 tempest-k8s 2023.2/edge 21 10.152.183.202 no (identity-ops) integration missing
traefik 2.10.4 active 1 traefik-k8s 1.0/edge 164 10.6.0.184 no
traefik-public 2.10.4 active 1 traefik-k8s 1.0/edge 164 10.6.0.182 no
Unit Workload Agent Address Ports Message
certificate-
cinder-
cinder-ceph/0* active idle 10.1.56.208
cinder-
cinder/0* active idle 10.1.56.230
glance-
glance/0* active idle 10.1.56.228
horizon-
horizon/0* active idle 10.1.56.217
keystone-
keystone/0* active idle 10.1.56.229
mysql/0* active idle 10.1.56.204 Primary
neutron-
neutron/0* active idle 10.1.56.201
nova-api-
nova-cell-
nova-mysql-
nova/0* active idle 10.1.56.231
ovn-central/0* active idle 10.1.56.214
ovn-relay/0* active idle 10.1.56.205
placement-
placement/0* active idle 10.1.56.220
rabbitmq/0* active idle 10.1.56.224
tempest/0* blocked executing 10.1.56.232 (identity-ops) integration missing
traefik-public/0* active idle 10.1.56.210
traefik/0* active idle 10.1.56.216
Offer Application Charm Rev Connected Endpoint Interface Role
cert-distributor keystone keystone-k8s 168 1/1 send-ca-cert certificate_
certificate-
cinder-ceph cinder-ceph cinder-ceph-k8s 57 1/1 ceph-access cinder-ceph-key provider
keystone keystone keystone-k8s 168 1/1 identity-
ovn-relay ovn-relay ovn-relay-k8s 62 1/1 ovsdb-cms-relay ovsdb-cms provider
rabbitmq rabbitmq rabbitmq-k8s 33 1/1 amqp rabbitmq provider
```