We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug If volume has io_limit_policy applied, on volume details we have:
"io_limit_policy": { "id": "qp_2", "name": "qp_2" },
So for both 'id' and 'name' key, dictionary has 'id' value.
To Reproduce Steps to reproduce the behavior:
Expected behavior io_limit_policy dictionary has io_policy name value under 'name' key.
Additional context I suspect bug in: volume.py line 971:
if obj_vol.io_limit_policy: volume_details.update( {'io_limit_policy': {'name': obj_vol.io_limit_policy.id, 'id': obj_vol.io_limit_policy.id}})
The text was updated successfully, but these errors were encountered:
I can confirm, that change in volume.py line 971
if obj_vol.io_limit_policy: volume_details.update( {'io_limit_policy': {'name': obj_vol.io_limit_policy.name, 'id': obj_vol.io_limit_policy.id}})
fixed this issue
Sorry, something went wrong.
Hi @Piaskun, thank you for reporting this issue and the fix. Would you also like to submit a PR may be :-)
No branches or pull requests
Describe the bug
If volume has io_limit_policy applied, on volume details we have:
So for both 'id' and 'name' key, dictionary has 'id' value.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
io_limit_policy dictionary has io_policy name value under 'name' key.
Additional context
I suspect bug in:
volume.py line 971:
The text was updated successfully, but these errors were encountered: