Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Nova service using 35357 port instead 5000 to verify admin

OS : Centos 8 Openstack version: TRAIN Guide : Minimal deployment for Train All packages from "train"

Note:

Before the Queens release, keystone needed to be run on two separate ports to accommodate the Identity v2 API which ran a separate admin-only service commonly on port 35357. With the removal of the v2 API, keystone can be run on the same port for all interfaces.

General error is: novaclient.exceptions.ClientException: The server is currently unavailable. Please try again at a later time. The Keystone service is temporarily unavailable.

nova_api logs:

2020-05-29 20:11:47.519 3030 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Unable to establish connection to http://controller:35357/v3/auth/tokens: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.httpconnection object="" at="" 0x7f56f4f38710="">: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)): keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://controller:35357/v3/auth/tokens: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.httpconnection object="" at="" 0x7f56f4f38710="">: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2020-05-29 20:11:47.525 3030 INFO nova.osapi_compute.wsgi.server [-] 192.168.5.249 "GET /v2.1/os-services?binary=nova-compute HTTP/1.1" status: 503 len: 498 time: 4.2695198

nova.conf

[keystone_authtoken]

  • www_authenticate_uri = http://controller:5000/
  • auth_url = http://controller:5000/
  • memcached_servers = controller:11211
  • auth_type = password
  • project_domain_name = Default - user_domain_name = Default
  • project_name = service
  • username = nova
  • password = BLAHBLAH