Ask Your Question
1

Why isn't neutron net-create working? [closed]

asked 2014-02-11 17:45:56 -0500

jaysauce gravatar image

updated 2014-02-11 18:00:54 -0500

When I run the following command I get the following error and don't know why:

root@openstack-controller:~# neutron net-create ext-net -- --router:external=True
{"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1129, \"Host 'openstack-controller' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'\") None None", "code": 500, "title": "Internal Server Error"}}

Anyone have a clue as to what I could do to figure out where the issue is?

Thanks in advance, very much appreciated :)

Edit: I also just learned that I can't seem to login anymore. Once I do I get an error.

This is what I see in my apache error logs:

[Tue Feb 11 23:56:55 2014] [error] Internal Server Error: /horizon/project/
[Tue Feb 11 23:56:55 2014] [error] Traceback (most recent call last):
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115, in get_response
[Tue Feb 11 23:56:55 2014] [error]     response = callback(request, *callback_args, **callback_kwargs)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Tue Feb 11 23:56:55 2014] [error]     return view_func(request, *args, **kwargs)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 54, in dec
[Tue Feb 11 23:56:55 2014] [error]     return view_func(request, *args, **kwargs)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Tue Feb 11 23:56:55 2014] [error]     return view_func(request, *args, **kwargs)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 68, in view
[Tue Feb 11 23:56:55 2014] [error]     return self.dispatch(request, *args, **kwargs)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 86, in dispatch
[Tue Feb 11 23:56:55 2014] [error]     return handler(request, *args, **kwargs)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 155, in get
[Tue Feb 11 23:56:55 2014] [error]     handled = self.construct_tables()
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 146, in construct_tables
[Tue Feb 11 23:56:55 2014] [error]     handled = self.handle_table(table)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 118, in handle_table
[Tue Feb 11 23:56:55 2014] [error]     data = self._get_data_dict()
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 182, in _get_data_dict
[Tue Feb 11 23:56:55 2014] [error]     self._data = {self.table_class._meta.name: self.get_data()}
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard ...
(more)
edit retag flag offensive reopen delete

Closed for the following reason duplicate question by Closed for the following reason "duplicate question" by jaysauce
close date 2014-02-17 10:32:01.732873

Comments

anyone have a clue?

jaysauce ( 2014-02-12 09:11:14 -0500 )edit

Check connectivity to your mysql server, like the error message seems to indicate. Edit the question to add more details.

smaffulli ( 2014-02-14 19:07:38 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-17 10:31:15 -0500

jaysauce gravatar image

Apparently I hadn't given permission to the neutron user correctly. I missed something when I did that, thanks smaffulli for noticing what I couldn't :)!

edit flag offensive delete publish link more

Stats

Asked: 2014-02-11 17:45:56 -0500

Seen: 83 times

Last updated: Feb 17