beautypg.com

Return codes – HP StoreVirtual VSA Software User Manual

Page 10

background image

10 | HP P4000 CLI | Return Codes

Return Codes

All GAUChE commands return an XML response containing a 32-bit result code, and a description of the

result. Example:





Success results are nonnegative values, while negative values indicate an error. Many errors returned by

SAN/iQ and Hydra unfortunately do not return ordinal values that can be conveniently mapped into an API

and CLI return code. In all cases, we can return the error description string, but it won't be feasible to return

a sensible ordinate value (other than GaucheGeneralError) without parsing the description string.

Result

Value

OS Status

Description

CliqSuccess

0

0

Everything

succeeded normally

CliqNothingDone

1

1

Operation has

succeeded, but

nothing was done

(the system was

already in the

requested state).

CliqOperationPending

2

2

Operation has not

failed, but is not

yet complete. The

"handle" parameter

contains a value

that can be used to

query and cancel

the operation.

CliqOperationAbandoned 3

3

Operation was

cancelled or

abandonded.

CliqNothingFound

4

4

Operation found no

objects.

CliqSnapshotSet

5

5

This snapshot

was a part of the

snapshot set.

CliqVssSnapshotWarning 6

6

Warning: The

writer operation

failed.

CliqPITSnapshotWarning 7

7

Warning: Point in

time snapshot is

created.

CliqParameterIgnored

8

8

The operation

succeeded but a

parameter was

This manual is related to the following products: