commit a3089b41f6bfb10ce34581f72bc5fb029c836cd7
Author: Matt Riedemann <email address hidden>
Date: Mon Feb 13 15:48:43 2017 -0500
Cleanup some issues with CONF.placement.os_interface
This change fixes a few things with the recently added
"os_interface" option in the [placement] config group.
1. It adds tests for the scheduler report client that
were missing in the original change that added the
config option.
2. It uses the option in the "nova-status upgrade check"
command so it is consistent with how the scheduler
report client uses it.
3. It removes the restrictive choices list from the
config option definition. keystoneauth1 allows an
"auth" value for the endpoint interface which means
don't use the service catalog to find the endpoint
but instead just read it from the "auth_url" config
option. Also, the Keystone v3 API performs strict
validation of the endpoint interface when creating
an endpoint record. The list of supported interfaces
may change over time, so we shouldn't encode that
list within Nova.
4. As part of removing the choices, the release note
associated with the new option is updated and changed
from a 'feature' release note to simply 'other' since
it's not really a feature as much as it is a bug fix.
Change-Id: Ia5af05cc4d8155349bab942280c83e7318749959
Closes-Bug: #1664334
(cherry picked from commit 2c1e1341214356808936c4a812c89d4008cdb284)
Reviewed: https:/ /review. openstack. org/434316 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a3089b41f6b fb10ce34581f72b c5fb029c836cd7
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit a3089b41f6bfb10 ce34581f72bc5fb 029c836cd7
Author: Matt Riedemann <email address hidden>
Date: Mon Feb 13 15:48:43 2017 -0500
Cleanup some issues with CONF.placement. os_interface
This change fixes a few things with the recently added
"os_interface" option in the [placement] config group.
1. It adds tests for the scheduler report client that
were missing in the original change that added the
config option.
2. It uses the option in the "nova-status upgrade check"
command so it is consistent with how the scheduler
report client uses it.
3. It removes the restrictive choices list from the
config option definition. keystoneauth1 allows an
"auth" value for the endpoint interface which means
don't use the service catalog to find the endpoint
but instead just read it from the "auth_url" config
option. Also, the Keystone v3 API performs strict
validation of the endpoint interface when creating
an endpoint record. The list of supported interfaces
may change over time, so we shouldn't encode that
list within Nova.
4. As part of removing the choices, the release note
associated with the new option is updated and changed
from a 'feature' release note to simply 'other' since
it's not really a feature as much as it is a bug fix.
Change-Id: Ia5af05cc4d8155 349bab942280c83 e7318749959 08936c4a812c89d 4008cdb284)
Closes-Bug: #1664334
(cherry picked from commit 2c1e13412143568