Comment 3 for bug 1835419

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

Reviewed: https://review.opendev.org/669188
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e6f011926295e0a36fa06c46f69525bcd7fa25dd
Submitter: Zuul
Branch: master

commit e6f011926295e0a36fa06c46f69525bcd7fa25dd
Author: Balazs Gibizer <email address hidden>
Date: Thu Jul 4 16:15:33 2019 +0200

    Remove assumption of http error if consumer not exists

    The heal_allocations_for_instance assumes that placement GET
    /allocations/<instance_uuid> query returns an error code if the consumer
    does not exists in placement. However placement returns an empty
    allocation instead.

    This patch removes such assumption and treates the negative response
    from placement as a fatal error.

    Change-Id: I7e2df32029e4cff57a0dddcd905b6c1aac207546
    Closes-Bug: #1835419