==> /var/log/cinder/volume.log <== launcher.run_server(server) File "/usr/lib/python2.7/site-packages/cinder/service.py", line 95, in run_server server.start() File "/usr/lib/python2.7/site-packages/cinder/service.py", line 342, in start self.manager.init_host() File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 143, in init_host self.driver.check_for_setup_error() File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 78, in check_for_setup_error raise exception.VolumeBackendAPIException(data=exception_message) VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: volume group cinder-volumes doesn't exist [root@localhost ~]# vi /usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py -- so let's try to set up cinder volumes -- ======= [root@localhost ~]# systemctl stop openstack-cinder-volume.service [root@localhost ~]# systemctl stop openstack-cinder-volume.service ======= [root@localhost ~]# truncate -s20G /var/lib/cinder/cinder-volumes.img ======= [root@localhost ~]# vgcreate cinder-volumes $(sudo losetup --show -f /var/lib/cinder/cinder-volumes.img) No physical volume found in lvmetad cache for /dev/loop4 Physical volume "/dev/loop4" successfully created Volume group "cinder-volumes" successfully created [root@localhost ~]# ======= [root@localhost ~]# systemctl status openstack-cinder-volume.service openstack-cinder-volume.service - OpenStack Cinder Volume Server Loaded: loaded (/usr/lib/systemd/system/openstack-cinder-volume.service; enabled) Active: active (running) since Wed 2013-04-03 05:29:59 EDT; 28s ago Main PID: 29417 (cinder-volume) CGroup: name=systemd:/system/openstack-cinder-volume.service ├─29417 /usr/bin/python /usr/bin/cinder-volume --config-file /etc/cinder/cinder.conf --logfile /var/log/cinder/volume.log └─29422 /usr/bin/python /usr/bin/cinder-volume --config-file /etc/cinder/cinder.conf --logfile /var/log/cinder/volume.log Apr 03 05:29:59 localhost.localdomain systemd[1]: Started OpenStack Cinder Volume Server. Apr 03 05:30:00 localhost.localdomain sudo[29423]: cinder : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/cinder-rootwrap /etc/cinder/rootw...-o name Apr 03 05:30:00 localhost.localdomain sudo[29429]: cinder : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/cinder-rootwrap /etc/cinder/rootw...volumes [root@localhost ~]# ======= [root@localhost ~]# service tgtd status Redirecting to /bin/systemctl status tgtd.service tgtd.service - tgtd iSCSI target daemon Loaded: loaded (/usr/lib/systemd/system/tgtd.service; disabled) Active: inactive (dead) ======= [root@localhost ~]# sed -i '1iinclude /etc/nova/volumes/*' /etc/tgt/targets.conf [root@localhost ~]# sed -i '1iinclude /etc/cinder/volumes/*' /etc/tgt/targets.conf ======= [root@localhost ~]# service tgtd status Redirecting to /bin/systemctl status tgtd.service tgtd.service - tgtd iSCSI target daemon Loaded: loaded (/usr/lib/systemd/system/tgtd.service; disabled) Active: active (running) since Wed 2013-04-03 06:12:21 EDT; 34min ago Process: 29899 ExecStartPost=/usr/sbin/tgtadm --op update --mode sys --name State -v ready (code=exited, status=0/SUCCESS) Process: 29893 ExecStartPost=/usr/sbin/tgt-admin -e -c $TGTD_CONFIG (code=exited, status=0/SUCCESS) Process: 29890 ExecStartPost=/usr/sbin/tgtadm --op update --mode sys --name State -v offline (code=exited, status=0/SUCCESS) Main PID: 29889 (tgtd) CGroup: name=systemd:/system/tgtd.service └─29889 /usr/sbin/tgtd -f Apr 03 06:12:20 localhost.localdomain tgtd[29889]: librdmacm: Warning: couldn't read ABI version. Apr 03 06:12:20 localhost.localdomain tgtd[29889]: librdmacm: Warning: assuming: 4 Apr 03 06:12:20 localhost.localdomain tgtd[29889]: librdmacm: Fatal: unable to get RDMA device list Apr 03 06:12:20 localhost.localdomain tgtd[29889]: tgtd: iser_ib_init(3376) Failed to initialize RDMA; load kernel modules? Apr 03 06:12:20 localhost.localdomain tgtd[29889]: tgtd: work_timer_start(146) use timer_fd based scheduler Apr 03 06:12:20 localhost.localdomain tgtd[29889]: tgtd: bs_init(313) use signalfd notification Apr 03 06:12:21 localhost.localdomain systemd[1]: Started tgtd iSCSI target daemon. Apr 03 06:46:21 localhost.localdomain systemd[1]: Started tgtd iSCSI target daemon. ======= [root@localhost ~]# vgs VG #PV #LV #SN Attr VSize VFree cinder-volumes 1 0 0 wz--n- 20.00g 20.00g fedora 1 2 0 wz--n- 9.51g 0 [root@localhost ~]# =======