Ask Your Question
1

execute the "nova secgroup-list" error

asked 2015-01-15 02:37:35 -0500

liuqin gravatar image

when I execute the "nova secgroup-list",

the error message is: ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-6fd7098f-c213-4c71-84e1-fbd22bc380b7)

I check the nova-api.log file,I can see the error message: ConnectionFailed: Connection to neutron failed: HTTPConnectionPool(host='127.0.0.1', port=9696): Max retries exceeded with url: /v2.0/security-groups.json?tenant_id=0d185bb98e79495c9a0f5f2f480595dc (Caused by <class 'socket.error'="">: [Errno 111] ECONNREFUSED)

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2015-01-15 04:53:10 -0500

liuqin gravatar image

updated 2015-01-15 05:11:08 -0500

HI when I execute the " nova-manage service list" the result is :

root@controller:~# nova-manage service list
Binary                     Host             Zone       Status    State    Updated_At
nova-cert              controller        internal     enabled    :-)     2015-01-15 10:09:51
nova-consoleauth   controller          internal        enabled    :-)    2015-01-15 10:09:53
nova-scheduler      controller           internal         enabled    :-)    2015-01-15 10:09:54
nova-conductor      controller           internal         enabled    :-)    2015-01-15 10:09:53
nova-compute        compute-1           nova             enabled    :-)   2015-01-15 10:10:01

then I check the neutron service status:

root@controller:~# service neutron-server status
neutron-server start/running, process 1930

root@juno-network:~# service neutron-plugin-openvswitch-agent status
neutron-plugin-openvswitch-agent start/running, process 1260

root@juno-network:~# service neutron-l3-agent status
neutron-l3-agent start/running, process 1357

root@juno-network:~# service neutron-dhcp-agent status
neutron-dhcp-agent start/running, process 1352

root@juno-network:~# service neutron-metadata-agent status
neutron-metadata-agent start/running, process 1256

then I restart all the neutron service and nova service.But this issue can't be resolved.

edit flag offensive delete link more
0

answered 2015-01-15 03:51:12 -0500

Hello, first ensure that whether all the OpenStack services are runnning. I think Neutron services are not running. Check the status of all Neutron services using the following command.

nova-manage service list

edit flag offensive delete link more

Comments

hi,I check all the neutron service status,which are ok. then I restart all the neutron and nova service.But this issue can't be resolved.

liuqin gravatar imageliuqin ( 2015-01-15 04:56:35 -0500 )edit

Hi Liuqin, by looking at the output results i'm not sure whether nova-api service is running. So, please check whether the nova-api service is running. Also, check whether messaging server "rabbitmq-server" is running. I guess the nova-api is the culprit, so, make sure it's running

Yashpal Beppurana gravatar imageYashpal Beppurana ( 2015-01-15 05:45:39 -0500 )edit

Hi YashpaI Beppurana, I check the nova-api status,which is running. root@controller:~# service nova-api status nova-api start/running, process 1166

then I check the rabbitmq-server ,which also is running.

liuqin gravatar imageliuqin ( 2015-01-15 20:59:43 -0500 )edit

hi I have resolved this issue. I comment out the bind address in neutron.conf. then restart all services. Thanks!

liuqin gravatar imageliuqin ( 2015-01-16 01:15:57 -0500 )edit
0

answered 2015-01-16 00:03:06 -0500

hello,

please do check the rabbitmq password which you mentioned in /etc/nova/nova.conf

the same has to reflect in /etc/glance/glance-api.conf and /etc/glance/glance-registry.conf

set verbose=true and debug=true in above configuration file

then restart all the services and check once.

edit flag offensive delete link more

Comments

hi I have resolved this issue. I comment out the bind address in neutron.conf. then restart all services. Thanks!

liuqin gravatar imageliuqin ( 2015-01-16 01:15:53 -0500 )edit

which IP Address have you used for your host machine its not recomended to use 127.0.0.1 as this IP is meant for localhost.

PradeepNaik gravatar imagePradeepNaik ( 2015-01-16 01:34:08 -0500 )edit
0

answered 2015-01-15 04:04:25 -0500

9lives gravatar image

besides check the nova services and neutron services using the following command, better to check if any firewall blocks the connection or you are running behind proxy.

#check nova services on controller node
nova-manage service list

#check neutron services 
sudo service neutron-server status
service neutron-plugin-openvswitch-agent status
service neutron-l3-agent status
service neutron-dhcp-agent status
service neutron-metadata-agent status

Then restart all the above services

#restart nova services on controller

    service nova-api restart
    service nova-cert restart
    service nova-consoleauth restart
    service nova-scheduler restart
    service nova-conductor restart
    service nova-novncproxy restart

#restart all neutron related services
    service neutron-server restart
    service neutron-plugin-openvswitch-agent restart
    service neutron-l3-agent restart
    service neutron-dhcp-agent restart
    service neutron-metadata-agent restart

and try again.

hope that helps!

Vic

edit flag offensive delete link more

Comments

hi,I check all the neutron service status,which are ok. then I restart all the neutron and nova service.But this issue can't be resolved.

liuqin gravatar imageliuqin ( 2015-01-15 04:56:22 -0500 )edit

could you paste your /etc/neutron/neutron.conf and /etc/nova/nova.conf to paste.openstack.org? and are you using all-in-one installation or multinode installation mode?

9lives gravatar image9lives ( 2015-01-15 05:22:34 -0500 )edit

Hi I use multinode mode.I have three node:controller node , network node and compute node. I paste the controller node's neutron.conf and nova.conf .the url is http://paste.openstack.org/show/158202/ and http://paste.openstack.org/show/158203/
the management ip is 192.168.5.21

liuqin gravatar imageliuqin ( 2015-01-15 21:10:17 -0500 )edit

the network node 's neutron.conf url: http://paste.openstack.org/show/158204/

liuqin gravatar imageliuqin ( 2015-01-15 21:13:54 -0500 )edit

the compute node's neutron.conf url: http://paste.openstack.org/show/158206/ nova.conf url: http://paste.openstack.org/show/158207/

liuqin gravatar imageliuqin ( 2015-01-15 21:17:08 -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

2 followers

Stats

Asked: 2015-01-15 02:37:35 -0500

Seen: 459 times

Last updated: Jan 16 '15