Re: [openstack-dev] [Glance] Is the 'killed' state ever set in v2?

2014-01-26 Thread David Koo
ance.api.v2.image_data > > Thanks & Best regards, > Fei Long Wang (?) > - > Tech Lead of Nitrogen (SME team) > Cloud Solutions and OpenStack Development > Tel: 8610-82450513 | T/L: 905-0513 > Email: flw...@cn.ibm.com > China Systems & Technology

Re: [openstack-dev] [Glance] Is the 'killed' state ever set in v2?

2014-01-26 Thread Fei Long Wang
-- From: Mark Washenberger To: "OpenStack Development Mailing List (not for usage questions)" , Date: 01/27/2014 09:39 AM Subject:Re: [openstack-dev] [Glance] Is the 'killed' state ever set in v2? On Sun, Jan 26,

Re: [openstack-dev] [Glance] Is the 'killed' state ever set in v2?

2014-01-26 Thread David Koo
confirmation. > > > > > > > > > I think you're right. The 'killed' status should be set in method > > > > upload() > > > > > if there is an upload failure, see > > > > > > > > > > > https://git

Re: [openstack-dev] [Glance] Is the 'killed' state ever set in v2?

2014-01-26 Thread David Koo
t; > > I think you're right. The 'killed' status should be set in method > >> > upload() > >> > > if there is an upload failure, see > >> > > > >> > https://github.com/openstack/glance/blob/master/glance/common/utils.py#L244 > >&

Re: [openstack-dev] [Glance] Is the 'killed' state ever set in v2?

2014-01-26 Thread Mark Washenberger
; > > if there is an upload failure, see > > > > > > > > https://github.com/openstack/glance/blob/master/glance/common/utils.py#L244 > > > > > > I think you meant: > > > > > > > > > > https://github.com/openstack/glance/blob/

Re: [openstack-dev] [Glance] Is the 'killed' state ever set in v2?

2014-01-26 Thread Zhi Yan Liu
>> > >> > >> > https://github.com/openstack/glance/blob/master/glance/api/v1/upload_utils.py#L244 >> > >> > (the safe_kill() call) right? >> > >> > -- >> > Koo >> > >> > >> > > -- Orig

Re: [openstack-dev] [Glance] Is the 'killed' state ever set in v2?

2014-01-26 Thread David Koo
/utils.py#L244 > > > > I think you meant: > > > > > > https://github.com/openstack/glance/blob/master/glance/api/v1/upload_utils.py#L244 > > > > (the safe_kill() call) right? > > > > -- > > Koo > > > > > > > -- Original -

[openstack-dev] [Glance] Is the 'killed' state ever set in v2?

2014-01-26 Thread David Koo
Hi All, While trying to work on a bug I was trying to simulate some image download failures and found that apparently the 'killed' state is never set using v2 APIs. If I understand correctly, a file upload goes to api.v2.image_data.ImageDataController.upload and goes all the way to store.ImagePro