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
--
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,
confirmation.
> > > >
> > > > > I think you're right. The 'killed' status should be set in method
> > > > upload()
> > > > > if there is an upload failure, see
> > > > >
> > > >
> > https://git
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
> >&
; > > 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/
>> >
>> >
>> > https://github.com/openstack/glance/blob/master/glance/api/v1/upload_utils.py#L244
>> >
>> > (the safe_kill() call) right?
>> >
>> > --
>> > Koo
>> >
>> >
>> > > -- Orig
/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 -
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