<div dir="ltr">I remember seeing the same while attaching -- return value is 'detached'. So I can confirm this is a bug. <div><br></div><div>I couldn't locate a bug report for it, so I created one: <a href="https://bugs.launchpad.net/nova/+bug/1280572">https://bugs.launchpad.net/nova/+bug/1280572</a></div>
<div><br></div><div>Please mark it as a dup if you already have a bug report.</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font face="Calibri"><span style="font-size:15px">Regards,</span></font><div>
<font face="Calibri"><span style="font-size:15px">Rushi Agrawal</span></font></div><div><font face="Calibri"><span style="font-size:15px">Ph: (+91) 99 4518 4519</span></font></div></div></div>
<br><br><div class="gmail_quote">On Sat, Feb 15, 2014 at 11:56 AM, wu jiang <span dir="ltr"><<a href="mailto:wingwj@gmail.com" target="_blank">wingwj@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>I checked the AttachVolume in AWS EC2:</div><div><a href="http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-AttachVolume.html" target="_blank">http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-AttachVolume.html</a><br>

</div><div><br></div><div>The status returned is 'attaching':<br></div><div><pre style="font-family:'Courier New',Courier,mono;font-size:12px;color:rgb(0,0,102);background-color:rgb(238,238,238);border:1px dashed rgb(51,51,51);padding:1em;margin-top:5px;margin-bottom:5px;overflow:auto;width:1083px">
<AttachVolumeResponse xmlns="<a href="http://ec2.amazonaws.com/doc/2013-10-15/" target="_blank">http://ec2.amazonaws.com/doc/2013-10-15/</a>">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
  <volumeId>vol-1a2b3c4d</volumeId>
  <instanceId>i-1a2b3c4d</instanceId>
  <device>/dev/sdh</device>
  <status>attaching</status>
  <attachTime>YYYY-MM-DDTHH:MM:SS.000Z</attachTime>
</AttachVolumeResponse></pre></div><div><br></div><div>So I think it's a bug IMO.Thanks~</div><div><br></div><div><br></div><div>wingwj </div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>
<div class="h5">On Sat, Feb 15, 2014 at 11:35 AM, Rui Chen <span dir="ltr"><<a href="mailto:chenrui.momo@gmail.com" target="_blank">chenrui.momo@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi Stackers;<div><br></div><div>I use Nova EC2 interface to attach a volume, attach success, but volume status is detached in message response. </div>

<div><br></div><div><div># euca-attach-volume -i i-0000000d -d /dev/vdb vol-00000001</div>
<div>ATTACHMENT      vol-00000001    i-0000000d              detached</div></div><div><br></div><div>This make me confusion, I think the status should be attaching or in-use.</div><div><br></div><div>I find attach and detach volume interfaces return volume['attach_status'], but describe volume interface return volume['status']</div>


<div><br></div><div>Is it a bug? or for other considerations I do not know.</div><div><br></div><div>Thanks</div></div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>