Does cinder scheduler hints work?
Hi,
I see the relevant code [1] is merged to Kilo release (on Oct. 2014), but I am not able to get it working on Liberty. I am trying to co-locate volumeA (existing volume) with volumeB (new volume being created with scheduler hints). Here is the cinder CLI I am executing:
$ cinder create --name volumeB --volume-type ssd --hint same_host=<volumeA-uuid>
I am not get volumeB places on the same host as volumeA. Any help is greatly appreciated.
-Nodir
One thing to check would be that you have the Cinder v2 API available, and that the keystone catalog does not have the v1 API path hard-coded.
I am using cinder v2.0 and keystone v2.0. Why Keystone matters, though. If I have Liberty release and using cinder v2.0 shouldn't I have this feature?
The Keystone version doesn't matter, but the URL of your Glance API endpoint is stored in the Keystone catalog (which you can view with
openstack catalog show
). Sometimes operators will mistakenly include the API version in the endpoint URL.I have both cinder and cinderv2
$ openstack catalog list | Name | Type | Endpoints | cinder | volume | public: http://eg.net/os/uuid/regions/uuid/cinder/v1/uuid, admin: http://eg.net/os/uuid/regions/uuid/cinder/v1/uuid, internal: http://eg.net/os/uuid/regions/uuid/cinder/v1/uuid
| Name | Type | Endpoints | cinderv2 | volumev2 | public: http://eg.net/os/uuid/regions/uuid/cinderv2/v2/uuid, admin: http://eg.net/os/uuid/regions/uuid/cinderv2/v2/uuid, internal: http://eg.net/os/uuid/regions/uuid/cinderv2/v2/uuid