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
[email protected]
Strategic Test Methods and Tools
520-799-4829, T/L 321-4829




From:   "Mike B." <[email protected]>
To:     [email protected]
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     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

<<inline: graycol.gif>>

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to