hpe-storage / python-hpedockerplugin

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

DECO: Need proper alignment for error message. #696

Closed sandesh-desai closed 5 years ago

sandesh-desai commented 5 years ago

Steps to re-produce: 1) docker volume create -d hpe --name Default_Volume10 -o provisioning=dedup -o compression=false -o backend=merlin

Expected result:Error response from daemon: create Default_Volume10: Invalid input received: For enabling the compression for primera tdvv and compression both are true.

Actual Result :Error response from daemon: create Default_Volume10: Invalid input received: For enabling the compression for primera tdvv and compression both are true.

bhagyashree-sarawate commented 5 years ago

Fixed #PR72

sandesh-desai commented 5 years ago

Verified and working as expected. Closing the bug.

[root@cssosbe01-b13-196117 ~]# docker volume create -d hpe --name Default_Volume10 -o provisioning=dedup -o compression=false -o backend=Merlin_140 Error response from daemon: create Default_Volume10: Invalid input received: For deduplicated and compressed volume, provisioning must be specified as 'dedup' and 'compression' must be specified as true.