Error Codes¶
An example response error is returned as follows:
{
"error_code": xxxx,//Error code
"error_msg": xxxxx//Error message
}
Table 1 describes the error codes.
Status Code | Error Code | Error Message | Description | Solution |
---|---|---|---|---|
400 | CSBS.0001 | Service over limit | The number of backup policies has reached the upper limit. | Delete an existing backup policy and try again. |
400 | CSBS.6000 | server do not exist | The server does not exist. | Check whether the server exists. |
400 | CSBS.6001 | The server has stopped. | The server has stopped. | Check whether the server has stopped. |
400 | CSBS.6003 | Resource (%s) type (%s) is not support protection. | Currently, only cloud server backup is supported. | Select servers and add them to the backup policy. |
400 | CSBS.6005 | Server (%s) is already in service. | The current server status does not allow backup. | Ensure that the server status allows restoration and try again. |
400 | CSBS.6006 | Server (%s) status (%s) is not allowed to protect. | This type of server does not support backup. | Select servers of a correct type. |
400 | CSBS.6007 | No volume attached to the server (%s) for protect. | Servers without EVS disks do not support backup. | Check whether an EVS disk is attached to the server. |
400 | CSBS.6010 | Volume (%s) attached to server (%s) is shareable volume. | The server does not support backup, because it hosts shared EVS disks. | Remove the shared disk and perform the backup again. |
400 | CSBS.6013 | Resource (%s) type (%s) is not support restoration. | Only server restoration is supported currently. | Select servers for restoration. |
400 | CSBS.6014 | Volume(s) (%s) not found in target server. | The specified EVS disk is not attached to the server to be restored. | Select an EVS disk attached to the server to be restored. |
400 | CSBS.6015 | The server is restoring. | The server in the current status cannot be restored. | Ensure that the server status allows restoration and try again. |
400 | CSBS.9001 | provider invalid | Parameter verification failed. | Enter the correct parameter. |
403 | CSBS.9009 | User is unverified. | The user is not authenticated by real name. Authenticate the user's real name and try again. | Authenticate the user's real name and try again. |
400 | CSBS.9009 | The backup or replication space after reduction cannot be less than the used space. | The backup or replication space after applying for reduction is less than the used space. | Ensure that the remaining space is greater than the used space. |
500 | CSBS.9998 | System not support | Service unavailable | Try later or contact technical support. |
500 | CSBS.9999 | %s failed | System internal error | Try later or contact technical support. |
400 | CSBS.0002 | Volume of services from different storagetype | The volumes of the server have different storage types. (Not used currently.) | Use the same type of volumes. |
500 | CSBS.1001 | The policy is executing backup. | The backup task cannot be executed, because a manual backup task is being executed. | Re-execute the backup task after the manual backup task is complete. |
400 | CSBS.2003 | item in executing | The selected backup is in the Backing up, Restoring, or Deleting state. | Try again after the task is complete. |
400 | CSBS.2004 | item in plan executing | The policy is being executed for backup. Try again after the backup is complete. | Try again after the task is complete. |
404 | CSBS.3001 | Checkpoint_item (%s) is not found. | The backup does not exist. | Check whether the backup exists. |
400 | CSBS.6027 | The AZ where the resource (%s) is located does not support backup. | The AZ to which the ECS belongs does not support backup. | Contact the administrator to reconfigure the AZ. |
500 | CSBS.6030 | auto plan executing | The backup task cannot be executed, because an automatic backup task is being executed. | Re-execute the backup task after the automatic backup task is complete. |
400 | CSBS.6031 | manual copy executing | The replication task cannot be executed, because a manual replication task is being executed. | Re-execute the replication task after the manual replication task is complete. |
500 | CSBS.6032 | plan has no resource backup | There are no servers that can be backed up in the backup policy. | Bind the policy to servers or wait until the bound server is restored to a state that supports backup. |
400 | CSBS.6033 | Service type of volume %s(belong to server %s) is dss. | A server with DSS disks cannot be backed up. | Check whether a dedicated storage disk has been attached to the server. |
400 | CSBS.6061 | volume of server in this pod does not support backup | The current server does not support backup or restoration. | Deselect the disks that do not support backup and retry. |
500 | CSBS.8001 | The backup status is not allowed to create image | Backups in the current status cannot be registered as images. | Try later or contact technical support. |
400 | CSBS.8007 | The backup {checkpoint_item_id} has register to image, can't be delete | An image has been created by using the backup and the backup cannot be deleted. | Delete the created image first and then the backup. |
500 | CSBS.8008 | The backup {checkpoint_item_id}'s status is not allowed query | The current backup status does not support query. | Check whether the backup exists. |
500 | CSBS.8009 | The backup has not system disk backup is not allowed to create image | The backup does not contain the system disk data and cannot be used to create an image. | Check whether the backup contains a system disk. |
400 | CSBS.9006 | Quota exceeded for resources: %s | Insufficient quota | Contact the administrator to change the quota or delete the backups that are no longer needed. |
500 | CSBS.1002 | resource_in_protecting | The selected server is being backed up. (Not used currently.) | Try again after the backup task is complete. |
500 | CSBS.2001 | item in plan is executing | A task is being executed by using this backup policy. (Not used currently.) | Try again after the task is complete. |
404 | CSBS.3000 | plan not found | The backup policy does not exist. | Check whether the backup policy exists. |
500 | CSBS.5001 | Scheduel operation status can't be set unable | Failed to stop the policy. | Check the backup policy status. |
400 | CSBS.6004 | Server (%s) is already in service. | The server has been bound to a backup policy and cannot be bound again. | Check whether the server has been bound to a backup policy. |
400 | CSBS.9007 | duplicate service name | The backup policy name already exists. | Change the name and try again. |
400 | CSBS.7000 | request tags exceed the max allowed count: %s. | The resource's tags have reached the upper limit. | Delete unnecessary tags and try again. |
404 | CSBS.7001 | The backup tag does not exist. | The resource tag to be deleted does not exist. | Refresh the page to check whether the tag has been deleted. |
400 | CSBS.4000 | checkpoint item not available | The current backup status does not allow restoration. | Try again later or contact technical support. |
400 | CSBS.6016 | can not restore server type is not allow | This type of server does not support restoration. | Select servers of a correct type. |
400 | CSBS.6017 | Can not find backup(s) (%s) in checkpoint item (%s). | The specified backup disk is not in the specified backup. | Select a backup disk in the specified backup for restoration. |
400 | CSBS.6018 | Not assign backup(s) (%s) to volume(s), partial restore is not supported." | The system does not support the restoration of some backup disks in the backup. | Select all backup disks in the backup for restoration. |
500 | CSBS.6019 | The source server (%s) type (%s) is not the same as the target server (%s) type (%s). | The type of the target server is different from that of the source server. | Select a target server of the same type as the source server. |
400 | CSBS.6020 | No volume attached to the server (%s) for restore. | Servers without EVS disks do not support restoration. | Check whether an EVS disk is attached to the server. |
400 | CSBS.6021 | Volume (%s) attached to server (%s) is shareable volume. | The backup cannot be restored to a shared EVS disk of the server. | Restore the backup to a non-shared EVS disk of the server. |
500 | CSBS.6023 | Can not restore data volume to system volume. server id is (%s). | The backup for a data disk cannot be restored to a system disk of the server. | Restore the backup to a data disk of the server. |
400 | CSBS.6024 | Target volume (%s) size (%s) small than volume backup (%s) size (%s). | Restoration cannot be executed because the size of the disk attached to the server is smaller than the backup size. | Expand the disk and try again, or restore backup data to a disk that has a larger size than the backup. |
400 | CSBS.6025 | The AZ of local checkpoint item (%s) is not support to restore the resource (%s). | Restoration is not supported between the AZ to which the specified backup belongs and the AZ to which the server belongs. | Contact the administrator to reconfigure the AZ. |
400 | CSBS.9008 | Checkpoint Item Status Not Support Create VM | Only backups in the Available state can be used to create ECSs. | Check whether the backup is available. |
404 | CSBS.6040 | task not found | The backup job to be deleted does not exist. | Check whether the backup job exists. |
Karbor native APIs:
http://developer.openstack.org/api-ref/data-protection-orchestration/v1/index.html