Skip to content

Instantly share code, notes, and snippets.

@sorrison
Created July 13, 2015 06:46
Show Gist options
  • Save sorrison/ac57b1d575d2fa0312d6 to your computer and use it in GitHub Desktop.
Save sorrison/ac57b1d575d2fa0312d6 to your computer and use it in GitHub Desktop.
FAULTS = {
'general': [
"%Unexpected task state%",
"%Unexpected error while running command.%",
"Compute service of % is unavailable at this time.",
"Instance % is not running.",
"Instance % is not ready",
"%Unauthorized (HTTP 401)%",
"%Flavor % could not be found.%",
"Instance % could not be found.",
"Instance group % could not be found.",
"Invalid console type %",
"Host % is running an old version of Nova%",
"[Errno 104] Connection reset by peer",
"Timed out during operation: cannot acquire state change lock",
],
'misconfiguration': [
"Remote error: UnsupportedVersion Endpoint%",
"invalid literal for int() with base 10%",
"%DBDeadlock%",
"%Deadlock found when trying to get lock%",
"%Unknown column%",
"Cannot check QEMU binary /usr/bin/kvm: No such file or directory",
"No networks defined.",
"internal error: could not get value of the secret for username%",
"Cannot get interface MTU on%",
"Secret not found: rbd no secret matches uuid%",
"%unable to resolve host%",
],
'openstack-bugs': [
"Timed out waiting for a reply to message ID%",
"Timeout while waiting on RPC response%",
"%MessagingTimeout%",
"string indices must be integers%",
"'NoneType' object has no attribute %",
"<type 'NoneType'> can't be decoded",
"'ascii' codec can't decode byte % in position%",
"_log() got an unexpected keyword argument 'connect_info'",
"'LibvirtConfigGuestDisk' object has no attribute 'type'",
],
'users': [
"Invalid console type %",
"set_admin_password is not implemented by this driver or guest instance.",
"User does not have admin privileges",
],
'coreservices': [
"Unable to establish connection: HTTPSConnectionPool(host='cinder.rc.nectar.org.au', port=8776)%",
"%The server has either erred or is incapable of performing the requested operation. (HTTP 500)%",
],
'migration': [
"Migration pre-check error:%",
"%cannot accept migration%",
"Unable to migrate instance%",
"A NetworkModel is required here",
],
'boot': [
"unsupported configuration: CPU tuning is not available on this host",
"Build of instance % aborted: %",
"%At least one cgroup controller is required: No such device or address%",
"%internal error: process exited while connecting to monitor: qemu-system-x86_64:%",
"internal error: no supported architecture for os type 'hvm'",
"End of file while reading data: Input/output error",
],
'novalidhost': [
"No valid host was found.%",
],
'scheduling': [
"Zero fixed ips available.",
"Block Device Mapping is Invalid.",
"Unacceptable CPU info: CPU doesn't have compatibility.%",
"No valid host was found.",
"Flavor's disk is too small for requested image.",
"Instance type's disk is too small for requested image.",
"Insufficient compute resources%",
"Requested vCPU limits % are impossible to satisfy for vcpus count %"
],
'hypervisor-disk': [
"%[Errno 30] Read-only file system%",
"%[Errno 13] Permission denied:%",
"%[Errno 28] No space left on device%",
"%[Errno 2] No such file or directory%",
"%Read-only file system%",
"Failed to open file%",
],
'hypervisor-libvirt': [
"Requested operation is not valid: domain is already running",
"operation failed: domain is no longer running",
"Error from libvirt%",
"Connection is closed",
"internal error: client socket is closed",
"unsupported configuration: block I/O throttling not supported with this QEMU binary",
"libvirtError",
"Operation not supported: disk bus 'ide' cannot be hotplugged.",
"internal error: received hangup / error event on socket",
"operation failed: host pci device%",
"Connection to the hypervisor is broken on host%",
"internal error: Unable to reset PCI device%",
"The instance requires a newer hypervisor version than has been provided.",
"internal error: process exited while connecting to monitor%",
"Unable to read from monitor: Connection reset by peer",
"internal error: End of file from monitor",
"Cannot recv data: Connection reset by peer",
"Requested operation is not valid: PCI device%",
"error removing image",
"Failed to bind PCI device%",
"Unable to pre-create chardev file%",
"Requested operation is not valid: No active operation on device%",
"Requested operation is not valid: domain is not running%",
"PCI device request%",
"internal error: Process exited prior to exec: libvirt: error : unable to set AppArmor profile%",
"internal error: early end of file from monitor: possible problem:%",
"Unable to determine disk bus for%",
"Domain not found:%",
"An error occurred, but the cause is unknown",
],
'hypervisor-other': [
"Failed to terminate process%",
"internal error: Cannot find suitable CPU model for given data",
"internal error: Unknown CPU model%",
"Instance % doesn't have fixed ip %"
],
'volumes': [
"Requested operation is not valid: target % already exists",
"The supplied device path % is in use.",
"invalid argument: no target device%",
"Invalid input received: Invalid volume%",
"Operation not supported: This type of disk cannot be hot unplugged",
"Volume % could not be found.%",
"No volume Block Device Mapping with id%",
"iSCSI device not found at%",
"No disk at %",
"The supplied device (%) is busy.",
"The supplied disk path % already exists%",
"%expected string or buffer%",
"'NoneType' object has no attribute '__getitem__'",
],
'snapshots': [
"operation failed: domain save job: unexpectedly failed",
"Can't retrieve root device path from instance libvirt configuration",
"internal error: unable to execute QEMU command 'drive-mirror': Could not open%",
],
'glance': [
"HTTPInternalServerError (HTTP 500)",
"Image % could not be found.",
"Not authorized for image %",
"IncompleteRead%",
"%Corrupted image%",
"Connection to glance host%",
"Image % is unacceptable: 'qemu-img info' parsing failed.",
"%<title>500 Internal Server Error</title>%",
"%Failed to upload image%",
"%412 Precondition Failed%",
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment