Ask Your Question

When nova-api and keystone run on different nodes, EC2 API does not work

asked 2012-03-21 22:18:35 -0500

dkang gravatar image


We've set up openstack (early essex version) with keystone successfully. We put nova-api and keystone on a head node (, and glance on the other node ( It worked well. Both nova API and EC2 API worked well.

Now we put nova-api on a head node ( and put keystone and glance on the other node ( Now, nova API works well. But EC2 API does not work. From the nova-api log, "error: [Errno 111] ECONNREFUSED" happens.

Should nova-api and keystone must be on the same node?

Here are our settings:

  1. api-paste.ini: [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory service_protocol = http service_host = service_port = 5000 auth_host = auth_port = 35357 auth_protocol = http auth_uri = ....

  2. endpointTemplates $ keystone-manage endpointTemplates list All EndpointTemplates

    service region Public URL

nova RegionOne ( keystone RegionOne glance RegionOne (

  1. nova.conf --ec2_url= --rabbit_host= --sql_connection=mysql://root:nova@ --glance_api_servers= ...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-03-21 22:39:03 -0500

vishvananda gravatar image

you have to set keystone_ec2_url in your flagfile --keystone_ec2_url=

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-03-21 22:18:35 -0500

Seen: 35 times

Last updated: Mar 21 '12