cinder-volume is down

asked 2016-11-22 20:38:43 -0500

risakzhanov gravatar image

updated 2016-11-30 10:20:54 -0500

rbowen gravatar image

Hello everybody. I'm following the newton documentation with 3 nodes. Currently I have compute, controller and storage nodes up and running on Ubuntu 16.04. But for some reason I can't get storage node up, it's showing down from the controller node. Below is my configuration:

From controller node:

root@chi2-lab-hv-04:~/OpenStack# openstack volume service list
+------------------+--------------------+------+---------+-------+----------------------------+
| Binary           | Host               | Zone | Status  | State | Updated At                 |
+------------------+--------------------+------+---------+-------+----------------------------+
| cinder-volume    | chi2-lab-hv-02@lvm | nova | enabled | down  | 2016-11-17T19:10:11.000000 |
| cinder-scheduler | chi2-lab-hv-04     | nova | enabled | up    | 2016-11-23T02:25:29.000000 |
+------------------+--------------------+------+---------+-------+----------------------------+

[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
transport_url = rabbit://openstack:password@controller
my_ip = 10.144.220.251

[database]
connection = mysql+pymysql://cinder:password@controller/cinder

[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = cinder
password = password

[oslo_concurrency]
lock_path = /var/lib/cinder/tmp

From storage node:

[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
#lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
transport_url = rabbit://openstack:password@controller
auth_strategy = keystone
my_ip = 10.144.220.253
enabled_backends = lvm
glance_api_servers = http://controller:9292

[database]
connection = mysql+pymysql://cinder:password@controller/cinder

[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = cinder
password = password

[lvm]
volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
volume_group = cinder-volumes
iscsi_protocol = iscsi
iscsi_helper = tgtadm

[oslo_concurrency]
lock_path = /var/lib/cinder/tmp

Error message log from storage node:

2016-11-22 20:35:55.609 32421 INFO cinder.rpc [req-95c25581-020a-439e-b339-109eaf7caff4 - - - - -] Automatically selected cinder-scheduler objects version 1.11 as minimum service version.
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume [req-95c25581-020a-439e-b339-109eaf7caff4 - - - - -] Volume service chi2-lab-hv-02@lvm failed to start.
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume Traceback (most recent call last):
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/cmd/volume.py", line 81, in main
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume     binary='cinder-volume')
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 268, in create
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume     service_name=service_name)
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 150, in __init__
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume     *args, **kwargs)
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 235, in __init__
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume     *args, **kwargs)
2016-11-22 20:35:55.610 32421 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/manager.py", line 156, in __init__ ...
(more)
edit retag flag offensive close merge delete