commit 75deb166c8922f7ceb120d3892ae1ac4fa4702bb
Author: Ian Cordasco <email address hidden>
Date: Fri Jun 10 12:35:41 2016 -0500
Use correct keystone auth parameters
Neutron Metadata Agent uses the authentication parameters as a fallback
method in the event that communication with Neutron API over RPC fails.
In the fallback case, it looks for Keystone v2.0 authentication
credentials but looks for them under the names:
- admin_user
- admin_password
- admin_tenant_name
Which can be the service user information. We were previously
configuring Keystone v3 authentication parameters in this space and this
causes 400 Bad Request responses from Keystone (since the Agent has null
values for those config options).
Further, the metadata agent does not need to use the admin URL to
authenticate. Instead, it can use the internal URL to retrieve its token
and then authenticate to Neutron API over HTTP.
Reviewed: https:/ /review. openstack. org/328432 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=75deb166c89 22f7ceb120d3892 ae1ac4fa4702bb
Committed: https:/
Submitter: Jenkins
Branch: kilo
commit 75deb166c8922f7 ceb120d3892ae1a c4fa4702bb
Author: Ian Cordasco <email address hidden>
Date: Fri Jun 10 12:35:41 2016 -0500
Use correct keystone auth parameters
Neutron Metadata Agent uses the authentication parameters as a fallback
method in the event that communication with Neutron API over RPC fails.
In the fallback case, it looks for Keystone v2.0 authentication
credentials but looks for them under the names:
- admin_user
- admin_password
- admin_tenant_name
Which can be the service user information. We were previously
configuring Keystone v3 authentication parameters in this space and this
causes 400 Bad Request responses from Keystone (since the Agent has null
values for those config options).
Further, the metadata agent does not need to use the admin URL to
authenticate. Instead, it can use the internal URL to retrieve its token
and then authenticate to Neutron API over HTTP.
Change-Id: Ib413d3f3f3351b ef29b0e68a2cfb9 6b7f3dff3c3 fb0e704a9aca0ef 09f405084c)
Closes-bug: 1591282
Closes-bug: 1590957
(cherry picked from commit b271778e16a83ae