hpe-storage / python-hpedockerplugin

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

Error msg while importing a volume from a volume set with no qos policy set should be changed #708

Open leenaj0hn opened 5 years ago

leenaj0hn commented 5 years ago
  1. Create vvset S2935 cli% createvvset vvset_1

  2. Add vv to above vvset S2935 cli% createvvset -add vvset_1 vvset_1

  3. List the vvset S2935 cli% showvvset Id Name Members 107 vvset_1 vvset_1

  4. docker volume import the volume in from the vvset [root@cssosecostor-b10 ~]# docker volume create -d hpe --name import_vvset_1 -o importVol=vvset_1 import_vvset_1

  5. Inspect the volume, the message in "qos_detail" label showed be changed. It should only display: No QOS or flash-cache found for a volume 'dcv-ucvhMiVYT6u3G.DeJSYz.Q' present in vvset 'vvset_1'' from 3PAR".

Instead of "ERROR: Failed to retrieve QoS 'ERROR: No QOS or flash-cache found for a volume 'dcv-ucvhMiVYT6u3G.DeJSYz.Q' present in vvset 'vvset_1'' from 3PAR",

[root@cssosecostor-b10 ~]# docker volume inspect import_vvset_1 [ { "CreatedAt": "0001-01-01T00:00:00Z", "Driver": "hpe", "Labels": {}, "Mountpoint": "", "Name": "import_vvset_1", "Options": { "importVol": "vvset_1" }, "Scope": "global", "Status": { "qos_detail": "ERROR: Failed to retrieve QoS 'ERROR: No QOS or flash-cache found for a volume 'dcv-ucvhMiVYT6u3G.DeJSYz.Q' present in vvset 'vvset_1'' from 3PAR", "volume_detail": { "3par_vol_name": "dcv-ucvhMiVYT6u3G.DeJSYz.Q", "Options": { "importVol": "vvset_1" }, "backend": "DEFAULT", "compression": true, "cpg": "sandesh", "domain": null, "flash_cache": null, "fsMode": null, "fsOwner": null, "mountConflictDelay": 30, "provisioning": "dedup", "size": 16, "snap_cpg": "SSD_r6" } } } ]

amitk1977 commented 5 years ago

Is this fixed by Imran?

bhagyashree-sarawate commented 5 years ago

Need to confirm with Imran if fix is done