• 沒有找到結果。

背景信息

● 接口返回的错误码与Error Message不具有一一对应关系,表中只是列出比较常见 的一种Error Message。

● 本服务接口以异步接口居多,有的错误码是在查询任务的返回体中体现的,HTTP 状态码有可能不是很准确。

● 本服务对网络、存储等服务具有强依赖性,Error Message显示依赖服务的错误消 息时,处理措施需要联系技术支持。

说明 Error Message 处理措施

400 BMS.

0001 请求数据错误。 Fail to parse request, reason:

未上线。 The BMS service

is unavailable. 服务当前不可用,请选 择合适可用的Region。

400 BMS.

0003 请求数据错误。 Create BareMetal Server error, request is null.

请参考返回的Error Message信息检查请求 体。

400 BMS.

0004 权限不足。 Role check fail,

reason: %s. 请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0005 权限不足。 Role check fail, reason: You do not have permission or your balance is insufficient.

请参考返回的Error Message,或者联系技 术支持。

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

0008 规格查询失败。 Fail to query flavor [%s],

0006 创建Job失败。 Fail to operate

baremetal server. 请参考返回的Error Message,或者联系技

0010 镜像查询失败。 Fail to query image [%s], be used to apply for BMSs, %s. addresses in the selected

0013 Port查询失败。 Fail to query ports by subnet [%s], reason: %s.

The specified IP address conflicts with an existing IP address in subnet[%s].

请修改网卡IP。

400 BMS.

0015 网卡查询失败。 Fail to query subnet, reason:

不足。 The number[%d]

of EIPs has reached the maximum[%d]

allowed. Apply for a higher quota and try again.

EIP配额不足,请申请扩 大EIP配额。

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

0218 创建订单失败。 Fail to create

order, reason: %s. 请参考返回的Error Message,或者联系技

Fail to check chargingMode, is illegal, reason:

%s.

0023 查询配额失败。 Fail to query

limits, reason: %s 请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0025 裸金属服务器的

个数超过配额。 The number of cloud servers has reached the

The number of CPU cores used by all cloud servers has

内存超过配额。 The memory space used by all cloud servers has reached the maximum allowed.

请申请扩大配额。

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

0028 裸金属服务器的 个数和CPU个数 超过配额。

The number of CPU cores used by all cloud servers and that of cloud servers have reached the maximum space used by all cloud servers and the number of cloud servers have reached the maximum number of CPU cores used by all cloud servers have reached the maximum

The number of cloud servers, the memory space used by all cloud servers, and the number of CPU cores used by all cloud servers have reached the maximum

Token check fail. 请参考返回的Error Message,或者联系技

Fail to check

roles, reason: %s. 请参考返回的Error Message,或者联系技

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

0047 系统盘参数异

常。 Root volume is illegal, reason:

败。 Query keypair fail, reason is:

%s.

挂载卷。 The image does not support attach volume.

请联系技术支持。

400 BMS.

0103 该卷不存在。 Attach volume

%s fail, volume info is null.

请核对卷信息是否正

%s fail, data volume can not attach in root volume device.

请选择其他挂载点。

400 BMS.

0105 挂载点不合法。 Attach volume

%s fail, device is illegal.

%s fail, volume's az is not equal with server's az.

请确保数据卷和裸金属

%s fail, root volume does not match the VM, do not change image.

Volume can only be attached when server %s stopped or fail, server %s attchment num over limit.

请联系技术支持。

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

1003 卷状态无效。 Attach shareable volume %s fail, volume status is

%s, not available or inuse. volume %s fail, volume status is

%s, not available or inuse.

Server %s info is null or its status or its metadata is null.

请稍候重试或联系技术 支持。

400 BMS.

1007 调用接口失败。 Calling interface

failed 请参考返回的Error Message,或者联系技 术支持。

400 BMS.

1008 卷类型不匹配。 The server[%s] is not HANA server, volume[%s] does not match the server. volume %s fail, volume status is

%s, the volume has been attached to the server.

请重新选择数据卷。

400 BMS.

1011 该数据卷正在挂

载。 Attach shareable volume %s fail, volume status is

%s, not available or inuse. group failed: %s.

or

Query vpcId for subnet failed: %s.

请参考返回的Error Message,或者联系技 术支持。

400 BMS.

3011 系统错误。 Decoded token is

null. 请参考返回的Error Message,或者联系技 术支持。

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

3025 云硬盘类型错

误。 Not support create shareable

没有匹配的卷。 Attach volume fail: the bmsid [%s] in volume metadata is not the same with bmsid [%s] in

The password is illegal, reason:

%s.

请参考密码规则。

400 BMS.

0246 VPC查询失败。 The vpcId[%s] is invalid or not-existing.

法。 All volumes must

be in same type. 请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0203 Volume参数不合 法。

Volume is illegal,

%s. 请参考返回的Error illegal, the num is %d, max num servers is out of range for one quest.

请修改创建或者删除裸 金属服务器的数量。

400 BMS.

0206 名称不合法。 The length of baremetal server

VPC is illegal,

reason: %s. 请参考返回的Error Message,或者联系技 术支持。

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

0208 AZ查询失败。 Fail to get RegionInfo by userdata [%d] is over quota limits [%d].

请修改注入数据。

400 BMS.

0211 密钥不合法。 The image platform is [%s], support

publicKey, reason: the publicKey is illegal, null is not allowed.

Volume %s is not in server %s attach volume list.

请确定该卷是否存在。

400 BMS.

0212 系统过载。 System is overloaded, please try again later.

请稍后重试。

400 BMS.

0213 权限不足。 OBTAZ role verify fail: not allowed role.

请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0214 网卡查询失败。 Query subnet[%s]

0215 创建订单失败。 The response of inquiry order info is null or invalid.

请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0216 提交订单失败。 Submit

order[%s] failed:

Create server fail, reason:

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

0222 主网卡不允许删

除。 primary port can

not be deleted. 请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0223 目前只支持SCSI

磁盘模式。 Only SCSI disks

are supported. 目前只支持SCSI磁盘模 式,请选择该模式。

400 BMS.

0039 裸金属服务器已

经关机。 Server is stopped,

not allow to stop. 请勿重复关机。

400 BMS.

0040 裸金属服务器不

存在。 The server does

not exist. 请参考返回的Error Message,或者联系技

powering on, not allow to %s.

powering off, not allow to %s.

Server is running, not allow to start.

0288 无操作权限。 Policy doesn't allow %s to be t_id can not be empty.

response is null.

请参考返回的Error Message,或者联系技 术支持。

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

Using an existing EIP and creating a new EIP can't

An existing EIP cannot be assigned to the ECSs created in batches.

请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0073 带宽参数为空。 Bandwidth info

in eip is null. 请参考返回的Error Message,或者联系技

0075 带宽ID为空。 Bandwidth info

in eip is null. 请参考返回的Error Message,或者联系技 shared type is whole.

0078 EIP配额不足。 Shared

bandwidth has been bound to

%d EIPs, quota is

%d. bandwidth of the shared type and the id cannot be empty.

请参考返回的Error Message,或者联系技 术支持。

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

0080 子网状态不可

用。 Check subnet

status failed. 请检查子网是否存在,

或者是否是ACTIVE状

Fail to attach volume[%s]:

volume is locked.

请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0054 容量校验失败。 Check capacity fail, the number of capacity is:

[%d], and req num is: [%d].

规格容量不足,请联系 技术支持。

400 BMS.

0055 查询配额失败。 Query capacity fail, Flavor id is [%s], reason: failed to start the BMS.

请联系技术支持。

400 BMS.

3004 创建失败,系统

内部错误。 Failed to create the BMS due to an internal system error.

请联系技术支持。

400 BMS.

3005 创建端口失败。 Failed to create

the port. 请联系技术支持。

400 BMS.

3033 创建系统卷失 败。

Failed to create

the system disk. 请联系技术支持。

400 BMS.

3029 创建系统卷失 败,系统卷状态 异常。

Failed to create the system disk.

The disk status is abnormal.

请联系技术支持。

400 BMS.

3006 创建弹性IP失

败。 Failed to assign the floating IP address.

请联系技术支持。

400 BMS.

3021 创建数据卷失

败。 Failed to create

the data disk. 请联系技术支持。

400 BMS.

3019 挂载数据卷失

败。 Failed to attach

the data disk. 请联系技术支持。

400 BMS.

3038 创建弹性公网IP

失败。 Failed to assign

the EIP. 请联系技术支持。

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

0315 该规格不支持挂

卷。 Disks cannot be attached to a BMS using this flavor[%s].

请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0316 该RAID Level和 RAID类型不匹 配。

RAID level and RAID type do not match.

is empty. 请参考返回的Error Message,或者联系技

This flavor does not support RAID formed by disks of this type.

请参考返回的Error

This flavor does not support RAID formed by disks of this size.

请参考返回的Error and RAID level do not match.

请参考返回的Error does not match that in the flavor.

请参考返回的Error supported by the flavor.

请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0327 仅支持JBOD。 Only JBOD is

supported. 请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0328 仅支持单盘RAID

0。 Only single-disk RAID 0 is

Disk type is

empty. 请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0330 不支持组RAID。 RAID is not

supported. 请参考返回的Error Message,或者联系技 术支持。

HTTP 状态码

返回 值

说明 Error Message 处理措施

400 BMS.

0333 不支持IPv6。 IPv6 is not

supported. 请参考返回的Error Message,或者联系技 术支持。

400 BMS.

0400 镜像不支持

IPv6。 the image[%s] is

not support IPv6. 请参考返回的Error Message,或者联系技 because EVS Disk

%s is frozen.

请参考返回的Error Message,或者联系技 术支持。

400 BMS.

3026 密码不符合规则

要求。 Password does not meet the requirements of

3027 VPC参数不合法。 VPC parameter is

illegal. 请参考返回的Error Message,或者联系技 术支持。

400 BMS.

3028 卷配额异常。 cinder quota

check fail. 请参考返回的Error Message,或者联系技

tenantId in token is not the same with in URL.

请检查租户的token是否

none or multiple passwords

The server[%s] is windows system and can not support remote