Ask Your Question
0

Cinder SQL & Volume Creation Failure

asked 2014-06-24 09:17:40 -0500

loopback127 gravatar image

I have a multinode IceHouse OpenStack setup right now. I am having trouble getting cinder to work. As far as I can tell this may be a sql connection issue though I'm not too sure what's causing it...

Here is some information which I have gathered:

Computer-01 Node (Volume host)

The volume group information of the "cinder-volumes" vg found on the compute-01 node:

[root@compute-01 ~]# pvdisplay 
  --- Physical volume ---
  PV Name               /dev/sda3
  VG Name               cinder-volumes
  PV Size               100.00 GiB / not usable 4.00 MiB
  Allocatable           yes 
  PE Size               4.00 MiB
  Total PE              25599
  Free PE               25599
  Allocated PE          0
  PV UUID               8VhheA-tqOW-4k7L-ceMI-Dz2e-nTSW-GXyji8

  ...

[root@compute-01 ~]# vgdisplay 
  --- Volume group ---
  VG Name               cinder-volumes
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  1
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               100.00 GiB
  PE Size               4.00 MiB
  Total PE              25599
  Alloc PE / Size       0 / 0   
  Free  PE / Size       25599 / 100.00 GiB
  VG UUID               f5H7Dh-QYkb-7NY6-VMzY-0WLy-eIAW-rHwYEA

  ...

Relavant /etc/cinder/cinder.conf information of compute-01 node:

[DEFAULT]
auth_strategy = keystone
rpc_backend = cinder.openstack.common.rpc.impl_qpid
qpid_hostname = controller
glance_host = controller

[keystone_authtoken]
auth_uri = http://controller:5000
auth_host = controller
auth_protocol = http
auth_port = 35357
admin_user = cinder
admin_tenant_name = service
admin_password = K_Pass

[database]
connection = mysql://cinder:DB_Pass@controller/cinder

Relavant /etc/tgt/targets.conf information:

include /etc/cinder/volumes/*

/etc/lvm/lvm.conf:

devices {
...
filter = ["a/.*/"]
...
}

/var/log/cinder/volume.log for the compute-01 node on which the "cinder-volumes" volume group is found:

2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup Traceback (most recent call last):
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/cinder/openstack/common/threadgroup.py", line 125, in wait
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup     x.wait()
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/cinder/openstack/common/threadgroup.py", line 47, in wait
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup     return self.thread.wait()
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 168, in wait
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup     return self._exit_event.wait()
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup     return hubs.get_hub().switch()
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 187, in switch
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup     return self.greenlet.switch()
2014-06-24 09:29:46.219 4323 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 194, in main
2014-06-24 09:29:46 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-06-24 09:52:08 -0500

loopback127 gravatar image

This appers to be an iptables issue. Allowing port 3306 fixes the issue. I don't know why this is the only service that required this however.

edit flag offensive delete link more

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-06-24 09:17:40 -0500

Seen: 894 times

Last updated: Jun 24 '14