Revision history [back]

click to hide/show revision 1
initial version

where are the conf. of service agent

Very simple question, but I just cannot find it.

If we want to launch an instance from a remote IP, we must configure the IP for each service agent conf files after installing the service agent (novaclient, keystonecleint....etc). it is not enough to do it with only OS_* variables.

For example, from a remote host:

$nova flavor-list

ERROR (ConnectionError): ('Connection aborted.', gaierror(-2, 'Name or service not known'))

but I've already export OS_* variables, apparently, the agent cannot do it with only OS_*, say, OS_AUTH_URL.

We can see it by using neutron:

$neutron net-list

Unable to establish connection to http://controller:9696/v2.0/networks.json

So it has used the conf file with some variable defined by http://controller:9696/v2.0/networks.json. But so far, I cannot find the conf file by grep.

Here is my solution to do it:

  1. add hosts name 'controller' with its IP

  2. export OS_* varaibles

But the question is still not answered. Anyone know it? Where are the conf files(for service client agent)