HP 3PAR StoreServ 7450 4-node HP 3PAR Web Service API 1.2 Developer's - Page 34

CPG Creation Errors, Modifying a CPG

Page 34 highlights

CPG Creation Errors If an error occurs, the system returns one of the error codes shown in Table 19 (page 34), or a general error code listed in "Generic WSAPI code Member Status and Error Codes" (page 17): Table 19 CPG Creation and Modification Error Codes API Error BAD_CPG_PATTERN CPG_NOT_IN_SAME_DOMAIN HTTP Code 400 Bad Request 403 Forbidden Description A pattern in a CPG LDLayout specifies illegal values. Snap CPG is not in the same domain as the user CPG. (Since WSAPI 1.2) EXISTENT_CPG IN_USE 409 Conflict 409 Conflict INV_INPUT INV_INPUT_EXCEEDS_LENGTH 400 Bad Request 400 Bad Request INV_INPUT_EXCEEDS_RANGE 400 Bad Request INV_OPERATION_GROW_SIZE_TOO_SMALL 400 Bad Request CPG already exists. The CPG cannot be removed because it is in use by a volume. Missing CPG name. Invalid input: string length exceeds limit. Invalid input: number exceeds expected range. CPG grow size is too small (Since WSAPI 1.2) INV_INPUT_ILLEGAL_CHAR 400 Bad Request INV_INPUT_MISSING_REQUIRED 400 Bad Request INV_INPUT_WARN_GT_LIMIT 400 Bad Request INV_OPERATION_CPG_RAID0_DISABLED 403 Forbidden Input contains one or more illegal characters. No valid CPG update operation found. The allocation warning level is higher than the allocation limit. Invalid operation. RAID-0 must be enabled. (Since WSAPI 1.2) INV_OPERATION_CPG_RAID5_NL_DISABLED 403 Forbidden Invalid operation. RAID-5 on NL drives must be enabled. (Since WSAPI 1.2) INV_SET_SIZE NO_SPACE NON_EXISTENT_CPG 400 Bad Request 400 Bad Request 404 Not Found The set size is invalid for the selected RAID type. Insufficient space for requested operation. The CPG does not exist. This error applies only to CPG modification, not creation. NON_EXISTENT_DOMAIN 404 Not Found Domain does not exist. Modifying a CPG To modify a CPG, use the HTTP PUT method in the URI: https://:8080/api/v1/cpgs/ with message body members as shown in Table 18 (page 33) and Table 20 (page 35). 34 Working with Common Provisioning Groups

  • 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

CPG Creation Errors
If an error occurs, the system returns one of the error codes shown in
Table 19 (page 34)
, or a
general error code listed in
“Generic WSAPI
code
Member Status and Error Codes” (page 17)
:
Table 19 CPG Creation and Modification Error Codes
Description
HTTP Code
API Error
A pattern in a CPG LDLayout specifies
illegal values.
400 Bad Request
BAD_CPG_PATTERN
Snap CPG is not in the same domain
as the user CPG.
403 Forbidden
CPG_NOT_IN_SAME_DOMAIN
(Since WSAPI 1.2)
CPG already exists.
409 Conflict
EXISTENT_CPG
The CPG cannot be removed because
it is in use by a volume.
409 Conflict
IN_USE
Missing CPG name.
400 Bad Request
INV_INPUT
Invalid input: string length exceeds
limit.
400 Bad Request
INV_INPUT_EXCEEDS_LENGTH
Invalid input: number exceeds
expected range.
400 Bad Request
INV_INPUT_EXCEEDS_RANGE
CPG grow size is too small
400 Bad Request
INV_OPERATION_GROW_SIZE_TOO_SMALL
(Since WSAPI 1.2)
Input contains one or more illegal
characters.
400 Bad Request
INV_INPUT_ILLEGAL_CHAR
No valid CPG update operation
found.
400 Bad Request
INV_INPUT_MISSING_REQUIRED
The allocation warning level is higher
than the allocation limit.
400 Bad Request
INV_INPUT_WARN_GT_LIMIT
Invalid operation. RAID-0 must be
enabled.
403 Forbidden
INV_OPERATION_CPG_RAID0_DISABLED
(Since WSAPI 1.2)
Invalid operation. RAID-5 on NL drives
must be enabled.
403 Forbidden
INV_OPERATION_CPG_RAID5_NL_DISABLED
(Since WSAPI 1.2)
The set size is invalid for the selected
RAID type.
400 Bad Request
INV_SET_SIZE
Insufficient space for requested
operation.
400 Bad Request
NO_SPACE
The CPG does not exist.
404 Not Found
NON_EXISTENT_CPG
This error applies only to CPG
modification, not creation.
Domain does not exist.
404 Not Found
NON_EXISTENT_DOMAIN
Modifying a CPG
To modify a CPG, use the HTTP PUT method in the URI:
https://
<storage system>
:8080/api/v1/cpgs/
<cpg name>
with message body members as shown in
Table 18 (page 33)
and
Table 20 (page 35)
.
34
Working with Common Provisioning Groups