Public bug reported:
[Impact]
Heat uses 'scheduler hints' to instruct the cloud that some resources
need special treatment, for instance that two cinder volumes have to be
created on different backends.
Without this patch, cinder client is broken and hints aren't properly
formatted leaving without effect the hints sent.
[Test Case]
Use script test_scheduler_hints.py against cinder API v2, the request
sent will contain "scheduler_hints": {"same_host": "SOME_ID"} while the
service expects "OS-SCH-HNT:scheduler_hints": {"same_host": "SOME_ID"}
An example output can be found in the file test_scheduler_hints.log
[Regression Potential]
No regression expected. Currently the key is being discarded by the
service and this patch just format it properly
[Other Info]
Please refer to upstream commit:
https://review.openstack.org/#/c/72059/5
Blueprint: Support Cinder scheduler hints
https://github.com/openstack/heat-specs/blob/master/specs/kilo/cinder-scheduler-hints.rst
Definition of the key:
https://github.com/openstack/cinder/blob/stable/icehouse/cinder/api/contrib/scheduler_hints.py#L31
https://github.com/openstack/cinder/blob/stable/icehouse/cinder/api/contrib/scheduler_hints.py#L54
** Affects: python-cinderclient (Ubuntu)
Importance: Undecided
Status: New
** Tags: cts
** Attachment added: "script to verify badly formatted request"
https://bugs.launchpad.net/bugs/1404110/+attachment/4283946/+files/test_scheduler_hints.py
** Tags added: cts
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1404110
Title:
[SRU] Wrong hint key in volume create function
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-cinderclient/+bug/1404110/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs