I remember seeing the same while attaching -- return value is 'detached'. So I can confirm this is a bug.
I couldn't locate a bug report for it, so I created one: https://bugs.launchpad.net/nova/+bug/1280572 Please mark it as a dup if you already have a bug report. Regards, Rushi Agrawal Ph: (+91) 99 4518 4519 On Sat, Feb 15, 2014 at 11:56 AM, wu jiang <[email protected]> wrote: > 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 <[email protected]> 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 >> [email protected] >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
