commit 9bcd1b066bff4b51a1ef82ccd476116bd4dd8ab5
Author: Shuicheng Lin <email address hidden>
Date: Thu Mar 12 14:06:08 2020 +0800
Refresh local registry auth info each time when access local registry
(cherry picked from commit 423a475aff4f9ea1b60af6a9a2989027d1506f10)
Local registry uses admin account password as authentication info.
And this password may be changed by openstack client at any time.
When sysinv tries to download images from local registry, it cannot
cache the auth info, otherwise it may lead to authentication failure
in keystone, and account be locked at the end.
Partial-Bug: 1853017
Change-Id: I07f273a05a1bc3c08b48d13c94eb6df6aecdf7c3
Signed-off-by: Shuicheng Lin <email address hidden>
Reviewed: https:/ /review. opendev. org/723766 /git.openstack. org/cgit/ starlingx/ config/ commit/ ?id=9bcd1b066bf f4b51a1ef82ccd4 76116bd4dd8ab5
Committed: https:/
Submitter: Zuul
Branch: r/stx.3.0
commit 9bcd1b066bff4b5 1a1ef82ccd47611 6bd4dd8ab5
Author: Shuicheng Lin <email address hidden>
Date: Thu Mar 12 14:06:08 2020 +0800
Refresh local registry auth info each time when access local registry
(cherry picked from commit 423a475aff4f9ea 1b60af6a9a29890 27d1506f10)
Local registry uses admin account password as authentication info.
And this password may be changed by openstack client at any time.
When sysinv tries to download images from local registry, it cannot
cache the auth info, otherwise it may lead to authentication failure
in keystone, and account be locked at the end.
Partial-Bug: 1853017
Change-Id: I07f273a05a1bc3 c08b48d13c94eb6 df6aecdf7c3
Signed-off-by: Shuicheng Lin <email address hidden>