← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1284543] [NEW] Neuton client always returns 204 code for delete action

 

Public bug reported:

Neuton client always returns 204 code for delete action which is not always correct.
In case of deleting Vip (or pool), LBaaS back-end driver may  want to return 202 code and monitor the deletion completion later.

neutron/api/v2/resource.py:Resource class has action return status codes
hard coded (create=201, delete=204)

Probably each Resource should define its return codes for actions.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  Neuton client always returns 204 code for delete action

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Neuton client always returns 204 code for delete action which is not always correct.
  In case of deleting Vip (or pool), LBaaS back-end driver may  want to return 202 code and monitor the deletion completion later.

  neutron/api/v2/resource.py:Resource class has action return status
  codes hard coded (create=201, delete=204)

  Probably each Resource should define its return codes for actions.

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


Follow ups

References