Ask Your Question
0

neutron 503 Service Unavailable

asked 2017-04-05 10:46:43 -0500

Sapos gravatar image

Hello! Have a problem with neutron server (Mitaka release). Trying to request neutron agent-list and got error:

503 Service Unavailable

The server is currently unavailable. Please try again at a later time.


Neutron server returns request_ids: ['req-606b5567-3ba5-4196-a45f-15baa05ef9f7']

The neutron --debug agent-list says:

DEBUG: keystoneauth.session REQ: curl -g -i -X GET http://10.65.100.40:35357/v3 -H "Accept: application/json" -H "User-Agent: keystoneauth1/2.4.1 python-requests/2.9.1 CPython/2.7.12"
DEBUG: keystoneauth.session RESP: [200] Content-Length: 252 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.18 (Ubuntu) Connection: Keep-Alive Date: Wed, 05 Apr 2017 15:36:39 GMT x-openstack-request-id: req-b6863870-a945-44c2-ba82-7599c84ff555 Content-Type: application/json X-Distribution: Ubuntu 
RESP BODY: {"version": {"status": "stable", "updated": "2016-04-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.6", "links": [{"href": "http://10.65.100.40:35357/v3/", "rel": "self"}]}}

DEBUG: keystoneauth.identity.v3.base Making authentication request to http://10.65.100.40:35357/v3/auth/tokens
DEBUG: keystoneauth.session REQ: curl -g -i -X GET http://10.65.100.40:9696/v2.0/agents.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a9f8fbe6347d8523b3e9e1cbc804fdd9f2f5f432"
DEBUG: keystoneauth.session RESP: [503] Date: Wed, 05 Apr 2017 15:36:39 GMT Connection: keep-alive Content-Type: text/plain; charset=UTF-8 Content-Length: 100 X-Openstack-Request-Id: req-f9b01550-03d5-458d-992f-e786c04b4aef 
RESP BODY: 503 Service Unavailable

The server is currently unavailable. Please try again at a later time.



DEBUG: neutronclient.v2_0.client Error message: 503 Service Unavailable

The server is currently unavailable. Please try again at a later time.


ERROR: neutronclient.shell 503 Service Unavailable

The server is currently unavailable. Please try again at a later time.


Neutron server returns request_ids: ['req-f9b01550-03d5-458d-992f-e786c04b4aef']
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 879, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 114, in run_command
    return cmd.run(known_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 403, in run
    return super(NeutronCommand, self).run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 92, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 766, in take_action
    data = self.retrieve_list(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 730, in retrieve_list
    data = self.call_server(neutron_client, search_opts, parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 703, in call_server
    data = obj_lister(**search_opts)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 97, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1409, in list_agents
    return self.get(self.agents_path, params=_params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 358, in get
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 335, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7 ...
(more)
edit retag flag offensive close merge delete

Comments

can you please share also neutron configuration files?

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-04-05 10:56:06 -0500 )edit

Yes, here is the neutron.conf - http://paste.openstack.org/show/605588/

Sapos gravatar imageSapos ( 2017-04-06 02:20:46 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-04-06 10:09:00 -0500

Sapos gravatar image

Problem solved! I've just recreated the neutron user with new password and now it works fine. Thanks!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-04-05 10:46:43 -0500

Seen: 1,466 times

Last updated: Apr 06 '17