Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Openstack with Fiber storage


We are trying to build openstack cloud (Grizzly) on our system. We have a Fiber storage to try if we can use it as openstack volume. I am really new to Openstack so I cannot decide how can we use fiber storage in openstack. I installed OpenStack controller and everything seems to be fine. Unfortunately, I stuck at cinder volume creation, as it tries to create an iscsi target, but I do not have one. I guess I need to forward cinder to LVM group directly but I do not know how. I am using multipath for defined LUNs and it works fine. OS is ubuntu 12.04.

I had these errors on cinder-volume.log

ProcessExecutionError: Unexpected error while running command. Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvremove -f cinder-volumes/volume-afb2b4a1-44c6-4f2f-aea3-a9ba4e80abec Exit code: 5 Stdout: '' Stderr: ' WARNING: Ignoring duplicate config node: filter (seeking filter)\n Can\'t remove open logical volume "volume-afb2b4a1-44c6-4f2f-aea3-a9ba4e80abec"\n' 2013-07-08 17:20:41 INFO [cinder.volume.manager] volume volume-afb2b4a1-44c6-4f2f-aea3-a9ba4e80abec: deleted successfully 2013-07-08 17:21:16 INFO [cinder.volume.manager] Updating volume status 2013-07-08 17:21:47 INFO [cinder.volume.manager] volume volume-0a6f175e-66b3-4c8f-af9c-d11f5dea582a: creating 2013-07-08 17:21:48 INFO [cinder.volume.iscsi] Creating iscsi_target for: volume-0a6f175e-66b3-4c8f-af9c-d11f5dea582a 2013-07-08 17:21:48 ERROR [cinder.volume.iscsi] Failed to create iscsi target for volume id:volume-0a6f175e-66b3-4c8f-af9c-d11f5dea582a. Please ensure your tgtd config file contains 'include /var/lib/cinder/volumes/*' 2013-07-08 17:21:48 ERROR [cinder.volume.manager] volume volume-0a6f175e-66b3-4c8f-af9c-d11f5dea582a: create failed 2013-07-08 17:21:48 ERROR [cinder.openstack.common.rpc.amqp] Exception during message handling


[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

My LVM Group name is cinder-volumes