nova service-list Error : Unknown Error (HTTP 503)Service Unavailable: The server is currently unavailable. Please try again at a later time, while nova-manage service list command shows all the services running fine. [closed]
Hi, I am trying to install OpenStack Liberty controller node on CentOS 7.1, running as a VM. I have followed the official guide, step-by-step(cross verified multiple times). While commands related to neutron works file, but for glance and nova, I am getting error.(log file details below). Please note that "nova-manage service list" command show all the services up and running.
- LOG file details:
$tail /var/log/nova/nova-api.log
2015-12-23 10:43:17.290 2916 INFO nova.metadata.wsgi.server [-] (2916) wsgi starting up on http://0.0.0.0:8775/
2015-12-23 10:43:17.289 962 INFO oslo_service.service [-] Started child 2917
2015-12-23 10:43:17.294 2917 INFO nova.metadata.wsgi.server [-] (2917) wsgi starting up on http://0.0.0.0:8775/
2015-12-22 10:57:28.544 11648 INFO nova.osapi_compute.wsgi.server [-] 10.91.208.81 "GET /v2/44ef15c8b0e84c48a4acffea0911d394/os-agents HTTP/1.1" status: 503 len: 323 time: 0.1808271
2015-12-22 11:26:03.869 11647 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
2015-12-22 11:26:03.932 11647 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
2015-12-22 11:26:03.932 11647 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data
2015-12-22 11:26:03.932 11647 INFO nova.osapi_compute.wsgi.server [-] 10.91.208.81 "GET /v2/ HTTP/1.1" status: 503 len: 323 time: 0.0933290
$tail /var/log/glance/api.log
2015-12-22 11:46:53.650 10901 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
2015-12-22 11:46:53.678 10901 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
2015-12-22 11:46:53.678 10901 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data
2015-12-22 11:46:53.680 10901 INFO eventlet.wsgi.server [-] 10.91.208.81 - - [22/Dec/2015 11:46:53] "GET /v2/images?limit=20&sort_key=name&sort_dir=asc HTTP/1.1" 503 370 0.076165
/etc/nova/nova.conf details
auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = Service123
[database]
connection = mysql://nova:Service123@controller/nova
[vnc]
vncserver_listen=controller
vncserver_proxyclient_address=controller
admin-openrc.sh details
export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=password
export OS_AUTH_URL=http://controller:35357/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2
Any help will be great(stuck here since four days). Please feel free to ask for any more details.
Check the details for keystone_authtoken in the config files. There should be a missmatch or error like identity version, identity_url, etc
Hi.. thanks for the response. I have updated the question. Please note that for neutron, I was getting the same error. What I did to get it away for neutron was, I changed the config file order in the /usr/lib/systemd/system/neutron-server.service, giving /etc/neutron/neutron.conf as the first.
Neutron should start once rabbitmq has started, if not, neutron will not start. Can you restart rabbitmq server, then keystone and neutron server. Check if that works
Restarted the services as you mentioned. Neutron server starts fine, but Neutron command doesn't run.(These happens only when I set the config file order as the default, for neutron).