Specify actual keystone IP address in api-paste.ini.

The example api-paste.ini used 127.0.0.1 as the IP address for
keystone. This proposed patch uses the actual IP address of the
machine (192.168.206.130). This file will now still work if
the nova-api service runs on a different machine than keystone.

Change-Id: Icff1c9e6e96875339aefe35d5a4006b9b482cc7d
This commit is contained in:
Lorin Hochstein 2012-08-16 21:03:58 -04:00
parent 5c5a47abdf
commit ee871e9665
2 changed files with 16 additions and 3 deletions

View File

@ -58,6 +58,19 @@
Identity service. You should also add all the
Keystone configuration specified in the sample
file below.</para>
<para>This guide assumes that the IP address of the machine that runs the Identity service
is <literal>192.168.206.130</literal>. If the IP address of the machine on your setup is
different, change the following configuration options:<itemizedlist>
<listitem>
<para><literal>service_host</literal></para>
</listitem>
<listitem>
<para><literal>auth_host</literal></para>
</listitem>
<listitem>
<para><literal>auth_uri</literal></para>
</listitem>
</itemizedlist></para>
<literallayout class="monospaced"> <xi:include parse="text" href="samples/api-paste.ini"/></literallayout></section>
<section xml:id="novarc-file"><title>Credentials (openrc)</title><para>This file contains the credentials used by Compute, Image, and
Identity services, you can optionally store in

View File

@ -144,12 +144,12 @@ paste.filter_factory = nova.api.auth:NovaKeystoneContext.factory
[filter:authtoken]
paste.filter_factory = keystone.middleware.auth_token:filter_factory
service_protocol = http
service_host = 127.0.0.1
service_host = 192.168.206.130
service_port = 5000
auth_host = 127.0.0.1
auth_host = 192.168.206.130
auth_port = 35357
auth_protocol = http
auth_uri = http://127.0.0.1:5000/
auth_uri = http://192.168.206.130:5000/
admin_tenant_name = service
admin_user = nova
admin_password = nova