Utility Exceptions

Module of exceptions that zaza may raise.

exception zaza.utilities.exceptions.ApplicationNotFound(application)

Application not found in machines.

exception zaza.utilities.exceptions.CephPoolNotFound

Ceph pool not found.

exception zaza.utilities.exceptions.CloudInitIncomplete

Cloud init has not completed properly.

exception zaza.utilities.exceptions.DestroyModelFailed

The controller.destroy_model() failed in some interesting way.

exception zaza.utilities.exceptions.JujuError

Exception when libjuju does something unexpected.

exception zaza.utilities.exceptions.KeystoneAuthorizationPermissive

Authorization/Policy too permissive.

exception zaza.utilities.exceptions.KeystoneAuthorizationStrict

Authorization/Policy too strict.

exception zaza.utilities.exceptions.KeystoneKeyRepositoryError

Error in key repository.

This may be caused by isues with one of: - incomplete or missing data in key_repository in leader storage - synchronization of keys to non-leader units - rotation of keys

exception zaza.utilities.exceptions.KeystoneWrongTokenProvider

A token was issued from the wrong token provider.

exception zaza.utilities.exceptions.MachineNotFound

Exception when machine is not found.

exception zaza.utilities.exceptions.MissingOSAthenticationException

Exception when some data needed to authenticate is missing.

exception zaza.utilities.exceptions.NeutronAgentMissing

Agent binary does not appear in the Neutron agent list.

exception zaza.utilities.exceptions.NeutronBGPSpeakerMissing

No BGP speaker appeared on agent.

exception zaza.utilities.exceptions.NovaGuestMigrationFailed

Nova guest migration failed.

exception zaza.utilities.exceptions.NovaGuestRestartFailed

Nova guest restart failed.

exception zaza.utilities.exceptions.OSVersionNotFound

OS Version not found.

exception zaza.utilities.exceptions.PIDCountMismatch

PID’s count doesn’t match.

exception zaza.utilities.exceptions.ProcessIdsFailed

Process ID lookup failed.

exception zaza.utilities.exceptions.ProcessNameCountMismatch

Count of process names doesn’t match.

exception zaza.utilities.exceptions.ProcessNameMismatch

Name of processes doesn’t match.

exception zaza.utilities.exceptions.ReleasePairNotFound

Release pair was not found in OPENSTACK_RELEASES_PAIRS.

exception zaza.utilities.exceptions.SSHFailed

SSH failed.

exception zaza.utilities.exceptions.SeriesNotFound

Series not found in status.

exception zaza.utilities.exceptions.ServiceNotFound

Service not found on unit.

exception zaza.utilities.exceptions.TemplateConflict

Exception when templates are in conflict.

exception zaza.utilities.exceptions.UbuntuReleaseNotFound

Ubuntu release not found in list.

exception zaza.utilities.exceptions.UnitCountMismatch

Count of unit doesn’t match.

exception zaza.utilities.exceptions.UnitNotFound

Unit not found in actual dict.