← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1520053] [NEW] Duplicate location error should raise HTTPConflict

 

Public bug reported:

When add or replace a duplicate location to an image, Glance should
raise 409 HTTPConflict, not 400 HTTPBadRequest.

The glance client raise 409, we should keep the same with the client.

** Affects: glance
     Importance: Undecided
     Assignee: wangxiyuan (wangxiyuan)
         Status: In Progress

** Changed in: glance
     Assignee: (unassigned) => wangxiyuan (wangxiyuan)

** Description changed:

  When add or replace a duplicate location to an image, Glance should
  raise 409 HTTPConflict, not 400 HTTPBadRequest.
+ 
+ The glance client raise 409, we should keep the same with the client.

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

Title:
  Duplicate location error should raise HTTPConflict

Status in Glance:
  In Progress

Bug description:
  When add or replace a duplicate location to an image, Glance should
  raise 409 HTTPConflict, not 400 HTTPBadRequest.

  The glance client raise 409, we should keep the same with the client.

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