Add auth_uri option

'Configuring auth_uri to point to the public identity endpoint is
required; clients may not be able to authenticate against an admin
endpoint.' If auth_uri is not set, such warning will be logged.

Change-Id: Ic7d317e04de921636e0c3fb900b4195c48f73671
Closes-Bug: #1279730
ref: https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/middleware/auth_token.py
This commit is contained in:
ZhiQiang Fan 2014-02-13 22:38:33 +08:00
parent 442425c664
commit c8e7067502
2 changed files with 4 additions and 0 deletions

View File

@ -174,6 +174,8 @@ log_dir = /var/log/ceilometer</programlisting>
keystone_authtoken admin_tenant_name service</userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/ceilometer/ceilometer.conf \
keystone_authtoken auth_protocol http</userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/ceilometer/ceilometer.conf \
keystone_authtoken auth_uri http://<replaceable>controller</replaceable>:5000</userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/ceilometer/ceilometer.conf \
keystone_authtoken admin_password <replaceable>CEILOMETER_PASS</replaceable></userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/ceilometer/ceilometer.conf \
@ -190,6 +192,7 @@ log_dir = /var/log/ceilometer</programlisting>
auth_host = controller
auth_port = 35357
auth_protocol = http
auth_uri = http://<replaceable>controller</replaceable>:5000
admin_tenant_name = service
admin_user = ceilometer
admin_password = <replaceable>CEILOMETER_PASS</replaceable></programlisting>

View File

@ -89,6 +89,7 @@ paste.filter_factory=keystoneclient.middleware.auth_token:filter_factory
auth_host=<replaceable>controller</replaceable>
auth_port = 35357
auth_protocol = http
auth_uri = http://<replaceable>controller</replaceable>:5000
admin_tenant_name=service
admin_user=cinder
admin_password=<replaceable>CINDER_PASS</replaceable>