NOTE: Adapted to queens due to missing backports in rocky.
If you reuse a container tag for a new image, paunch does not currently
rebuild the container to get the new image. This change adds logic to
the updated check to also check the image id defined in the container
instance against the image id for the image to see if the container
image has changed.
Closes-Bug: #1895974
Change-Id: I2710497282eb4d6fa8f68dc6d50044c1ce68eb35
(cherry picked from commit 4ae7d886db604f1ac00102803a5ea1fa2b3a479b)
Reviewed: https:/ /review. opendev. org/752569 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=be9f6a3c46f 53e81fe63e8a86a 0e827164474e9e
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit be9f6a3c46f53e8 1fe63e8a86a0e82 7164474e9e
Author: Alex Schultz <email address hidden>
Date: Thu Sep 17 13:19:35 2020 -0600
Trigger container update on image id update
NOTE: Adapted to queens due to missing backports in rocky.
If you reuse a container tag for a new image, paunch does not currently
rebuild the container to get the new image. This change adds logic to
the updated check to also check the image id defined in the container
instance against the image id for the image to see if the container
image has changed.
Closes-Bug: #1895974 6fa8f68dc6d5004 4c1ce68eb35 ac00102803a5ea1 fa2b3a479b)
Change-Id: I2710497282eb4d
(cherry picked from commit 4ae7d886db604f1