HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 57

Table 46 Host Modification Error Codes

Page 57 highlights

Table 46 Host Modification Error Codes (continued) API Error HTTP Code INV_INPUT_ONE_REQUIRED 400 Bad Request INV_INPUT_BAD_ENUM_VALUE 400 Bad Request INV_INPUT_MISSING_REQUIRED 400 Bad Request INV_INPUT_EXCEEDS_LENGTH 400 Bad Request INV_INPUT_ILLEGAL_CHAR 400 Bad Request EXISTENT_HOST 409 Conflict NON_EXISTENT_HOST 404 Not Found INV_INPUT_TOO_MANY_WWN_OR_iSCSI 400 Bad Request INV_INPUT_WRONG_TYPE EXISTENT_PATH 400 Bad Request 409 Conflict INV_INPUT_BAD_LENGTH 400 Bad Request NO_INITIATOR_CHAP NON_EXISTENT_CHAP NON_UNIQUE_CHAP_SECRET 404 Not Found 404 Not Found 409 Conflict Description chapSecret, chapOperationMode, chapName, or chapSecretHex are for chap addition (not removal). pathOperation is specified and no FCWWNs or iSCSINames is specified. At least one WWN or iSCSI name should be specified. Either FCWWNs or iSCSINames is specified and no pathOperation is specified. If pathOperation is not specified, then the system does not know whether to add or remove the specified path. forcePathRemoval is specified and pathOperation is not specified or null. forcePathRemoval can be used only with path removal. None of the following is specified: pathOperation newName descriptor chapOperation At least one operation for the host update should be specified. Invalid enum value. Required fields missing. Host descriptor argument length, new host name, or iSCSI name is too long. Any error from host or iSCSI name parsing. New host name is already used. Host to be modified does not exist. More than 1024 WWNs or iSCSI names are specified. Input value is of the wrong type. WWN or iSCSI name is already claimed by other host. CHAP hex secret length is not 16 bytes, or chap ASCII secret length is not 12-16 characters. Setting target CHAP without initiator CHAP. Remove non-existing CHAP. CHAP secret is not unique. Modifying a Host 57

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

Table 46 Host Modification Error Codes
(continued)
Description
HTTP Code
API Error
chapSecret
,
chapOperationMode
,
chapName
, or
chapSecretHex
are
for chap addition (not removal).
pathOperation
is specified and no
FCWWNs
or
iSCSINames
is specified.
400 Bad Request
INV_INPUT_ONE_REQUIRED
At least one WWN or iSCSI name
should be specified.
Either
FCWWNs
or
iSCSINames
is
specified and no
pathOperation
is
specified.
If
pathOperation
is not specified,
then the system does not know whether
to add or remove the specified path.
forcePathRemoval
is specified and
pathOperation
is not specified or
null.
forcePathRemoval
can be used only
with path removal.
None of the following is specified:
pathOperation
newName
descriptor
chapOperation
At least one operation for the host
update should be specified.
Invalid
enum
value.
400 Bad Request
INV_INPUT_BAD_ENUM_VALUE
Required fields missing.
400 Bad Request
INV_INPUT_MISSING_REQUIRED
Host descriptor argument length, new
host name, or iSCSI name is too long.
400 Bad Request
INV_INPUT_EXCEEDS_LENGTH
Any error from host or iSCSI name
parsing.
400 Bad Request
INV_INPUT_ILLEGAL_CHAR
New host name is already used.
409 Conflict
EXISTENT_HOST
Host to be modified does not exist.
404 Not Found
NON_EXISTENT_HOST
More than 1024 WWNs or iSCSI
names are specified.
400 Bad Request
INV_INPUT_TOO_MANY_WWN_OR_iSCSI
Input value is of the wrong type.
400 Bad Request
INV_INPUT_WRONG_TYPE
WWN or iSCSI name is already
claimed by other host.
409 Conflict
EXISTENT_PATH
CHAP hex secret length is not 16 bytes,
or chap ASCII secret length is not
12–16 characters.
400 Bad Request
INV_INPUT_BAD_LENGTH
Setting target CHAP without initiator
CHAP.
404 Not Found
NO_INITIATOR_CHAP
Remove non-existing CHAP.
404 Not Found
NON_EXISTENT_CHAP
CHAP secret is not unique.
409 Conflict
NON_UNIQUE_CHAP_SECRET
Modifying a Host
57