openstack-charmers / zaza-openstack-tests

OpenStack Charms Functional Test Library for Zaza
Apache License 2.0
7 stars 77 forks source link

Use zaza.model.run_on_unit for ca checks #1192

Closed wolsen closed 5 months ago

wolsen commented 5 months ago

Existing code uses the python libjuju unit.run in order to execute a wait check for ca readiness across the units. The behavior of libjuju changed between 2.x and 3.x and causes this functionality to break. This is abstracted and handled in the zaza library, so use that code instead as it properly handles the differences.

wolsen commented 5 months ago

Changes are being exercised in https://review.opendev.org/c/openstack/charm-mysql-innodb-cluster/+/912487