Error Codes
An example response error is returned as follows:
{
"error_code": xxxx,//Error code
"error_msg": xxxxx//Error description
} Table 1 describes the error codes.
| Module | HTTP Status Code | Error Code | Description | Error Message | Measure |
|---|---|---|---|---|---|
| Shared | 400 | CSBS.0001 | The number of backup policies has reached the upper limit. | Service over limit | Delete an existing backup policy and try again. |
| 400 | CSBS.6000 | The server does not exist. | server do 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 | Currently, only cloud server backup is supported. | Resource (%s) type (%s) is not support protection. | Select servers and add them to the backup policy. | |
| 400 | CSBS.6005 | The current server status does not allow backup. | Server (%s) is already in service. | Ensure that the server status allows restoration and try again. | |
| 400 | CSBS.6006 | This type of server does not support backup. | Server (%s) status (%s) is not allowed to protect. | Select servers of a correct type. | |
| 400 | CSBS.6007 | Servers without EVS disks do not support backup. | No volume attached to the server (%s) for protect. | Check whether an EVS disk is attached to the server. | |
| 400 | CSBS.6010 | The server does not support backup, because it hosts shared EVS disks. | Volume (%s) attached to server (%s) is shareable volume. | Remove the shared disk and perform the backup again. | |
| 400 | CSBS.6013 | Only server restoration is supported currently. | Resource (%s) type (%s) is not support restoration. | Select servers for restoration. | |
| 400 | CSBS.6014 | The specified EVS disk is not attached to the server to be restored. | Volume(s) (%s) not found in target server. | Select an EVS disk attached to the server to be restored. | |
| 400 | CSBS.6015 | The server in the current status cannot be restored. | The server is restoring. | Ensure that the server status allows restoration and try again. | |
| 400 | CSBS.9001 | Parameter verification failed. | provider invalid | Enter the correct parameter. | |
| 403 | CSBS.9009 | The user is not authenticated by real name. Authenticate the user's real name and try again. | User is unverified. | Authenticate the user's real name and try again. | |
| 400 | CSBS.9009 | The backup or replication space after applying for reduction is less than the used space. | The backup or replication space after reduction cannot be less than the used space. | Ensure that the remaining space is greater than the used space. | |
| 500 | CSBS.9998 | Service unavailable | System not support | Try later or contact technical support. | |
| 500 | CSBS.9999 | System internal error | %s failed | Try later or contact technical support. | |
| 400 | CSBS.0002 | The volumes of the server have different storage types. (Not used currently.) | Volume of services from different storagetype | Use the same type of volumes. | |
| 400 | BackupService.4003 | Your data has been migrated successfully. Go to the CBR console page for further operations. The current page will no longer provide services. | Your data has been migrated successfully. Go to the CBR console page for further operations. The current page will no longer provide services. | Go to CBR Console to use the backup function. | |
| 400 | BackupService.4008 | This service is available for existing users only. If you are new users, go to CBR Console to use Cloud Backup and Recovery. | This service is available for existing users only. If you are new users, go to CBR Console to use Cloud Backup and Recovery. | Go to CBR Console to use the backup function. | |
| Backup management | 500 | CSBS.1001 | The backup task cannot be executed, because a manual backup task is being executed. | The policy is executing backup. | Re-execute the backup task after the manual backup task is complete. |
| 400 | CSBS.2003 | The selected backup is in the Backing up, Restoring, or Deleting state. | item in executing | Try again after the task is complete. | |
| 400 | CSBS.2004 | The policy is being executed for backup. Try again after the backup is complete. | item in plan executing | Try again after the task is complete. | |
| 404 | CSBS.3001 | The backup does not exist. | Checkpoint_item (%s) is not found. | Check whether the backup exists. | |
| 500 | CSBS.5001 | The replication is being executed. | copy executing | Wait until the replication is complete and try again. | |
| 400 | CSBS.6027 | The AZ to which the ECS belongs does not support backup. | The AZ where the resource (%s) is located does not support backup. | Contact the administrator to reconfigure the AZ. | |
| 500 | CSBS.6030 | The backup task cannot be executed, because an automatic backup task is being executed. | auto plan executing | Re-execute the backup task after the automatic backup task is complete. | |
| 400 | CSBS.6031 | The replication task cannot be executed, because a manual replication task is being executed. | manual copy executing | Re-execute the replication task after the manual replication task is complete. | |
| 500 | CSBS.6032 | There are no servers that can be backed up in the backup policy. | plan has no resource backup | Bind the policy to servers or wait until the bound server is restored to a state that supports backup. | |
| 400 | CSBS.6033 | A server with DSS disks cannot be backed up. | Service type of volume %s(belong to server %s) is dss. | Check whether a dedicated storage disk has been attached to the server. | |
| 400 | CSBS.6034 | A server with DESS disks cannot be backed up. | Service type of volume %s(belong to server %s) is dess. | Check whether a dedicated enterprise storage disk has been attached to the server. | |
| 400 | CSBS.6061 | The current server does not support backup or restoration. | volume of server in this pod does not support backup | Deselect the disks that do not support backup and retry. | |
| 500 | CSBS.8001 | Backups in the current status cannot be registered as images. | The backup status is not allowed to create image | Try later or contact technical support. | |
| 400 | CSBS.8007 | An image has been created by using the backup and the backup cannot be deleted. | The backup {checkpoint_item_id} has register to image, can't be delete | Delete the created image first and then the backup. | |
| 500 | CSBS.8008 | The current backup status does not support query. | The backup {checkpoint_item_id}'s status is not allowed query | Check whether the backup exists. | |
| 500 | CSBS.8009 | The backup does not contain the system disk data and cannot be used to create an image. | The backup has not system disk backup is not allowed to create image | Check whether the backup contains a system disk. | |
| 500 | CSBS.8012 | Replicas cannot be used for replication. | The destination region %(destination_region) is not supported. | Check whether the replica is a copy. | |
| 500 | CSBS.8014 | The policy is being used for replication. Try later. | The policy is replicating to {region}. | The policy is being used for replication. Try later. | |
| 500 | CSBS.8015 | The backup is being replicated or has been replicated to the destination region. | Backup %(backup_id)s no need to replicate to %(region)s, the replication record status is: %(record_status)s. | The backup is being replicated or has been replicated to the destination region. | |
| 400 | CSBS.8017 | Insufficient permission to replicate the target server to this project. | Do not support replicate to the given project. | Insufficient permission to replicate the target server to this project. Check the permission. | |
| 400 | CSBS.8021 | The backup is not in the available state and cannot be used for replication. | The checkpoint item %(backup_id)s not support replicate. item status: %(backup_status)s. | Check the status of the backup. | |
| 500 | CSBS.8022 | Replicas cannot be used for replication. | The type of %(image_type)s for backup %(backup_id)s is not support replicate. | Check whether the backup is a replica. | |
| 500 | CSBS.8023 | Replication is not allowed, because the backup is not for an ECS. | Replication is not allowed, because the backup's resource type is not support. | Check whether the backup is an ECS backup. | |
| 500 | CSBS.8024 | Replication is not allowed, because the source ECS of the backup does not contain any system disk. | Replication is not allowed, because the resource of the backup does not contain any system disk. | Check whether the ECS to be backed up contains system disks. | |
| 500 | CSBS.8025 | Replication is not supported because whether the backup has been replicated to the destination region cannot be identified. | Can not check replication of backup is exist in region or not. | Check whether the backup has been replicated to the destination region. | |
| 500 | CSBS.8026 | Backup cannot be performed due to insufficient dedicated backup capacity. | The project %s dec used capacity is %s, dec capacity is %s. | Check whether the dedicated backup capacity is sufficient. | |
| 500 | CSBS.8026 | VBS does not support cross-region replication. | volume backup is not supported replication. | Check whether the backup is an EVS backup. | |
| 400 | CSBS.9006 | Insufficient quota | Quota exceeded for resources: %s | Contact the administrator to change the quota or delete the backups that are no longer needed. | |
| 500 | CSBS.1002 | The selected server is being backed up. (Not used currently.) | resource_in_protecting | Try again after the backup task is complete. | |
| 500 | CSBS.2001 | A task is being executed by using this backup policy. (Not used currently.) | item in plan is executing | Try again after the task is complete. | |
| Backup policy management | 404 | CSBS.3000 | The backup policy does not exist. | plan not found | Check whether the backup policy exists. |
| 500 | CSBS.5001 | Failed to stop the policy. | Scheduel operation status can't be set unable | Check the backup policy status. | |
| 400 | CSBS.6004 | The server has been bound to a backup policy and cannot be bound again. | Server (%s) is already in service. | Check whether the server has been bound to a backup policy. | |
| 400 | CSBS.9007 | The backup policy name already exists. | duplicate service name | Change the name and try again. | |
| Replication management | 500 | CSBS.6028 | Quota information failed to be obtained. | Update backup or replication space failure. | Check the network connection or contact technical support. |
| Restoration management | 400 | CSBS.4000 | The current backup status does not allow restoration. | checkpoint item not available | Try again later or contact technical support. |
| 400 | CSBS.6016 | This type of server does not support restoration. | can not restore server type is not allow | Select servers of a correct type. | |
| 400 | CSBS.6017 | The specified backup disk is not in the specified backup. | Can not find backup(s) (%s) in checkpoint item (%s). | Select a backup disk in the specified backup for restoration. | |
| 400 | CSBS.6018 | The system does not support the restoration of some backup disks in the backup. | Not assign backup(s) (%s) to volume(s), partial restore is not supported." | Select all backup disks in the backup for restoration. | |
| 500 | CSBS.6019 | The type of the target server is different from that of the source server. | The source server (%s) type (%s) is not the same as the target server (%s) type (%s). | Select a target server of the same type as the source server. | |
| 400 | CSBS.6020 | Servers without EVS disks do not support restoration. | No volume attached to the server (%s) for restore. | Check whether an EVS disk is attached to the server. | |
| 400 | CSBS.6021 | The backup cannot be restored to a shared EVS disk of the server. | Volume (%s) attached to server (%s) is shareable volume. | Restore the backup to a non-shared EVS disk of the server. | |
| 500 | CSBS.6023 | The backup for a data disk cannot be restored to a system disk of the server. | Can not restore data volume to system volume. server id is (%s). | Restore the backup to a data disk of the server. | |
| 400 | CSBS.6024 | Restoration cannot be executed because the capacity of the specified EVS disk attached to the server is less than that of the backed-up disk. | Target volume (%s) size (%s) small than volume backup (%s) size (%s). | Expand the EVS disk and try again, or restore data of the backup disk to a disk that has a larger capacity. | |
| 400 | CSBS.6025 | Restoration is not supported between the AZ to which the specified backup belongs and the AZ to which the server belongs. | The AZ of local checkpoint item (%s) is not support to restore the resource (%s). | Contact the administrator to reconfigure the AZ. | |
| 400 | CSBS.9008 | Only backups in the Available state can be used to create ECSs. | Checkpoint Item Status Not Support Create VM | Check whether the backup is available. | |
| Task management | 404 | CSBS.6040 | The backup job to be deleted does not exist. | task not found | Check whether the backup job exists. |
Karbor native APIs:
http://developer.openstack.org/api-ref/data-protection-orchestration/v1/index.html
Last Article: Status Codes
Next Article: Obtaining a Project ID
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.