Ask Your Question
-1

hypervisors went wrong in dashboard

asked 2014-12-10 05:02:47 -0500

Glen.GZ gravatar image

updated 2014-12-11 13:46:40 -0500

smaffulli gravatar image

just completed installation of neutron(juno). i login dashboard with admin account, every page looks good, but only hypervisors page went wrong, saying unexpected error. tried to do "nova service-list" on compute node, it responsed like below

 ERROR (ConnectionError): HTTPConnectionPool(host='controller', port=8774): Max retries exceeded with url: /v2/1ce2678eeaf44a62a938d08b44135702/os-services (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

there is nothing in /var/log/nova-compute.log

tried nova-manage service list just now, found out there is something written on juno document, which can be easily make it wrong formation. here is the error

 oslo.config.cfg.ConfigFileParseError: Failed to parse /etc/nova/nova.conf: at /etc/nova/nova.conf:25, No ':' or '=' found in assignment: 'LinuxOVSInterfaceDriver'.

i simply copy and paste in nova.cfg about this section, then it went wrong. well the juno document shows this cli in two lines like below. but actually it should be one line, such us "nova.network.linux_net.LinuxOVSInterfaceDriver" linuxnet_interface_driver = nova.network.linux_net. LinuxOVSInterfaceDriver

edit retag flag offensive close merge delete

Comments

this is a FAQ. Search this site please, there are plenty of suggestions for you on how to continue the investigation

smaffulli gravatar imagesmaffulli ( 2014-12-11 13:47:26 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-12-10 05:12:43 -0500

dbaxps gravatar image

updated 2014-12-10 05:15:55 -0500

You have a problem with nova-api service on Controller:

netstat -lntp | grep 8774
iptables-save | grep 8774
ps -ef | grep nova-api

It should look like this :-

[root@juno1 ~(keystone_admin)]# netstat -lntp | grep 8774
tcp        0      0 0.0.0.0:8774            0.0.0.0:*               LISTEN      1663/python         
[root@juno1 ~(keystone_admin)]# iptables-save | grep 8774
-A INPUT -p tcp -m multiport --dports 8773,8774,8775 -m comment --comment "001 nova api incoming nova_api" -j ACCEPT
[root@juno1 ~(keystone_admin)]# ps -ef | grep 1663
nova      1663     1  0 08:56 ?        00:02:00 /usr/bin/python /usr/bin/nova-api
nova      3569  1663  0 08:56 ?        00:00:00 /usr/bin/python /usr/bin/nova-api
nova      3572  1663  0 08:56 ?        00:00:00 /usr/bin/python /usr/bin/nova-api
nova      3653  1663  0 08:56 ?        00:00:06 /usr/bin/python /usr/bin/nova-api
nova      3655  1663  0 08:56 ?        00:00:06 /usr/bin/python /usr/bin/nova-api
nova      3702  1663  0 08:56 ?        00:00:00 /usr/bin/python /usr/bin/nova-api
nova      3703  1663  0 08:56 ?        00:00:00 /usr/bin/python /usr/bin/nova-api
edit flag offensive delete link more
0

answered 2014-12-11 02:44:02 -0500

Glen.GZ gravatar image

tried nova-manage service list just now, found out there is something written on juno document, which can be easily make it wrong formation. here is the error oslo.config.cfg.ConfigFileParseError: Failed to parse /etc/nova/nova.conf: at /etc/nova/nova.conf:25, No ':' or '=' found in assignment: 'LinuxOVSInterfaceDriver'.

i simply copy and paste in nova.cfg about this section, then it went wrong. well the juno document shows this cli in two lines like below. but actucally it should be one line, such us "nova.network.linux_net.LinuxOVSInterfaceDriver" linuxnet_interface_driver = nova.network.linux_net. LinuxOVSInterfaceDriver

edit flag offensive delete link more

Comments

this doesn't look like an answer. Edit your original question instead, if you need to add more details.

smaffulli gravatar imagesmaffulli ( 2014-12-11 13:44:36 -0500 )edit

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: 2014-12-10 05:02:47 -0500

Seen: 242 times

Last updated: Dec 11 '14