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.
Reviewed: https:/ /review. opendev. org/744906 /git.openstack. org/cgit/ starlingx/ config/ commit/ ?id=c8e814320f5 45191959015a563 1b7526fc862ec6
Committed: https:/
Submitter: Zuul
Branch: master
commit c8e814320f54519 1959015a5631b75 26fc862ec6
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: Iaa34b9fe57678d 6283a4cce4a30d7 df4673ec996
Signed-off-by: Teresa Ho <email address hidden>