You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing cou on the following bundle and as it is possible to see, one unit of mysql was in maintenance:
App Version Status Scale Charm Channel Rev Exposed Message
designate-bind 9.16.1 active 1 designate-bind ussuri/stable 98 no Unit is ready
mysql-innodb-cluster 8.0.35 maintenance 3 mysql-innodb-cluster 8.0/stable 107 no Paused. Use 'resume' action to resume normal service.
Unit Workload Agent Machine Public address Ports Message
designate-bind/0* active idle 0 10.101.82.190 Unit is ready
mysql-innodb-cluster/0* active idle 1 10.101.82.32 Unit is ready: Mode: R/W, Cluster is NOT tolerant to any failures. 1 member is not active.
mysql-innodb-cluster/1 active idle 2 10.101.82.151 Unit is ready: Mode: R/O, Cluster is NOT tolerant to any failures. 1 member is not active.
mysql-innodb-cluster/2 maintenance idle 3 10.101.82.241 Paused. Use 'resume' action to resume normal service.
This initial check should fail in such situation and also after the upgrade if some unit is still on maintenance.
The text was updated successfully, but these errors were encountered:
- Without status check if the unit is on maintenance it will
proceed to upgrade
Closes: canonical#199
gabrielcocenza
changed the title
Verify that all OpenStack applications are in idle state should include wait_for_active=True
Verification of the model using wait_for_idle should consider also if application is active
Dec 13, 2023
gabrielcocenza
added a commit
to gabrielcocenza/charmed-openstack-upgrader-1
that referenced
this issue
Dec 13, 2023
* Check if applications status are active on wait_for_idle.
- Without status check if the unit is on maintenance it will
proceed to upgrade or pass the post upgrade step.
Closes: #199
I was testing cou on the following bundle and as it is possible to see, one unit of mysql was in maintenance:
This initial check should fail in such situation and also after the upgrade if some unit is still on maintenance.
The text was updated successfully, but these errors were encountered: