dashboard issue

asked 2014-01-02 01:29:03 -0600

ygk gravatar image

updated 2014-01-02 06:29:10 -0600

dheeru gravatar image

I have installed openstack on centos . The dashboard was working fine until recently it was throwing some error: The httpd log shows this:

---------------
[Wed Jan 01 23:16:45 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 147, in get_neutron_limits
[Wed Jan 01 23:16:45 2014] [error]     api.neutron.is_security_group_extension_supported(self.request)
[Wed Jan 01 23:16:45 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 761, in is_security_group_extension_supported
[Wed Jan 01 23:16:45 2014] [error]     return is_extension_supported(request, 'security-group')
[Wed Jan 01 23:16:45 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/utils/memoized.py", line 33, in __call__
[Wed Jan 01 23:16:45 2014] [error]     value = self.func(*args)
[Wed Jan 01 23:16:45 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 741, in is_extension_supported
[Wed Jan 01 23:16:45 2014] [error]     extensions = list_extensions(request)
[Wed Jan 01 23:16:45 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/utils/memoized.py", line 33, in __call__
[Wed Jan 01 23:16:45 2014] [error]     value = self.func(*args)
[Wed Jan 01 23:16:45 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 732, in list_extensions
[Wed Jan 01 23:16:45 2014] [error]     extensions_list = neutronclient(request).list_extensions()
[Wed Jan 01 23:16:45 2014] [error]   File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 108, in with_params
[Wed Jan 01 23:16:45 2014] [error]   File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 286, in list_extensions
[Wed Jan 01 23:16:45 2014] [error]   File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1183, in get
[Wed Jan 01 23:16:45 2014] [error]   File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1175, in retry_request
[Wed Jan 01 23:16:45 2014] [error] ConnectionFailed: Connection to neutron failed: Maximum attempts reached

It is suggested in forums to celar connection pools. But how to do it ?

edit retag flag offensive close merge delete

Comments

ensure that all your services are up and running.

dheeru gravatar imagedheeru ( 2014-01-02 02:06:23 -0600 )edit

Did you check that neutron server is up and running ? you can try 'service neutron status'. If not running restart using 'service neutron restart'

dheeru gravatar imagedheeru ( 2014-01-02 08:00:11 -0600 )edit

ALl the services are running fine.

ygk gravatar imageygk ( 2014-01-03 00:31:22 -0600 )edit
1

connection to neutron failed is clear case of reachability. Either IP is changed or port is changed or something is not running or name resolution is an issue. I feel you need to explain your setup further to solve. if you would like to chat with online, do let me know. I can share my email id.

dheeru gravatar imagedheeru ( 2014-01-03 01:00:05 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-08-06 06:30:06 -0600

Worked fore me..

Ubuntu, Icehouse deploymemt

Thx Eric

edit flag offensive delete link more
0

answered 2014-01-20 03:43:12 -0600

shalmali gravatar image

Go to the mysql and run flush hosts command.

run following commands: 1. # mysql -u root -p 2. mysql> use keystone; Database changed 3.FLUSH HOSTS;

and Done. These steps resolved my issue !! hope this works for you as well !!

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-02 01:29:03 -0600

Seen: 427 times

Last updated: Jan 20 '14