Updated on 2022-02-22 GMT+08:00

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.

Table 1 Error code description

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.

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.

  

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.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.

  

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.

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