← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1355547] [NEW] Catch invalid exception when deleting a nonexistent flavor

 

Public bug reported:

flavor_get_by_flavor_id() raises a FlavorNotFound exception when tring to
delete a nonexistent flavor and REST API layer should catch the exception.
However the one of v2 API catches exception.NotFound instead.

This invalid exception catching has been fixed on v3 API.

** Affects: nova
     Importance: Undecided
     Assignee: Ken'ichi Ohmichi (oomichi)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => Ken'ichi Ohmichi (oomichi)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1355547

Title:
  Catch invalid exception when deleting a nonexistent flavor

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  flavor_get_by_flavor_id() raises a FlavorNotFound exception when tring to
  delete a nonexistent flavor and REST API layer should catch the exception.
  However the one of v2 API catches exception.NotFound instead.

  This invalid exception catching has been fixed on v3 API.

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


Follow ups

References