Hi,

I checked the AttachVolume in AWS EC2:
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-AttachVolume.html

The status returned is 'attaching':

<AttachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/";>
  <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>


So I think it's a bug IMO.Thanks~


wingwj


On Sat, Feb 15, 2014 at 11:35 AM, Rui Chen <chenrui.m...@gmail.com> wrote:

> Hi Stackers;
>
> I use Nova EC2 interface to attach a volume, attach success, but volume
> status is detached in message response.
>
> # euca-attach-volume -i i-0000000d -d /dev/vdb vol-00000001
> ATTACHMENT      vol-00000001    i-0000000d              detached
>
> This make me confusion, I think the status should be attaching or in-use.
>
> I find attach and detach volume interfaces return volume['attach_status'],
> but describe volume interface return volume['status']
>
> Is it a bug? or for other considerations I do not know.
>
> Thanks
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to