The heat_integrationtests.common.exceptions Module¶
- 
exception 
heat_integrationtests.common.exceptions.BuildErrorException(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.common.exceptions.IntegrationException- 
message= 'Server %(server_id)s failed to build and is in ERROR status'¶ 
- 
 
- 
exception 
heat_integrationtests.common.exceptions.IntegrationException(*args, **kwargs)[source]¶ Bases:
exceptions.ExceptionBase Tempest Exception.
To correctly use this class, inherit from it and define a ‘message’ property. That message will get printf’d with the keyword arguments provided to the constructor.
- 
message= 'An unknown exception occurred'¶ 
- 
 
- 
exception 
heat_integrationtests.common.exceptions.InvalidCredentials(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.common.exceptions.IntegrationException- 
message= 'Invalid Credentials'¶ 
- 
 
- 
exception 
heat_integrationtests.common.exceptions.SSHExecCommandFailed(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.common.exceptions.IntegrationExceptionRaised when remotely executed command returns nonzero status.
- 
message= "Command '%(command)s', exit status: %(exit_status)d, Error:\n%(strerror)s"¶ 
- 
 
- 
exception 
heat_integrationtests.common.exceptions.SSHTimeout(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.common.exceptions.IntegrationException- 
message= 'Connection to the %(host)s via SSH timed out.\nUser: %(user)s, Password: %(password)s'¶ 
- 
 
- 
exception 
heat_integrationtests.common.exceptions.ServerUnreachable(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.common.exceptions.IntegrationException- 
message= 'The server is not reachable via the configured network'¶ 
- 
 
- 
exception 
heat_integrationtests.common.exceptions.StackBuildErrorException(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.common.exceptions.IntegrationException- 
message= "Stack %(stack_identifier)s is in %(stack_status)s status due to '%(stack_status_reason)s'"¶ 
- 
 
- 
exception 
heat_integrationtests.common.exceptions.StackResourceBuildErrorException(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.common.exceptions.IntegrationException- 
message= "Resource %(resource_name)s in stack %(stack_identifier)s is in %(resource_status)s status due to '%(resource_status_reason)s'"¶ 
- 
 
- 
exception 
heat_integrationtests.common.exceptions.TimeoutException(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.common.exceptions.IntegrationException- 
message= 'Request timed out'¶ 
-