Comment 3 for bug 1404821

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

Reviewed: https://review.openstack.org/143667
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=b73cde1c05eb3863f043fd587f5c555f341b027d
Submitter: Jenkins
Branch: master

commit b73cde1c05eb3863f043fd587f5c555f341b027d
Author: Igor Kalnitsky <email address hidden>
Date: Tue Dec 23 15:15:06 2014 +0200

    Return error HTTP code for incorrect neutron conf

    Recently, we used to return error message for incorrect neutron config
    without error HTTP status code. In other words, the "202 Accepted" was
    always returned regardless it was successful or not.

    Since now, tbe "400 Bad Request" will be returned in case of error and
    "200 OK" in case of success (there's no reason to return "202 Accepted"
    for synchronous task).

    Change-Id: I9ad16fceb930332b427773dec32bd84d30fb1fd3
    Closes-Bug: #1404821