InstanceLocalityFilter passed as config-flags does not work with cinder-volume running alongside Nova Compute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Cinder Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I am adding a new filter to my deployment with:
config-flags: "scheduler_
That should allow me to force LVM volumes to be allocated on same host as instances by using:
cinder create --hint local_to_
My bundle: https:/
Once the all charms get on Active state, I can run cinder service list and see that LVM is set for appropriate host.
If I run cinder-volume service anywhere else, it will get different host names and then, it won't work when passing by InstanceLocalit
I can create disks.
Here is the logs: https:/
(The disk in error is because I tried to force cinder to create on other host, it is expected).
But, when I try to add it to VMs, I get the following error on cinder-volume.log:
https:/
First thing that draws my attention: there is no mention to Ceph whatsoever on service-list.
If I add relation: [ cinder-volume cinder-ceph ]
I can see a new service-list as: https:/
Therefore, LVM is now set as down, which means InstanceLocalit
Changed in charm-cinder: | |
status: | New → Triaged |
Use of config-flags is experimental and typically indicates that new charm feature work is necessary. This path is untested and not implemented in OpenStack Charms. If we need to get this feature in place, we should lab it, write a specification based on the findings in the lab, and put a plan in place to properly introduce the charm feature.