Hello, installing OpenStack Juno on CentOS 7, I have configured LIO Target as Cinder iSCSI backend, in /etc/cinder/cinder.conf :
iscsi_helper=lioadm
volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
When I create a new volume, iSCSI is not provisioned so compute nodes cannot access volumes:
# cinder create --display-name test 1
+---------------------+--------------------------------------+
| Property | Value |
+---------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2014-11-09T00:26:55.541777 |
| display_description | None |
| display_name | test |
| encrypted | False |
| id | 6bf30407-71f4-4f92-9650-d4afb19e1934 |
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| volume_type | None |
+---------------------+--------------------------------------+
There is no errors in the Cinder log:
2014-11-09 01:26:55.671 24762 INFO cinder.volume.flows.manager.create_volume [req-35cf7097-65db-487a-a658-d2f6c4eb2d31 224904d37b3b4e26aaaf11739cdfae00 e832975e17064d399d982e4b379169e3 - - -] Volume 6bf30407-71f4-4f92-9650-d4afb19e1934: being created as raw with specification: {'status': u'creating', 'volume_size': 1, 'volume_name': u'volume-6bf30407-71f4-4f92-9650-d4afb19e1934'}
2014-11-09 01:26:55.855 24762 INFO cinder.volume.flows.manager.create_volume [req-35cf7097-65db-487a-a658-d2f6c4eb2d31 224904d37b3b4e26aaaf11739cdfae00 e832975e17064d399d982e4b379169e3 - - -] Volume volume-6bf30407-71f4-4f92-9650-d4afb19e1934 (6bf30407-71f4-4f92-9650-d4afb19e1934): created successfully
But iSCSI configuration is empty:
# targetcli ls
o- / ..................................................................... [...]
o- backstores .......................................................... [...]
| o- block .............................................. [Storage Objects: 0]
| o- fileio ............................................. [Storage Objects: 0]
| o- pscsi .............................................. [Storage Objects: 0]
| o- ramdisk ............................................ [Storage Objects: 0]
o- iscsi ........................................................ [Targets: 0]
o- loopback ..................................................... [Targets: 0]
Any idea? missing some configuration or software installation?
Thank you!