juju_verify.verifiers.nova_compute module

nova-compute verification.

class juju_verify.verifiers.nova_compute.NovaCompute(units: List[Unit], exclude_affected_units: Optional[List[Unit]] = None)

Bases: BaseVerifier

Implementation of verification checks for the nova-compute charm.

NAME = 'nova-compute'
check_no_empty_az() Result

Check that removing units wont cause empty availability zone.

check_no_running_vms() Result

Check that none of the units have VMs running on them.

model: Model
verify_reboot() Result

Verify that it’s safe to reboot selected nova-compute units.

verify_shutdown() Result

Verify that it’s safe to shutdown selected nova-compute units.