commit b271778e16a83aefb0e704a9aca0ef09f405084c
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/328430 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=b271778e16a 83aefb0e704a9ac a0ef09f405084c
Committed: https:/
Submitter: Jenkins
Branch: liberty
commit b271778e16a83ae fb0e704a9aca0ef 09f405084c
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
Closes-bug: 1591282
Closes-bug: 1590957