quantum net-create gives "An unknown exception occured"

Asked by Asif

Hi,
  I am using Folsom on ubuntu 12.04. quantum-server is running, rabbitmq is running also. In nova-manage all the services are showing :). But when I run "quantum net-create net1" it gives an exception.

Is there a way to debug it? look for some logs and see whats going on?

thanks
Asif

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu quantum Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Asif (asif-roll1) said :
#1

I put --debug flag with the command and found following messages:
raceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 249, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/local/lib/python2.7/dist-packages/quantumclient/common/command.py", line 35, in run
    return super(OpenStackCommand, self).run(parsed_args)
  File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 84, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/local/lib/python2.7/dist-packages/quantumclient/common/command.py", line 41, in take_action
    return self.get_data(parsed_args)
  File "/usr/local/lib/python2.7/dist-packages/quantumclient/quantum/v2_0/extension.py", line 41, in get_data
    quantum_client = self.get_client()
  File "/usr/local/lib/python2.7/dist-packages/quantumclient/quantum/v2_0/__init__.py", line 187, in get_client
    return self.app.client_manager.quantum
  File "/usr/local/lib/python2.7/dist-packages/quantumclient/common/clientmanager.py", line 41, in __get__
    self._handle = self.factory(instance)
  File "/usr/local/lib/python2.7/dist-packages/quantumclient/quantum/client.py", line 36, in make_client
    instance.initialize()
  File "/usr/local/lib/python2.7/dist-packages/quantumclient/common/clientmanager.py", line 78, in initialize
    httpclient.authenticate()
  File "/usr/local/lib/python2.7/dist-packages/quantumclient/client.py", line 207, in authenticate
    self._extract_service_catalog(body)
  File "/usr/local/lib/python2.7/dist-packages/quantumclient/client.py", line 176, in _extract_service_catalog
    endpoint_type='adminURL')
  File "/usr/local/lib/python2.7/dist-packages/quantumclient/client.py", line 80, in url_for
    raise exceptions.EndpointNotFound()
EndpointNotFound: An unknown exception occurred.

so this is due to EndpointNotFound, I can see that it tries to connect to keystone identity provider but connection goes into TIME_WAIT.

What authentication information do I need to put into keystone?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

sudo apt-get --reinstall install python2.7

Can you help with this problem?

Provide an answer of your own, or ask Asif for more information if necessary.

To post a message you must log in.