<div dir="ltr"><div>This is entirely possible, and is one of the aims of cinder-agent, though that has somewhat stalled due to Ironic having different design goals.<br><br></div>You should be able to write a simple client that calls reserve, initialize_connection and parses the result for taget info - if you want it to work with fibrechannel, DRDB, ceph etc then there'll be a bit more work, but the basic iSCSI taget info is simple enough. You might want to talk to Walt (Hemna on IRC #openstack-cinder) about how much of this is now covered by brick / cinder-agent.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 July 2015 at 16:25, Jan Safranek <span dir="ltr"><<a href="mailto:jsafrane@redhat.com" target="_blank">jsafrane@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'd like to (mis-)use Cinder outside of OpenStack, i.e. without Nova.<br>
<br>
I can easily create/manage volumes themselves, Cinder API is pretty<br>
friendly here. Now, how can I attach a volume somewhere? Something like<br>
'nova volume-attach <server> <volume>', but without Nova and with <host><br>
(=anything) instead of <server> (=virtual machine inside OpenStack).<br>
<br>
I guess I am not the first one to ask for such feature, has anyone tried it?<br>
<br>
Would it be possible to separate a new library from Nova, which would<br>
just attach the volume to the host where it is runnig and mark the<br>
volume as 'in-use'? How hard would it be?<br>
<br>
Jan<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>-- <br>Duncan Thomas</div></div></div>
</div>