错误码列表 本节主要介绍iSCSI Target管理的错误码。 HTTP status 错误码 错误信息 描述 400 CanNotMigrateTarget The target is not available to migrate. 该target无法进行迁移。 400 ExceedThreshold The number of operation cannot exceed value. 操作的数量超阈值。 400 InsufficientServers This method is not allowed because the number of available servers in the cluster is not enough. 集群中可用服务器数量不足,无法操作,请解决后重试。 400 InvalidArgumentConsist Value value at argument failed to satisfy the constraint: Argument must contain Format. 参数格式不符合要求。 400 InvalidArgumentFormat Value value at 'argument ' failed to satisfy constraint: Argument must conform to Format format. 参数格式不正确。 400 InvalidCHAPName Value value at 'chap name' failed to satisfy constraint: Argument can contain letters, digits, dots (.), colons (:), underscores () or hyphens (), and the length is between 3 and 64, must begin with a letter or digit. CHAP名字不合法。 400 InvalidCHAPPassword Valuevalue at 'password' failed to satisfy constraint: Argument must contain at least 2 of the following: uppercase letters, lowercase letters, digits, underscores (), and the length is between 12 and 16. 密码不合法:字符串形式,长度范围是12~16,必须包含大写字母、小写字母、数字、下划线()中的至少两种字符,字母区分大小写。 400 InvalidFile Failed to parse file filename. 文件格式不符合要求。 400 InvalidString Value '' at 'argument' failed to satisfy constraint: Argument must not be an empty string. 参数不能是空字符串。 400 InvalidTargetDest Invalid target destination server serverID. 目标服务器目前无法创建该target,请重新选择。 400 InvalidTargetName Value value at 'target name' failed to satisfy constraint: Argument must contain only lowercase letters, digits, dots (.) or hyphens (), and does not exceed 16 characters, must begin with a letter or digit. target名称不正确。 400 InvalidTargetSource Invalid target source server serverID. target的源服务器目前不能进行迁移操作,请稍后再试。 400 LessThanMinValue Value value at 'number' failed to satisfy constraint: Argument must be greater than or equal to value. 该参数必须大于或等于另一个参数。 400 MigrateTargetForcibly Force migrate should be used when migrating a target. When using this option, there may be a risk of data loss. 迁移target仅能使用强制迁移。请注意,强制移除,会产生数据丢失风险,请谨慎操作。 400 MissingAtLeastOneArgument Missing argument, at least one argument in 'argument1 , argument2 , argument3 ...' is needed. 至少选择一个参数。 400 MissingCHAPName Value null at 'chap name' failed to satisfy constraint: Argument must not be null when CHAP is enabled. 启用CHAP时,缺少CHAP名称。 400 MissingCHAPPassword Value null at 'password' failed to satisfy constraint: Argument must not be null when CHAP is enabled. 启用CHAP时,缺少密码。 400 MissingTargetSourceOrDest Target source and destination server ID must not be null. 迁移target时,源和目的服务器ID必须存在。 400 StandaloneModeNotAllowed 'operation' is not supported by standalone mode of HBlock. 单机版本HBlock不支持该操作。 400 TooManyServers The number of servers cannot exceed value. target对应的服务器数量不能超过value个。 400 TooManyTargets The number of target IQNs cannot exceed 32766. target IQN数量超过上限。 400 TooManyTargets The number of target IQNs cannot exceed 1. target数量超过上限。一次只能迁移1个target IQN。 404 NoSuchCHAP The target with name name has no CHAP. target下没有CHAP。 404 NoSuchConnection The connection does not exist. 连接不存在。 400 NoSuchIQN The IQN with nameIQNName does not exist. 指定的iqn不存在。 404 NoSuchTarget The target with name targetName does not exist. target不存在。 404 NoSuchTargetIP The target with IP targetIP does not exist. IP为该值的target不存在。 409 ConflictWithTargetMigrating Failed to operation because the target targetName is migrating. target正在迁移,操作失败。 409 ConnectionExists There are connections on target targetName. Please disconnect the connections and try again. target上有连接,请先断开所有连接后重试。 409 InvalidServerStatus The server serverId status is 'status', the request is invalid. 服务器当前的状态不正确,请求无效。 409 InvalidStorStatus The HBlock status is 'status', the request is invalid. HBlock当前的状态不正确,请求无效。 408 InvalidTargetStatus The target status is 'status', the request is invalid. target当前的状态不正确,请求无效。 409 LUNExists There are LUNs in this target. Please delete all LUNs and try again. target有关联的卷。 409 TargetAlreadyExists The target with name already exists. target已经存在。