Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
leenaj0hn opened this issue Aug 5, 2019 · 2 comments
Assignees

Comments

@leenaj0hn
Copy link

  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"
}
}
}
]

@amitk1977
Copy link
Collaborator

Is this fixed by Imran?

@bhagyashree-sarawate
Copy link
Contributor

Need to confirm with Imran if fix is done

bhagyashree-sarawate added a commit to bhagyashree-sarawate/python-hpedockerplugin that referenced this issue Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants