kilo default cinder behavior changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Prior to Kilo, not having a:
[cinder]
os_region_name=SET
set meant that nova would look in the region the nova call went to. As of Kilo, it appears to do an endpoint list and pull the first cinder endpoint it finds (even if it is in a different region.)
I've not yet reproduced this in devstack but a multi-region devstack should see the right behavior prior to kilo and the wrong behavior in kilo (and presumably in Liberty.)
This has a VERY STRONG OPERATIONS IMPACT due to the difficulty in debugging a cross region error like this (it's extraordinarily opaque).
The simplest reproducer is to have a multi region openstack (for both nova and cinder) and create instances and volumes in both regions. In each region, try and attach a volume to a running instance. One side (whichever is uuid-numericall
The workaround is straight-
[cinder]
os_region_
in the nova.conf file but as this is a behavior change, it should have been called out in the release notes.
Running:
openstack kilo 2015.1.0 (nova and cinder) in a multi (well two) region env.
distro info:
[STAGING] medberry@
ii cinder-api 1:2015.
ii cinder-backup 1:2015.
ii cinder-common 1:2015.
ii cinder-scheduler 1:2015.
ii cinder-volume 1:2015.
ii neutron-common 1:2015.
ii neutron-dhcp-agent 1:2015.
ii neutron-l3-agent 1:2015.
ii neutron-
ii neutron-plugin-ml2 1:2015.
ii neutron-
ii neutron-server 1:2015.
ii nova-api 1:2015.
ii nova-cert 1:2015.
ii nova-common 1:2015.
ii nova-conductor 1:2015.
ii nova-consoleauth 1:2015.
ii nova-novncproxy 1:2015.
ii nova-objectstore 1:2015.
ii nova-scheduler 1:2015.
ii python-cinder 1:2015.
ii python-cinderclient 1:1.1.1-
ii python-keystone 1:2015.
ii python-
ii python-
ii python-neutron 1:2015.
ii python-
ii python-
ii python-
ii python-nova 1:2015.
ii python-novaclient 1:2.22.
[STAGING] medberry@
Can you please share the service catalog fields for both cinder and both nova entries?