REST API should return uuid instead of id in error messages

Bug #1372499 reported by Yuriy Zveryanskyy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Low
Yuriy Zveryanskyy

Bug Description

Example from http://logs.openstack.org/43/122743/1/check/check-tempest-dsvm-ironic-pxe_ssh/2b9d7b3/console.html.gz

Details: {u'error_message': u'{"debuginfo": null, "faultcode": "Client", "faultstring": "Cannot complete the requested action because chassis 10 contains nodes."}'}

Changed in ironic:
assignee: nobody → Yuriy Zveryanskyy (yzveryanskyy)
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/123150

Changed in ironic:
status: New → In Progress
Dmitry Tantsur (divius)
Changed in ironic:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

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

commit 93ffb9e08eac0c361c8f097b0d5f73a933431f5f
Author: Yuriy Zveryanskyy <email address hidden>
Date: Mon Sep 22 17:33:15 2014 +0300

    Do not return 'id' in REST API error messages

    REST API should return 'uuid' instead of 'id' in error messages.

    Closes-Bug: #1372499
    Change-Id: I0b5c8fce3e50da2a9fa42f6407409dcf6332fa45

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