Images v2 api allows you to update container and diskformat after image upload

Bug #1249412 reported by Iccha Sethi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Arnaud Legendre

Bug Description

Images v2 api allows you to update container and disk format after image upload
But does not allow you to upload an image without it being speficied

Changed in glance:
assignee: nobody → Arnaud Legendre (arnaudleg)
Changed in glance:
status: New → Triaged
Revision history for this message
Ashwini Shukla (ashwini-shukla) wrote :

Hi Arunad,

I am wondering if you are actively working on this bug since I have not seen any updates on it in last 2 weeks. If you do not plan to work on it, can you please remove yourself from the ticket so someone else may pick it up.

Thanks.

Revision history for this message
Arnaud Legendre (arnaudleg) wrote : Re: [Bug 1249412] Re: Images v2 api allows you to update container and diskformat after image upload

Hi Ashiwni,

I started working on it. I will post an update next week.
If I cannot make it by the end of next week, I will push it back to the
pool.

Thanks,
Arnaud

On Fri, Nov 29, 2013 at 8:21 AM, Ashwini Shukla <
<email address hidden>> wrote:

> Hi Arunad,
>
> I am wondering if you are actively working on this bug since I have not
> seen any updates on it in last 2 weeks. If you do not plan to work on
> it, can you please remove yourself from the ticket so someone else may
> pick it up.
>
> Thanks.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1249412
>
> Title:
> Images v2 api allows you to update container and diskformat after
> image upload
>
> Status in OpenStack Image Registry and Delivery Service (Glance):
> Triaged
>
> Bug description:
> Images v2 api allows you to update container and disk format after image
> upload
> But does not allow you to upload an image without it being speficied
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/glance/+bug/1249412/+subscriptions
>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/59582

Changed in glance:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/59582
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=5f37044d9a851fd02d4f1d918b1c276462a76034
Submitter: Jenkins
Branch: master

commit 5f37044d9a851fd02d4f1d918b1c276462a76034
Author: Arnaud Legendre <email address hidden>
Date: Mon Dec 2 16:19:20 2013 -0800

    V2: disallow image format update for active status

    The V2 API doesn't not allow empty `container_format` and `disk_format`
    when creating a new image.
    Currently, it is possible to update these properties after data have
    been saved to the image which is contradictory with the previous
    statement.
    This change disallows modifications of these properties for images with
    a status different than `queued`.

    Change-Id: I98c22197ba6d96470976718d48ac53748a19ffc6
    Closes-Bug: #1249412

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.