HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 34
CPG Creation Errors, Modifying a CPG
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
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