Comment 8 for bug 1558866

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

Reviewed: https://review.openstack.org/303706
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1397faaa041b2c73050bb6225e14f31f3dd4c826
Submitter: Jenkins
Branch: stable/mitaka

commit 1397faaa041b2c73050bb6225e14f31f3dd4c826
Author: Matt Riedemann <email address hidden>
Date: Mon Mar 21 12:31:19 2016 -0400

    Return 400 on boot for invalid image metadata

    Horizon allows a free-form input field for architecture
    when creating an image. However, the architecture in
    the image metadata is validated against nova.compute.arch.ALL
    so when converting the image metadata in the compute API
    boot validation, if we hit a ValueError we should raise
    an appropriate exception so the REST API will return a 400
    rather than a 500.

    Change-Id: Ib01b4b088fec065c671f83f5912e928b4d7fec71
    Closes-Bug: #1558866
    (cherry picked from commit 52b165bf1cf019353cd90b427ac3dd9991de48c7)