<div dir="ltr">Jan, all,<div><br></div><div>I've started a work on this task to complete it in Mitaka. Here is a very draft spec [1] and PoC [2].</div><div><br></div><div>[1] <a href="https://review.openstack.org/224124">https://review.openstack.org/224124</a></div><div>[2] <a href="https://review.openstack.org/223851">https://review.openstack.org/223851</a></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Regards,<br>Ivan Kolodyazhny,<br>Web Developer,<br><a href="http://blog.e0ne.info/" target="_blank">http://blog.e0ne.info/</a>,<div><a href="http://notacash.com/" target="_blank">http://notacash.com/</a>,</div><div><a href="http://kharkivpy.org.ua/" target="_blank">http://kharkivpy.org.ua/</a></div></div></div>
<br><div class="gmail_quote">On Tue, Jul 14, 2015 at 4:59 PM, 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"><span class="">On 07/10/2015 12:19 AM, Walter A. Boring IV wrote:<br>
> On 07/09/2015 12:21 PM, Tomoki Sekiyama wrote:<br>
>> Hi all,<br>
>><br>
>> Just FYI, here is a sample script I'm using for testing os-brick which<br>
>> attaches/detaches the cinder volume to the host using cinderclient and<br>
>> os-brick:<br>
>><br>
>> <a href="https://gist.github.com/tsekiyama/ee56cc0a953368a179f9" rel="noreferrer" target="_blank">https://gist.github.com/tsekiyama/ee56cc0a953368a179f9</a><br>
>><br>
>> "python attach.py <volume-uuid>" will attach the volume to the executed<br>
>> host and shows a volume path. When you hit the enter key, the volume is<br>
>> detached.<br>
>><br>
>> Note this is skipping "reserve" or "start_detaching" APIs so the volume<br>
>> state is not changed to "Attaching" or "Detaching".<br>
>><br>
>> Regards,<br>
>> Tomoki<br>
><br>
> Very cool Tomoki. After chatting with folks in the Cinder IRC channel<br>
> it looks like we are going to look at going with something more like what<br>
> your script is doing. We are most likely going to create a separate<br>
> command line tool that does this same orchestration, using cinder client, a new<br>
> Cinder API that John Griffith is working on, and os-brick.<br>
<br>
</span>Very cool indeed, it looks exactly like as what I need.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Jan<br>
</font></span><div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>