Ask Your Question
0

cinder error Errno 111 Connection refused [closed]

asked 2014-06-27 05:01:51 -0500

leethaoqn gravatar image

updated 2014-06-27 13:02:05 -0500

smaffulli gravatar image

I using LVM to provide block storage . I got this error when start cinder on controller node.

ERROR: Unable to establish connection:HTTPConnectionPool(host='controller',
port=8776): Max retries exceeded with url:/v1/b596f4a466b416c21f876288dfc/volumes/detail(Caused by <class 'socket.error'>: [Errno 111] Connection refused)`

and the cinder.log : http://pastebin.com/Fzgkc8hk

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by koolhead17
close date 2014-06-30 08:35:46.311091

Comments

netstat -lntp | grep 8776
iptables-save | grep 8776

dbaxps gravatar imagedbaxps ( 2014-06-27 05:11:32 -0500 )edit

It doesn't show any thing. P/S : i can't start cinder-* service

leethaoqn gravatar imageleethaoqn ( 2014-06-27 05:13:58 -0500 )edit

[root@icehouse1 ~(keystone_admin)]# netstat -antp | grep 8776
tcp 0 0 0.0.0.0:8776 0.0.0.0:* LISTEN 3023/python

[root@icehouse1 ~(keystone_admin)]# ps -ef | grep 3023
cinder 3023 1 0 08:58 ? 00:01:44 /usr/bin/python /usr/bin/cinder-api --config-file
/usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf --logfile /var/log/cinder/api.log
cinder 3164 3023 0 08:58 ? 00:00:21 /usr/bin/python /usr/bin/cinder-api --config-file
/usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf --logfile /var/log/cinder/api.log
root 29669 4321 0 14:34 pts/0 00:00:00 grep --color=auto 3023

dbaxps gravatar imagedbaxps ( 2014-06-27 05:35:29 -0500 )edit

Verify volume_driver=. . . . .
in /etc/cinder/cinder.conf
I suspect you are using wrong driver.

dbaxps gravatar imagedbaxps ( 2014-06-27 05:55:00 -0500 )edit

in /etc/cinder/cinder.conf :

volume_driver=nova.volume.driver.ISCSIDriver
enabled_apis=ec2,osapi_compute,metadata
volume_api_class=nova.volume.cinder.API
iscsi_helper=tgtadm
leethaoqn gravatar imageleethaoqn ( 2014-06-27 07:10:18 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-06-27 11:35:01 -0500

dbaxps gravatar image

updated 2014-06-27 12:59:24 -0500

smaffulli gravatar image

If nova.conf contains volume_api_class=nova.volume.cinder.API, same entry should not be present in /etc/cinder/cinder.conf

Errno 111 is iptables (firewall) problem. Run: service openstack-cinder-api restart

$ ps -ef | cinder-api

If it's running, open port 8776 on your firewall.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-27 05:01:51 -0500

Seen: 2,086 times

Last updated: Jun 27 '14