[Openstack] Cinder: Creating test volume fails

Bill Owen billowen at us.ibm.com
Wed Aug 28 14:35:37 UTC 2013


Hi Mike,
Try turning on debug messages in /etc/cinder/cinder.conf and restarting the
volume service.  This will log exactly what command is being issued.  Based
on this, you can try to issue the same command directly from the command
line.  This should give some clues on why the volume create is failing.
Send a reply if you're still stuck and we can dig in further.

Regards,
Bill Owen
billowen at us.ibm.com
Strategic Test Methods and Tools
520-799-4829, T/L 321-4829




From:	"Mike B." <oakerz at lycos.com>
To:	openstack at lists.openstack.org
Date:	08/28/2013 04:31 AM
Subject:	[Openstack] Cinder: Creating test volume fails



Greetings,

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__
    self.gen.next()
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
    chap_auth)
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.

Thx!

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130828/ead9d7f2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130828/ead9d7f2/attachment.gif>


More information about the Openstack mailing list