Ask Your Question
0

internal server error

asked 2013-03-20 11:57:58 -0500

msarma00 gravatar image

Hi,

I installed openstack using devstack (single node install). And i am able to use the openstack dashboard. I could successfully create users as well, but i am not able to create networks. On submitting the 'create network' button, i got the following error :-

There was an error submitting the form. Please try again.

Also, i tried creating a network using the cli :-

quantum net-create net1

But it gave the following error:-

Request failed: internal server error while processing your request.

edit retag flag offensive close merge delete

20 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-22 06:25:19 -0500

Just wondering why [RESTPROXY] servers parameter is 127.0.0.1:80 Isn't this address used by Horizon dashboard? Is it possible that your floodlight service is trying to use the same address as Horizon? If so, you need to reconfigure either Horizon or floodlight service to use different ports.

edit flag offensive delete link more
0

answered 2013-03-21 09:13:13 -0500

msarma00 gravatar image

Hi, i removed q-agt and q-l3 from localrc and then run stack.sh again. This time there was no error. But on trying to create a network, this was the error :-

\n \n\n

\n

\n You\'re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n</body>\n</html>\n' 2013-03-21 14:22:29 DEBUG [quantum.openstack.common.lockutils] Released file lock "rest_call" at /tmp/tmpWPEamV/bsn-rest_call for method "rest_call"... 2013-03-21 14:22:29 ERROR [quantum.plugins.bigswitch.plugin] ServerProxy: POST failure for servers: ('localhost', 80) 2013-03-21 14:22:29 ERROR [quantum.plugins.bigswitch.plugin] ServerProxy: POST failure for all servers: (('localhost', 80),) 2013-03-21 14:22:29 ERROR [quantum.plugins.bigswitch.plugin] QuantumRestProxyV2:Unable to create remote network: Error in REST call to remote network controller: None 2013-03-21 14:22:29 ERROR [quantum.api.v2.resource] create failed Traceback (most recent call last): File "/opt/stack/quantum/quantum/api/v2/resource.py", line 82, in resource result = method(request=request, *args) File "/opt/stack/quantum/quantum/api/v2/base.py", line 369, in create obj = obj_creator(request.context, *kwargs) File "/opt/stack/quantum/quantum/plugins/bigswitch/plugin.py", line 387, in create_network raise TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType

edit flag offensive delete link more
0

answered 2013-03-20 12:29:43 -0500

msarma00 gravatar image

Anyone.. please help me solve this problem.

edit flag offensive delete link more
0

answered 2013-03-20 12:37:19 -0500

Can you go to devstack directory and run ./rejoin_stack.sh That will bring up screen session with tabs related to all openstack services running. Switch to the tab with name q-svc (ctrl-a-<num> to switch to tab #N, or ctrl-a-n to switch to the next tab) Then try to create network again. You should see some errors printed in quantum-server log. Please provide them for further analyzis

edit flag offensive delete link more
0

answered 2013-03-21 12:02:12 -0500

msarma00 gravatar image

What's wrong with quantum now? Can anyone please help?

edit flag offensive delete link more
0

answered 2013-03-21 04:13:59 -0500

msarma00 gravatar image

This was the error :-

2013-03-21 09:42:36 ERROR [quantum.openstack.common.rpc.amqp] Exception during message handling Traceback (most recent call last): File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 430, in _process_data rval = self.proxy.dispatch(ctxt, version, method, *args) File "/opt/stack/quantum/quantum/common/rpc.py", line 43, in dispatch quantum_ctxt, version, method, *kwargs) File "/opt/stack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 136, in dispatch raise AttributeError("No such RPC function '%s'" % method) AttributeError: No such RPC function 'sync_routers' 2013-03-21 09:42:36 ERROR [quantum.openstack.common.rpc.common] Returning exception No such RPC function 'sync_routers' to caller 2013-03-21 09:42:36 ERROR [quantum.openstack.common.rpc.common] ['Traceback (most recent call last):\n', ' File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 430, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, *args)\n', ' File "/opt/stack/quantum/quantum/common/rpc.py", line 43, in dispatch\n quantum_ctxt, version, method, *kwargs)\n', ' File "/opt/stack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 136, in dispatch\n raise AttributeError("No such RPC function \'%s\'" % method)\n', "AttributeError: No such RPC function 'sync_routers'\n"] 2013-03-21 09:42:36 DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 0906bb7294444087b1bbbd4c2227f3ef.

edit flag offensive delete link more
0

answered 2013-03-21 04:19:28 -0500

msarma00 gravatar image

On giving the command : quantum net-create net1 This is the error log:-

2013-03-21 09:42:36 ERROR [quantum.openstack.common.rpc.amqp] Exception during message handling Traceback (most recent call last): File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 430, in _process_data rval = self.proxy.dispatch(ctxt, version, method, *args) File "/opt/stack/quantum/quantum/common/rpc.py", line 43, in dispatch quantum_ctxt, version, method, *kwargs) File "/opt/stack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 136, in dispatch raise AttributeError("No such RPC function '%s'" % method) AttributeError: No such RPC function 'sync_routers' 2013-03-21 09:42:36 ERROR [quantum.openstack.common.rpc.common] Returning exception No such RPC function 'sync_routers' to caller 2013-03-21 09:42:36 ERROR [quantum.openstack.common.rpc.common] ['Traceback (most recent call last):\n', ' File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 430, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, *args)\n', ' File "/opt/stack/quantum/quantum/common/rpc.py", line 43, in dispatch\n quantum_ctxt, version, method, *kwargs)\n', ' File "/opt/stack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 136, in dispatch\n raise AttributeError("No such RPC function \'%s\'" % method)\n', "AttributeError: No such RPC function 'sync_routers'\n"] 2013-03-21 09:42:36 DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 0906bb7294444087b1bbbd4c2227f3ef.

And on creating a network using the dashboard, this is the error log:-

2013-03-21 09:48:36 DEBUG [quantum.openstack.common.rpc.amqp] received {u'_context_roles': [u'admin'], u'_msg_id': u'139770d475e340698e277f7863d24548', u'_context_read_deleted': u'no', u'_context_tenant_id': None, u'args': {u'host': u'tcs-VirtualBox', u'router_ids': None, u'fullsync': None}, u'_unique_id': u'c3f801c97a3d4537949194c1b0ad60fc', u'_context_is_admin': True, u'version': u'1.0', u'_context_project_id': None, u'_context_timestamp': u'2013-03-21 04:18:36.414111', u'_context_user_id': None, u'method': u'sync_routers'} 2013-03-21 09:48:36 DEBUG [quantum.openstack.common.rpc.amqp] unpacked context: {'user_id': None, 'roles': [u'admin'], 'tenant_id': None, 'is_admin': True, 'timestamp': u'2013-03-21 04:18:36.414111', 'project_id': None, 'read_deleted': u'no'} 2013-03-21 09:48:36 ERROR [quantum.openstack.common.rpc.amqp] Exception during message handling Traceback (most recent call last): File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 430, in _process_data rval = self.proxy.dispatch(ctxt, version, method, *args) File "/opt/stack/quantum/quantum/common/rpc.py", line 43, in dispatch quantum_ctxt, version, method, *kwargs) File "/opt/stack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 136, in dispatch raise AttributeError("No such RPC function '%s'" % method) AttributeError: No such RPC function 'sync_routers' 2013-03-21 09:48:36 ERROR [quantum.openstack.common.rpc.common] Returning exception No such RPC function 'sync_routers' to caller 2013-03-21 09:48:36 ERROR [quantum.openstack.common.rpc.common] ['Traceback (most recent call last):\n', ' File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 430, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, *args)\n', ' File "/opt/stack/quantum/quantum/common/rpc.py", line 43, in dispatch\n quantum_ctxt, version, method, *kwargs)\n', ' File "/opt/stack/quantum/quantum/openstack ... (more)

edit flag offensive delete link more
0

answered 2013-03-21 05:59:13 -0500

That seems strange as if l3 agent code was newer than quantum server code

Could you try to do the following: 1) run ./unstack.sh 2) sudo rm -rf /opt/stack/quantum 3) ./stack.sh

Check if issue still exist.

edit flag offensive delete link more
0

answered 2013-03-21 06:06:40 -0500

msarma00 gravatar image

okay.. will do that. Also, do i have to enable internet connectivity this time when i run ./stack.sh ?

edit flag offensive delete link more
0

answered 2013-03-21 06:19:37 -0500

Yes, internet access should be enabled as devstack checks version of all packages it needs and also pull openstack sources from http://github.com .

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-03-20 11:57:58 -0500

Seen: 2,546 times

Last updated: Mar 22 '13