Skip to content

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

@leenaj0hn

Description

@leenaj0hn
  1. Create vvset <name: vvset_1>
    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"
}
}
}
]

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions