commit 67a19b2799cdc5a5f88f7f44d376cd1196df0083
Author: Angie Wang <email address hidden>
Date: Wed Oct 9 13:37:53 2019 -0400
Strip out port from the alternative registry url
All system images were changed to push to local registry.
The image reference conversion approach(local registry
prepended) is:
registry.local:9001/<public/private-registry>/image:tag
In the case that private registry contains a port, we need
to strip it out as Docker does not allow the format of the
image reference that has port in repositores/namespaces,
otherwise, the image reference conversion will fail.
Test conducted (AIO-DX):
- deploy system with private registry that has port in address
- deploy system with public registry
Change-Id: I1e3867dde932b60dd2e7f0a42331a7c12aaba752
Closes-Bug: #1847409
Signed-off-by: Angie Wang <email address hidden>
Reviewed: https:/ /review. opendev. org/687655 /git.openstack. org/cgit/ starlingx/ ansible- playbooks/ commit/ ?id=67a19b2799c dc5a5f88f7f44d3 76cd1196df0083
Committed: https:/
Submitter: Zuul
Branch: master
commit 67a19b2799cdc5a 5f88f7f44d376cd 1196df0083
Author: Angie Wang <email address hidden>
Date: Wed Oct 9 13:37:53 2019 -0400
Strip out port from the alternative registry url
All system images were changed to push to local registry. local:9001/ <public/ private- registry> /image: tag
The image reference conversion approach(local registry
prepended) is:
registry.
In the case that private registry contains a port, we need namespaces,
to strip it out as Docker does not allow the format of the
image reference that has port in repositores/
otherwise, the image reference conversion will fail.
Test conducted (AIO-DX):
- deploy system with private registry that has port in address
- deploy system with public registry
Change-Id: I1e3867dde932b6 0dd2e7f0a42331a 7c12aaba752
Closes-Bug: #1847409
Signed-off-by: Angie Wang <email address hidden>