← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1307412] [NEW] The API v2 reserved property error is not raised when there's nothing to update

 

Public bug reported:

[root@orange-vdse ~(keystone_admin)]# glance --os-image-api-version 2 image-update 9969c805-c5e6-4d4b-b9e3-dd867a06be08 --owner 637ea20d137e4fa3bdbbb89ec513ef05Request returned failure status.
403 Forbidden
Attribute 'owner' is reserved.
    (HTTP 403)


However, if the owner is updated using the API v1, then the same command mentioned above will succeed without error. This may be confusing for the user. Reserved words errors should be raised even for noops

** Affects: glance
     Importance: Low
     Assignee: Flavio Percoco (flaper87)
         Status: New

** Changed in: glance
   Importance: Undecided => Low

** Changed in: glance
     Assignee: (unassigned) => Flavio Percoco (flaper87)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1307412

Title:
  The API v2 reserved property error is not raised when there's nothing
  to update

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  [root@orange-vdse ~(keystone_admin)]# glance --os-image-api-version 2 image-update 9969c805-c5e6-4d4b-b9e3-dd867a06be08 --owner 637ea20d137e4fa3bdbbb89ec513ef05Request returned failure status.
  403 Forbidden
  Attribute 'owner' is reserved.
      (HTTP 403)

  
  However, if the owner is updated using the API v1, then the same command mentioned above will succeed without error. This may be confusing for the user. Reserved words errors should be raised even for noops

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1307412/+subscriptions


Follow ups

References