hpe-storage / python-hpedockerplugin

HPE Native Docker Plugin
Apache License 2.0
36 stars 64 forks source link

Merlin:Error message need correction #718

Closed sandesh-desai closed 4 years ago

sandesh-desai commented 5 years ago

[root@cssosbe01-b13-196117 ~]# docker volume create -d hpe --name Default_Volume5 -o provisioning=full -o compression=false

Actual Error message: Error response from daemon: create Default_Volume5: Invalid input received: For thin volume, 'provisioning' must be specified as 'thin'. And for deduplicated and compressed volume, 'provisioning' must be specified as 'dedup' and 'compression' must be specified to true. If any of these conditions for a given type of volumeis not met volume creation will fail

Expected Error message: Error response from daemon: create Default_Volume5: Invalid input received: For thin volume, 'provisioning' must be specified as 'thin'. And for deduplicated and compressed volume, 'provisioning' must be specified as 'dedup' and 'compression' must be specified to true. If any of these conditions for a given type of volume is not met volume creation will fail.

virendra-sharma commented 5 years ago

[root@ecostor-b13 virendra]# docker volume create -d hpe --name volume1 -o compression=true -o provisioning=full

Actual Error message: Error response from daemon: create volume1: Invalid input received: To create compression enabled volume, size of the volume should be atleast 16GB. Fully provisioned volume can not be compressed. Please re enter requested volume size or provisioning type.

Expected error message: [root@ecostor-b13 virendra]# docker volume create -d hpe --name volume1 -o compression=true -o provisioning=full Error response from daemon: create volume1: Invalid input received: To create compression enabled volume, size of the volume should be at least 16GB. Fully provisioned volume cannot be compressed. Please re-enter requested volume size or provisioning type.

bhagyashree-sarawate commented 4 years ago

Fixed and merged

amitk1977 commented 4 years ago

Sandesh to verify and close

sonawane-shashikant commented 4 years ago

This bug is verified as FIXED. Attached is the output for reference.

718_fixed.txt

sandesh-desai commented 4 years ago

closing as per above message.