Comment 3 for bug 1890299

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

Reviewed: https://review.opendev.org/744906
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=c8e814320f545191959015a5631b7526fc862ec6
Submitter: Zuul
Branch: master

commit c8e814320f545191959015a5631b7526fc862ec6
Author: Teresa Ho <email address hidden>
Date: Wed Aug 5 09:04:19 2020 -0400

    Fix label usage in device image commands

    When an image is deleted, the device labels that are used to apply
    the image and are not associated with any physical hardware are not removed.
    The commit removes the device label if it is the last image associated
    with the label and it is not associated with physical hardware.

    The device image apply with multiple labels of the same device
    for root-key image was incorrectly blocked. This update corrects
    the validation of this case.

    Closes-Bug: 1890299
    Closes-Bug: 1890324
    Closes-Bug: 1890340

    Change-Id: Iaa34b9fe57678d6283a4cce4a30d7df4673ec996
    Signed-off-by: Teresa Ho <email address hidden>