Hi Experts,
After neutron configuration,, I am getting below error while executing command to create external network on my controller node. Please guide me to fix this issue..
@control ~]# neutron --debug net-create ext-net --shared --router:external=True
DEBUG: neutronclient.neutron.v2_0.network.CreateNetwork get_data(Namespace(admin_state=True, columns=[], formatter='table', name=u'ext-net', prefix='', request_format='json', shared=True, tenant_id=None, variables=[]))
DEBUG: neutronclient.client
REQ: curl -i http://control:35357/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "labs123"}}}'
DEBUG: neutronclient.client RESP:{'date': 'Wed, 08 Oct 2014 05:38:43 GMT', 'vary': 'X-Auth-Token', 'content-length': '143', 'status': '500', 'content-type': 'application/json'} {"error": {"message": "An unexpected error prevented the server from fulfilling your request.", "code": 500, "title": "Internal Server Error"}}
ERROR: neutronclient.shell {"error": {"message": "An unexpected error prevented the server from fulfilling your request.", "code": 500, "title": "Internal Server Error"}}
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/neutronclient/shell.py", line 526, in run_subcommand
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/lib/python2.6/site-packages/neutronclient/shell.py", line 79, in run_command
return cmd.run(known_args)
File "/usr/lib/python2.6/site-packages/neutronclient/common/command.py", line 34, in run
return super(OpenStackCommand, self).run(parsed_args)
File "/usr/lib/python2.6/site-packages/cliff/display.py", line 84, in run
column_names, data = self.take_action(parsed_args)
File "/usr/lib/python2.6/site-packages/neutronclient/common/command.py", line 40, in take_action
return self.get_data(parsed_args)
File "/usr/lib/python2.6/site-packages/neutronclient/neutron/v2_0/__init__.py", line 410, in get_data
neutron_client = self.get_client()
File "/usr/lib/python2.6/site-packages/neutronclient/neutron/v2_0/__init__.py", line 350, in get_client
return self.app.client_manager.neutron
File "/usr/lib/python2.6/site-packages/neutronclient/common/clientmanager.py", line 40, in __get__
self._handle = self.factory(instance)
File "/usr/lib/python2.6/site-packages/neutronclient/neutron/client.py", line 36, in make_client
instance.initialize()
File "/usr/lib/python2.6/site-packages/neutronclient/common/clientmanager.py", line 94, in initialize
httpclient.authenticate()
File "/usr/lib/python2.6/site-packages/neutronclient/client.py", line 244, in authenticate
raise exceptions.Unauthorized(message=resp_body)
Unauthorized: {"error": {"message": "An unexpected error prevented the server from fulfilling your request.", "code": 500, "title": "Internal Server Error"}}
DEBUG: neutronclient.shell clean_up CreateNetwork
DEBUG: neutronclient.shell Got an error: {"error": {"message": "An unexpected error prevented the server from fulfilling your request.", "code": 500, "title": "Internal Server Error"}}