Skip to content
Cyril Peponnet edited this page Apr 4, 2015 · 4 revisions

XMPP error codes

This should happen sometimes. In case of error 501 please check agent log files and report.

Legacy error code	Meaning	XMPP error condition	XMPP error type
302	Redirect	<redirect/> (temporary) or <gone/> (permanent)	modify
400	Bad Request	<bad-request/> [2]	modify
401	Not Authorized	<not-authorized/> [3]	auth
402	Payment Required	<payment-required/>	auth
403	Forbidden	<forbidden/>	auth
404	Not Found	<item-not-found/> [4]	cancel
405	Not Allowed	<not-allowed/>	cancel
406	Not Acceptable	<not-acceptable/> [5]	modify
407	Registration Required	<registration-required/>	auth
408	Request Timeout	<remote-server-timeout/>	wait
409	Conflict	<conflict/>	cancel
500	Internal Server Error	<internal-server-error/> [6]	wait
501	Not Implemented	<feature-not-implemented/>	cancel
502	Remote Server Error	<service-unavailable/>	wait
503	Service Unavailable	<service-unavailable/>	cancel
504	Remote Server Timeout	<remote-server-timeout/>	wait
510	Disconnected	<service-unavailable/>

Archipel Core

Archipel entity error codes

ARCHIPEL_ERROR_CODE_MESSAGE                         = -3
ARCHIPEL_ERROR_CODE_GET_PERMISSIONS                 = -4
ARCHIPEL_ERROR_CODE_SET_PERMISSIONS                 = -5
ARCHIPEL_ERROR_CODE_LIST_PERMISSIONS                = -6
ARCHIPEL_ERROR_CODE_ADD_SUBSCRIPTION                = -8
ARCHIPEL_ERROR_CODE_REMOVE_SUBSCRIPTION             = -9

Protocols

Avatar protocol error codes

ARCHIPEL_ERROR_CODE_AVATARS                         = -1
ARCHIPEL_ERROR_CODE_SET_AVATAR                      = -2

Roster protocol error codes

ARCHIPEL_ERROR_CODE_GET_ROSTER                      = -450001

Tag protocol error codes

ARCHIPEL_ERROR_CODE_SET_TAGS                        = -7

Archipel Agent base

Hypervisor error codes

ARCHIPEL_ERROR_CODE_HYPERVISOR_ALLOC                = -9001
ARCHIPEL_ERROR_CODE_HYPERVISOR_FREE                 = -9002
ARCHIPEL_ERROR_CODE_HYPERVISOR_ROSTER               = -9003
ARCHIPEL_ERROR_CODE_HYPERVISOR_CLONE                = -9004
ARCHIPEL_ERROR_CODE_HYPERVISOR_IP                   = -9005
ARCHIPEL_ERROR_CODE_HYPERVISOR_LIBVIRT_URI          = -9006
ARCHIPEL_ERROR_CODE_HYPERVISOR_ALLOC_MIGRATION      = -9007
ARCHIPEL_ERROR_CODE_HYPERVISOR_FREE_MIGRATION       = -9008
ARCHIPEL_ERROR_CODE_HYPERVISOR_CAPABILITIES         = -9009

Virtual machine error codes

ARCHIPEL_ERROR_CODE_VM_CREATE                       = -1001
ARCHIPEL_ERROR_CODE_VM_SUSPEND                      = -1002
ARCHIPEL_ERROR_CODE_VM_RESUME                       = -1003
ARCHIPEL_ERROR_CODE_VM_DESTROY                      = -1004
ARCHIPEL_ERROR_CODE_VM_SHUTDOWN                     = -1005
ARCHIPEL_ERROR_CODE_VM_REBOOT                       = -1006
ARCHIPEL_ERROR_CODE_VM_DEFINE                       = -1007
ARCHIPEL_ERROR_CODE_VM_UNDEFINE                     = -1008
ARCHIPEL_ERROR_CODE_VM_INFO                         = -1009
ARCHIPEL_ERROR_CODE_VM_XMLDESC                      = -1011
ARCHIPEL_ERROR_CODE_VM_LOCKED                       = -1012
ARCHIPEL_ERROR_CODE_VM_MIGRATE                      = -1013
ARCHIPEL_ERROR_CODE_VM_IS_MIGRATING                 = -1014
ARCHIPEL_ERROR_CODE_VM_AUTOSTART                    = -1015
ARCHIPEL_ERROR_CODE_VM_MEMORY                       = -1016
ARCHIPEL_ERROR_CODE_VM_NETWORKINFO                  = -1017
ARCHIPEL_ERROR_CODE_VM_HYPERVISOR_CAPABILITIES      = -1019
ARCHIPEL_ERROR_CODE_VM_FREE                         = -1020
ARCHIPEL_ERROR_CODE_VM_MIGRATING                    = -43

Archipel Plugins

Geolocalization module error codes

ARCHIPEL_ERROR_CODE_LOCALIZATION_GET                = -9001

Health plugin error codes

ARCHIPEL_ERROR_CODE_HEALTH_HISTORY                  = -8001
ARCHIPEL_ERROR_CODE_HEALTH_INFO                     = -8002
ARCHIPEL_ERROR_CODE_HEALTH_LOG                      = -8003

Hypervisor networks plugin error codes

ARCHIPEL_ERROR_CODE_NETWORKS_DEFINE                 = -7001
ARCHIPEL_ERROR_CODE_NETWORKS_UNDEFINE               = -7002
ARCHIPEL_ERROR_CODE_NETWORKS_CREATE                 = -7003
ARCHIPEL_ERROR_CODE_NETWORKS_DESTROY                = -7004
ARCHIPEL_ERROR_CODE_NETWORKS_GET                    = -7005
ARCHIPEL_ERROR_CODE_NETWORKS_BRIDGES                = -7006
ARCHIPEL_ERROR_CODE_NETWORKS_GETNAMES               = -7007
ARCHIPEL_ERROR_CODE_NETWORKS_GETNICS                = -7008

Snapshoting plugin error codes

ARCHIPEL_ERROR_CODE_SNAPSHOT_TAKE                   = -2001
ARCHIPEL_ERROR_CODE_SNAPSHOT_GET                    = -2002
ARCHIPEL_ERROR_CODE_SNAPSHOT_CURRENT                = -2003
ARCHIPEL_ERROR_CODE_SNAPSHOT_DELETE                 = -2004
ARCHIPEL_ERROR_CODE_SNAPSHOT_REVERT                 = -2005
ARCHIPEL_ERROR_CODE_SNAPSHOT_NO_DRIVE               = -2006

Storage plugin error codes

ARCHIPEL_ERROR_CODE_DRIVES_CREATE                   = -3001
ARCHIPEL_ERROR_CODE_DRIVES_DELETE                   = -3002
ARCHIPEL_ERROR_CODE_DRIVES_GET                      = -3003
ARCHIPEL_ERROR_CODE_DRIVES_GETISO                   = -3004
ARCHIPEL_ERROR_CODE_DRIVES_CONVERT                  = -3005
ARCHIPEL_ERROR_CODE_DRIVES_RENAME                   = -3006

VMCasting plugin error codes

Hypervisor vmcasting subpluging error codes

ARCHIPEL_ERROR_CODE_VMCASTS_GET                     = -6001
ARCHIPEL_ERROR_CODE_VMCASTS_REGISTER                = -6002
ARCHIPEL_ERROR_CODE_VMCASTS_UNREGISTER              = -6003
ARCHIPEL_ERROR_CODE_VMCASTS_DOWNLOADAPPLIANCE       = -6004
ARCHIPEL_ERROR_CODE_VMCASTS_DOWNLOADQUEUE           = -6005
ARCHIPEL_ERROR_CODE_VMCASTS_GETAPPLIANCES           = -6006
ARCHIPEL_ERROR_CODE_VMCASTS_DELETEAPPLIANCE         = -6007
ARCHIPEL_ERROR_CODE_VMCASTS_GETINSTALLED            = -6008

Virtual machine vmcasting subpluging error codes

ARCHIPEL_ERROR_CODE_VMAPPLIANCES_INSTALL            = -4001
ARCHIPEL_ERROR_CODE_VMAPPLIANCES_GET                = -4002
ARCHIPEL_ERROR_CODE_VMAPPLIANCES_DETACH             = -4003
ARCHIPEL_ERROR_CODE_VMAPPLIANCES_PACKAGE            = -4004

XMPP Server plugin error codes

ARCHIPEL_ERROR_CODE_XMPPSERVER_MANAGEMENT           = -10000

ARCHIPEL_ERROR_CODE_XMPPSERVER_GROUP_ADDUSERS       = -20001
ARCHIPEL_ERROR_CODE_XMPPSERVER_GROUP_CREATE         = -20002
ARCHIPEL_ERROR_CODE_XMPPSERVER_GROUP_DELETE         = -20003
ARCHIPEL_ERROR_CODE_XMPPSERVER_GROUP_DELETEUSERS    = -20004
ARCHIPEL_ERROR_CODE_XMPPSERVER_GROUP_LIST           = -20005

ARCHIPEL_ERROR_CODE_XMPPSERVER_USERS_CHANGEPASSWORD = -30001
ARCHIPEL_ERROR_CODE_XMPPSERVER_USERS_FILTER         = -30002
ARCHIPEL_ERROR_CODE_XMPPSERVER_USERS_LIST           = -30003
ARCHIPEL_ERROR_CODE_XMPPSERVER_USERS_REGISTER       = -30004
ARCHIPEL_ERROR_CODE_XMPPSERVER_USERS_UNREGISTER     = -30005
Clone this wiki locally