Due to the additional of the cinder storage, it's possible that the
log_lvm_info() commands gets called really early before lvm has been
configured. This wraps the call to pvscan and logs if it doesn't
complete -- the command is just to log the state of lvm at that point.
Also, defensively wrap the reduce_lvm_volume_group_missing() calls for
the same reason.
This patchset adds support for focal to the charm, enables the
bionic-ussuri and focal-ussuri bundles which verify that the charm works
and tests on focal with ussuri. In order for the tests to land,
serveral dependent changes to other charms are needed (see links) just
so that the charms will run on focal. Also, cinder needs to use local
block devices, and due to the related error, a change to
charm-test-infra model-defaults is needed for the charm to pass its
tests.
Links:
- disable vdb in charm-test-infra
- placement charm focal support
- neutron-openvswitch charm focal support
- rabbitmq-server charm focal support