[Openstack] Cinder: Creating test volume fails

Mike B. oakerz at lycos.com
Wed Aug 28 11:17:29 UTC 2013


I've gone through archives and performed searches, etc etc and have been unable to find a fix for this so I'm hoping someone can shed some light on it for me here... Environment is (quite unfortunately) a desktop PC running VMware Player with an Ubuntu 12.04 LTS VM (kernel 3.2.50-030250-virtual).  I've been successful in getting the identity service and image service both up and running and now I'm stuck.. Here's the error, which FWIW was posted on the cinder-install.html page under the Grizzly install docs too:

2013-08-27 13:04:27 ERROR [cinder.volume.iscsi] Failed to create iscsi target for volume id:volume-dbbeac52-b86a-4ed9-8a31-111f79a79092.
2013-08-27 13:04:42 ERROR [cinder.volume.manager] volume volume-dbbeac52-b86a-4ed9-8a31-111f79a79092: create failed
2013-08-27 13:04:42 ERROR [cinder.openstack.common.rpc.amqp] Exception during message handling
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py", line 430, in _process_data
    rval = self.proxy.dispatch(ctxt, version, method, **args)
File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/dispatcher.py", line 133, in dispatch
    return getattr(proxyobj, method)(ctxt, **kwargs)
File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 288, in create_volume
    LOG.error(_("volume %s: create failed"), volume_ref['name'])
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 281, in create_volume
    model_update = self.driver.create_export(context, volume_ref)
File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py", line 487, in create_export
File "/usr/lib/python2.7/dist-packages/cinder/volume/iscsi.py", line 168, in create_iscsi_target
    raise exception.ISCSITargetCreateFailed(volume_id=vol_id)
ISCSITargetCreateFailed: Failed to create iscsi target for volume volume-dbbeac52-b86a-4ed9-8a31-111f79a79092.

Additional notes:
- RabbitMQ is running and can be connected to
- open-iscsi and iscsitarget are both installed/running
- already changed the tgt/conf.d/ files as ppl referenced in the comments..

Any help would be greatly appreciated.


More information about the Openstack mailing list