Ask Your Question
0

quantum net-create --tenant-id does not complete

asked 2013-08-26 06:51:29 -0500

Srikanth gravatar image

updated 2013-08-27 08:44:03 -0500

Jobin gravatar image

Hello,

I am trying to get a 3-Node setup on Ubuntu 13.04 - using the setup instructions at: https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst

I believe I have followed the instructions verbatim - but I am unable to complete Network creation for some reason and hence proceed to testing a VM creation and other subsequent steps.

quantum net-create seems to hang eternally - and I have to Ctrl-C out the command. Following is the Stack trace that is thrown - when terminated. Any ideas what could be potentially wrong and the fix for this issue?

Traceback (most recent call last):
  File "/usr/bin/quantum", line 9, in <module>
    load_entry_point('python-quantumclient==2.2.0', 'console_scripts', 'quantum')()
  File "/usr/lib/python2.7/dist-packages/quantumclient/shell.py", line 630, in main
    return QuantumShell(QUANTUM_API_VERSION).run(argv)
  File "/usr/lib/python2.7/dist-packages/quantumclient/shell.py", line 481, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/dist-packages/quantumclient/shell.py", line 497, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.7/dist-packages/quantumclient/shell.py", line 50, in run_command
    return cmd.run(known_args)
  File "/usr/lib/python2.7/dist-packages/quantumclient/common/command.py", line 35, in run
    return super(OpenStackCommand, self).run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 84, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/dist-packages/quantumclient/common/command.py", line 41, in take_action
    return self.get_data(parsed_args)
  File "/usr/lib/python2.7/dist-packages/quantumclient/quantum/v2_0/__init__.py", line 339, in get_data
    data = obj_creator(body)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 107, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 306, in create_network
    return self.post(self.networks_path, body=body)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 987, in post
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 904, in do_request
    resp, replybody = self.httpclient.do_request(action, method, body=body)
  File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 148, in do_request
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 127, in _cs_request
    resp, body = self.request(*args, **kargs)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1596, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1344, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1314, in _conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.7/httplib.py", line 1045, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 409, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 476, in readline
    data = self._sock.recv(self._rbufsize)
KeyboardInterrupt
edit retag flag offensive close merge delete

Comments

Donno. Check the quantum server and keystone logs. Run 'quantum --verbose net-create ...' to find what do_request is calling.

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-08-27 08:59:37 -0500 )edit

I'm having the same problem. Did you ever get an answer to this problem?

mssanch2002 gravatar imagemssanch2002 ( 2013-11-12 19:50:07 -0500 )edit
1

figured it out. found this: The next step may hang if rabbitmq does not have 1GB free space in /var/lib/rabbitmq (its default disk_free_limit setting). Increased the size of /var and it fixed the problem.

mssanch2002 gravatar imagemssanch2002 ( 2013-11-12 21:43:00 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-16 23:13:43 -0500

Mohit gravatar image

I have followed the another document/single node of the same and have internet access to VM , You can try via GUI following the post

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: 2013-08-26 06:51:29 -0500

Seen: 294 times

Last updated: Aug 16 '15