Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why isn't neutron net-create working?

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 :)

Why isn't neutron net-create working?

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/wsgi/../../openstack_dashboard/dashboards/project/overview/views.py", line 56, in get_data
[Tue Feb 11 23:56:55 2014] [error]     super(ProjectOverview, self).get_data()
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py", line 29, in get_data
[Tue Feb 11 23:56:55 2014] [error]     self.usage.get_limits()
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 178, in get_limits
[Tue Feb 11 23:56:55 2014] [error]     self.get_neutron_limits()
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 147, in get_neutron_limits
[Tue Feb 11 23:56:55 2014] [error]     api.neutron.is_security_group_extension_supported(self.request)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 761, in is_security_group_extension_supported
[Tue Feb 11 23:56:55 2014] [error]     return is_extension_supported(request, 'security-group')
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/utils/memoized.py", line 33, in __call__
[Tue Feb 11 23:56:55 2014] [error]     value = self.func(*args)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 741, in is_extension_supported
[Tue Feb 11 23:56:55 2014] [error]     extensions = list_extensions(request)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/utils/memoized.py", line 33, in __call__
[Tue Feb 11 23:56:55 2014] [error]     value = self.func(*args)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 732, in list_extensions
[Tue Feb 11 23:56:55 2014] [error]     extensions_list = neutronclient(request).list_extensions()
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 108, in with_params
[Tue Feb 11 23:56:55 2014] [error]     ret = self.function(instance, *args, **kwargs)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 286, in list_extensions
[Tue Feb 11 23:56:55 2014] [error]     return self.get(self.extensions_path, params=_params)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1183, in get
[Tue Feb 11 23:56:55 2014] [error]     headers=headers, params=params)
[Tue Feb 11 23:56:55 2014] [error]   File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1175, in retry_request
[Tue Feb 11 23:56:55 2014] [error]     raise exceptions.ConnectionFailed(reason=_("Maximum attempts reached"))
[Tue Feb 11 23:56:55 2014] [error] ConnectionFailed: Connection to neutron failed: Maximum attempts reached