hpe-storage / python-hpedockerplugin

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

Docker 3.2.1: Grammatically incorrect error message displayed when tried to create volume with invalid input parameters. #702

Open sonawane-shashikant opened 5 years ago

sonawane-shashikant commented 5 years ago

Summary: Grammatically incorrect error message displayed when tried to create volume with invalid input parameters.

OS: Centos 7.6 3PAR IP: 10.50.3.9

Pre-Requisite: Docker should be installed and etcd should be up and running

Steps to reproduce:

  1. Install and enable HPE 3PAR plugin
  2. try to create volume with invalid input parameters: docker volume create -d hpe --name VOL1 -o provisioning=full -o compression=true
  3. verify the error message.

Actual result: Error response from daemon: create VOL1: 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 result: Error response from daemon: create VOL1: Invalid input received: To create compression enabled volume, size of the volume should be at least 16GB. Fully provisioned volume can not be compressed. Please re-enter requested volume size or provisioning type.

Note: Change in"re enter" and "at least" is required

bhagyashree-sarawate commented 5 years ago

Duplicate of bug #718, Fixed and will get merged in 3.2.1