Comment 4 for bug 1696848

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/pike)

Reviewed: https://review.openstack.org/519659
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a2653ac0d0ffd100ed6a26ed1901ad610c1b38bb
Submitter: Zuul
Branch: stable/pike

commit a2653ac0d0ffd100ed6a26ed1901ad610c1b38bb
Author: Matt Riedemann <email address hidden>
Date: Sat Jun 10 09:24:48 2017 -0400

    Handle InstanceNotFound when setting password via metadata

    When setting an instance password via the metadata service, if the
    instance is not found it results in a 500 response to the caller.

    This change handles the InstanceNotFound error and returns it as
    a 400. Note it's a 400 since the instance uuid is part of the POST
    request body, not on the URL path so it's not a 404 response.

    Change-Id: I4aa99b563e1a5a87aa3e3dfb28800f107676df92
    Partial-Bug: #1696848
    (cherry picked from commit c91ee68d493e8c813f4dcc4e46b1794a50f69f32)