HewlettPackard / hpe3par_ansible_module

HPE Alletra 9000 and HPE Primera and HPE 3PAR ansible module to configure, provision and manage storage systems and resources
19 stars 37 forks source link

Errors message changes for deco operations on Primera #61

Open leenaj0hn opened 5 years ago

leenaj0hn commented 5 years ago

When type is full: "msg": "Volume creation failed | Bad request (HTTP 400) - invalid input: Either tpvv must be true OR for compressed and deduplicated volumes both 'compression' and 'tdvv' must be specified as true"

"msg": "Volume creation failed | Bad request (HTTP 400) - invalid input: On Primera for tpvv volume, 'type' must be set to thin, and for compressed and deduplicated volumes 'compression' must be set to true and 'type' must be specified as thin_dedupe"

type:thin_dedupe compression:false

"msg": "Volume creation failed | Bad request (HTTP 400) - invalid input: For compressed and deduplicated volumes both 'compression' and 'tdvv' must be specified as true"

}

"msg": "Volume creation failed | Bad request (HTTP 400) - invalid input: For compressed and deduplicated volumes 'compression' must be specified as true" and type value should be thin_dedupe

}

convert from thin and compression=false to thin and compression set to true

"msg": "Provisioning type change failed | Bad request (HTTP 400) - invalid input: On primera supported array along with compression set to true 'conversionOperation' must be 3(TDVV) or for deco operation user can set 'conversionOperation' to 4(CONVERT_TO_DECO)"

"msg": "Provisioning type change failed | Bad request (HTTP 400) - invalid input: On primera array, with compression set to true 'conversionOperation' must be have type set to "thin_dedupe"

ansarars commented 5 years ago

Corrected error messages in PR(https://github.com/hpe-storage/python-3parclient/pull/74) Please refer unit test execution results as follows unit_test_execution_results_27aug.txt

Please refer error message as follows:- error_msg_verification.txt