Files
3cloud-backend/conf/errors.enum

35 lines
2.4 KiB
Plaintext

{
"WORKER_UNREACHABLE": "WebSocket server POST to worker failed — worker offline or disconnected",
"WORKER_REJECTED_TASK": "Worker returned non-201 status on task acceptance",
"PORT_CREATION_FAILED": "network_obj.create_port() raised an error during dispatch",
"NSCONTROLLER_DISPATCH_FAILED": "ensure_nscontroller_on_host() failed during dispatch",
"DNS_UPDATE_FAILED": "send_dns_updates_for_vdc() failed",
"GPU_ALLOCATION_FAILED": "schedule_gpu_for_vm() returned None — no GPU slot on host",
"METADATA_PERSIST_FAILED": "VmMetadata DB insert failed during dispatch",
"LIBVIRT_CONNECTION_FAILED": "Could not open qemu:///system connection on the host",
"LIBVIRT_DEFINE_FAILED": "defineXML failed — host state, lock, or permission issue",
"LIBVIRT_START_FAILED": "domain.create() failed after XML was defined",
"KVM_NOT_AVAILABLE": "No KVM domain found in libvirt capabilities on this host",
"NO_MACHINE_TYPE": "No pc-q35 machine type available — old QEMU on host",
"VFIO_ATTACH_TIMEOUT": "VFIO bind operation hung for >45 seconds",
"VFIO_ATTACH_FAILED": "vfio-pci driver bind failed for PCI passthrough device",
"LOCAL_VOLUME_DIR_FAILED": "Could not create /var/lib/.../volumes directory on host",
"LOCAL_VOLUME_CREATE_FAILED": "qemu-img create failed — likely insufficient disk space",
"VOLUME_CONVERT_FAILED": "qemu-img convert failed during image preparation",
"VOLUME_RESIZE_FAILED": "qemu-img resize failed",
"LVM_VG_NOT_CONFIGURED": "LVM_VG_NAME missing in worker_settings.json",
"LVM_VOLUME_CREATE_FAILED": "lvcreate failed — VG full or LVM error",
"IMAGE_DOWNLOAD_FAILED": "HTTP fetch of boot image failed — may be host network issue",
"CEPH_INIT_FAILED": "Ceph processor could not initialize on host — check Ceph settings",
"CEPH_CONNECT_FAILED": "rados/rbd connection to Ceph cluster failed",
"CEPH_EXPORT_FAILED": "rbd export operation failed",
"OVS_PORT_CREATE_FAILED": "OVS port setup failed on host",
"VXLAN_SETUP_FAILED": "VxLAN interface creation failed on host",
"SDN_UPDATE_FAILED": "NSController SDN push failed",
"UNKNOWN": "Unclassified worker error — check last_error_reason for raw message"
}