Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Wrong port number on Nova's Controller install instruction filter:authtoken ?

  • Distribution : CentOS 6.4
  • OpenStack Release : Havana

I am installting both a Nova Controller and a Nova Node on the SAME host and there appears to be a conflict where the filter:authtoken ports of both Controller and Node cannot co-exist on the same host, as one has a port as 5000 and another one as 35357.

The Nova CONTROLLER install instructions ( step 8 of ) require the configuration of the /etc/nova/api-paste.ini file as such:

[filter:authtoken] paste.filter_factory=keystoneclient.middleware.auth_token:filter_factory auth_host=localhost auth_port=5000 auth_protocol=http auth_uri=http://localhost:5000/v2.0 admin_tenant_name=service admin_user=nova admin_password=NOVA_PASS

But the Nova Compute NODE install instructions ( step 8 of ) requires the same file's [filter:authtoken] section to be configured as such:

[filter:authtoken] paste.filter_factory=keystoneclient.middleware.auth_token:filter_factory auth_host=localhost auth_port = 35357 auth_protocol = http admin_user=nova admin_tenant_name=service admin_password=NOVA_PASS

NOTICE the auth_port is 5000 on the Controller and 34357 on the Node. This indicates that both cannot co-exist in this type of installation. I believe the Controller instruction is incorrect and should also be 34357, which is Keystone's endpoint port.

Please clarify how these two configurations can co-exist on the same file or if, as I suspect, the port 5000 is incorrectly pointed out in the configuration.