Re: [openstack-dev] [nova][EC2] attach and detach volume response status

2014-02-16 Thread Rui Chen
Thanks for confirming it, I add some comments in the bug :)


2014-02-15 20:23 GMT+08:00 Rushi Agrawal :

> 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  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':
>>
>> http://ec2.amazonaws.com/doc/2013-10-15/";>
>>   59dbff89-35bd-4eac-99ed-be587EXAMPLE
>>   vol-1a2b3c4d
>>   i-1a2b3c4d
>>   /dev/sdh
>>   attaching
>>   -MM-DDTHH:MM:SS.000Z
>> 
>>
>>
>> So I think it's a bug IMO.Thanks~
>>
>>
>> wingwj
>>
>>
>> On Sat, Feb 15, 2014 at 11:35 AM, Rui Chen 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-000d -d /dev/vdb vol-0001
>>> ATTACHMENT  vol-0001i-000d  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
>>
>>
>
> ___
> 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


Re: [openstack-dev] [nova][EC2] attach and detach volume response status

2014-02-15 Thread Rushi Agrawal
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  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':
>
> http://ec2.amazonaws.com/doc/2013-10-15/";>
>   59dbff89-35bd-4eac-99ed-be587EXAMPLE
>   vol-1a2b3c4d
>   i-1a2b3c4d
>   /dev/sdh
>   attaching
>   -MM-DDTHH:MM:SS.000Z
> 
>
>
> So I think it's a bug IMO.Thanks~
>
>
> wingwj
>
>
> On Sat, Feb 15, 2014 at 11:35 AM, Rui Chen  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-000d -d /dev/vdb vol-0001
>> ATTACHMENT  vol-0001i-000d  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
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova][EC2] attach and detach volume response status

2014-02-14 Thread wu jiang
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':

http://ec2.amazonaws.com/doc/2013-10-15/";>
  59dbff89-35bd-4eac-99ed-be587EXAMPLE
  vol-1a2b3c4d
  i-1a2b3c4d
  /dev/sdh
  attaching
  -MM-DDTHH:MM:SS.000Z



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


wingwj


On Sat, Feb 15, 2014 at 11:35 AM, Rui Chen  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-000d -d /dev/vdb vol-0001
> ATTACHMENT  vol-0001i-000d  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


[openstack-dev] [nova][EC2] attach and detach volume response status

2014-02-14 Thread Rui Chen
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-000d -d /dev/vdb vol-0001
ATTACHMENT  vol-0001i-000d  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