wrong HTTP response code for POST

Bug #1272596 reported by aeva black
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Michael Davies

Bug Description

Resource creation (whether chassis, node, or port) should, on success, return a status 201 CREATED. It currently returns 200 OK.

aeva black (tenbrae)
Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
milestone: none → icehouse-3
Michael Davies (mrda)
Changed in ironic:
assignee: nobody → Michael Davies (mrda)
Michael Davies (mrda)
Changed in ironic:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

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

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

Reviewed: https://review.openstack.org/71425
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=a2c3e9d7d8a25300cc3586c1267f545a3434f232
Submitter: Jenkins
Branch: master

commit a2c3e9d7d8a25300cc3586c1267f545a3434f232
Author: Michael Davies <email address hidden>
Date: Thu Feb 6 09:28:23 2014 +1030

    Return correct HTTP response codes for create ops

    When creating {chassis,node,port} resources the incorrect HTTP
    response code was being returned. (was 200, now returning 201).

    Closes-Bug: #1272596

    Change-Id: Ic0fb2cc1794841dcef7009990f0ae482d71b1242

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: icehouse-3 → 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.