Closed sandesh-desai closed 4 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.
Fixed and merged
Sandesh to verify and close
This bug is verified as FIXED. Attached is the output for reference.
closing as per above message.
[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.