Module: VagrantPlugins::ProviderLibvirt::Util::ErrorCodes

Defined in:
lib/vagrant-libvirt/util/error_codes.rb

Constant Summary collapse

VIR_ERR_OK =
0
VIR_ERR_INTERNAL_ERROR =

internal error

1
VIR_ERR_NO_MEMORY =

memory allocation failure

2
VIR_ERR_NO_SUPPORT =

no support for this function

3
VIR_ERR_UNKNOWN_HOST =

could not resolve hostname

4
VIR_ERR_NO_CONNECT =

can’t connect to hypervisor

5
VIR_ERR_INVALID_CONN =

invalid connection object

6
VIR_ERR_INVALID_DOMAIN =

invalid domain object

7
VIR_ERR_INVALID_ARG =

invalid function argument

8
VIR_ERR_OPERATION_FAILED =

a command to hypervisor failed

9
VIR_ERR_GET_FAILED =

a HTTP GET command to failed

10
VIR_ERR_POST_FAILED =

a HTTP POST command to failed

11
VIR_ERR_HTTP_ERROR =

unexpected HTTP error code

12
VIR_ERR_SEXPR_SERIAL =

failure to serialize an S-Expr

13
VIR_ERR_NO_XEN =

could not open Xen hypervisor control

14
VIR_ERR_XEN_CALL =

failure doing an hypervisor call

15
VIR_ERR_OS_TYPE =

unknown OS type

16
VIR_ERR_NO_KERNEL =

missing kernel information

17
VIR_ERR_NO_ROOT =

missing root device information

18
VIR_ERR_NO_SOURCE =

missing source device information

19
VIR_ERR_NO_TARGET =

missing target device information

20
VIR_ERR_NO_NAME =

missing domain name information

21
VIR_ERR_NO_OS =

missing domain OS information

22
VIR_ERR_NO_DEVICE =

missing domain devices information

23
VIR_ERR_NO_XENSTORE =

could not open Xen Store control

24
VIR_ERR_DRIVER_FULL =

too many drivers registered

25
VIR_ERR_CALL_FAILED =

not supported by the drivers (DEPRECATED)

26
VIR_ERR_XML_ERROR =

an XML description is not well formed or broken

27
VIR_ERR_DOM_EXIST =

the domain already exist

28
VIR_ERR_OPERATION_DENIED =

operation forbidden on read-only connections

29
VIR_ERR_OPEN_FAILED =

failed to open a conf file

30
VIR_ERR_READ_FAILED =

failed to read a conf file

31
VIR_ERR_PARSE_FAILED =

failed to parse a conf file

32
VIR_ERR_CONF_SYNTAX =

failed to parse the syntax of a conf file

33
VIR_ERR_WRITE_FAILED =

failed to write a conf file

34
VIR_ERR_XML_DETAIL =

detail of an XML error

35
VIR_ERR_INVALID_NETWORK =

invalid network object

36
VIR_ERR_NETWORK_EXIST =

the network already exist

37
VIR_ERR_SYSTEM_ERROR =

general system call failure

38
VIR_ERR_RPC =

some sort of RPC error

39
VIR_ERR_GNUTLS_ERROR =

error from a GNUTLS call

40
VIR_WAR_NO_NETWORK =

failed to start network

41
VIR_ERR_NO_DOMAIN =

domain not found or unexpectedly disappeared

42
VIR_ERR_NO_NETWORK =

network not found

43
VIR_ERR_INVALID_MAC =

invalid MAC address

44
VIR_ERR_AUTH_FAILED =

authentication failed

45
VIR_ERR_INVALID_STORAGE_POOL =

invalid storage pool object

46
VIR_ERR_INVALID_STORAGE_VOL =

invalid storage vol object

47
VIR_WAR_NO_STORAGE =

failed to start storage

48
VIR_ERR_NO_STORAGE_POOL =

storage pool not found

49
VIR_ERR_NO_STORAGE_VOL =

storage volume not found

50
VIR_WAR_NO_NODE =

failed to start node driver

51
VIR_ERR_INVALID_NODE_DEVICE =

invalid node device object

52
VIR_ERR_NO_NODE_DEVICE =

node device not found

53
VIR_ERR_NO_SECURITY_MODEL =

security model not found

54
VIR_ERR_OPERATION_INVALID =

operation is not applicable at this time

55
VIR_WAR_NO_INTERFACE =

failed to start interface driver

56
VIR_ERR_NO_INTERFACE =

interface driver not running

57
VIR_ERR_INVALID_INTERFACE =

invalid interface object

58
VIR_ERR_MULTIPLE_INTERFACES =

more than one matching interface found

59
VIR_WAR_NO_NWFILTER =

failed to start nwfilter driver

60
VIR_ERR_INVALID_NWFILTER =

invalid nwfilter object

61
VIR_ERR_NO_NWFILTER =

nw filter pool not found

62
VIR_ERR_BUILD_FIREWALL =

nw filter pool not found

63
VIR_WAR_NO_SECRET =

failed to start secret storage

64
VIR_ERR_INVALID_SECRET =

invalid secret

65
VIR_ERR_NO_SECRET =

secret not found

66
VIR_ERR_CONFIG_UNSUPPORTED =

unsupported configuration construct

67
VIR_ERR_OPERATION_TIMEOUT =

timeout occurred during operation

68
VIR_ERR_MIGRATE_PERSIST_FAILED =

a migration worked, but making the VM persist on the dest host failed

69
VIR_ERR_HOOK_SCRIPT_FAILED =

a synchronous hook script failed

70
VIR_ERR_INVALID_DOMAIN_SNAPSHOT =

invalid domain snapshot

71
VIR_ERR_NO_DOMAIN_SNAPSHOT =

domain snapshot not found

72
VIR_ERR_INVALID_STREAM =

stream pointer not valid

73
VIR_ERR_ARGUMENT_UNSUPPORTED =

valid API use but unsupported by the given driver

74
VIR_ERR_STORAGE_PROBE_FAILED =

storage pool probe failed

75
VIR_ERR_STORAGE_POOL_BUILT =

storage pool already built

76
VIR_ERR_SNAPSHOT_REVERT_RISKY =

force was not requested for a risky domain snapshot revert

77
VIR_ERR_OPERATION_ABORTED =

operation on a domain was canceled/aborted by user

78
VIR_ERR_AUTH_CANCELLED =

authentication cancelled

79
VIR_ERR_NO_DOMAIN_METADATA =

The metadata is not present

80
VIR_ERR_MIGRATE_UNSAFE =

Migration is not safe

81
VIR_ERR_OVERFLOW =

integer overflow

82
VIR_ERR_BLOCK_COPY_ACTIVE =

action prevented by block copy job

83
VIR_ERR_OPERATION_UNSUPPORTED =

The requested operation is not supported

84
VIR_ERR_SSH =

error in ssh transport driver

85
VIR_ERR_AGENT_UNRESPONSIVE =

guest agent is unresponsive, not running or not usable

86
VIR_ERR_RESOURCE_BUSY =

resource is already in use

87
VIR_ERR_ACCESS_DENIED =

operation on the object/resource was denied

88
VIR_ERR_DBUS_SERVICE =

error from a dbus service

89
VIR_ERR_STORAGE_VOL_EXIST =

the storage vol already exists

90