commit a70ecf4baa3809cbf60e6c1b835b07fe9ba2d2d4
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/723781 /git.openstack. org/cgit/ starlingx/ config/ commit/ ?id=a70ecf4baa3 809cbf60e6c1b83 5b07fe9ba2d2d4
Committed: https:/
Submitter: Zuul
Branch: r/stx.2.0
commit a70ecf4baa3809c bf60e6c1b835b07 fe9ba2d2d4
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>