Bug 1968452 - [4.8.0] [doc] "Mirror Registry Configuration" doc section needs clarification of functionality and limitations
Summary: [4.8.0] [doc] "Mirror Registry Configuration" doc section needs clarification...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.8
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
: 4.8.0
Assignee: Antoni Segura Puimedon
QA Contact: Chad Crum
URL:
Whiteboard: AI-Team-Platform
Depends On: 1968124
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-07 12:46 UTC by Ronnie Lazar
Modified: 2021-08-23 05:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1968124
Environment:
Last Closed: 2021-07-27 23:11:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift assisted-service pull 2049 0 None open [ocm-2.3] Bug 1968452: Clarify "Mirror Registry Configuration" doc 2021-06-21 16:27:45 UTC
Red Hat Bugzilla 1968124 1 medium CLOSED [master] [doc] "Mirror Registry Configuration" doc section needs clarification of functionality and limitations 2021-10-18 17:33:12 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:12:04 UTC

Description Ronnie Lazar 2021-06-07 12:46:52 UTC
+++ This bug was initially created as a clone of Bug #1968124 +++

Description of problem:
The "Mirror Registry Configuration" section of the Assisted Service operator doc needs clarification on what exactly is impacted when implementing it (it changes both ignition config + install-config.yaml) as well as limitations (registries.conf mirroring must be repo scope, not registry, otherwise ocp install fails.)


Doc ref: https://github.com/openshift/assisted-service/blob/master/docs/operator.md#mirror-registry-configuration

Version-Release number of selected component (if applicable):
Current


Additional info:

In regards to the limitation of mirroring, this example using repo scope to mirror will work:
    [[registry]]
       prefix = ""
       location = "quay.io/ocpmetal"
       mirror-by-digest-only = false

       [[registry.mirror]]
       location = "bm-cluster-1-hyper.e2e.bos.redhat.com:5000/ocpmetal"

But this next example using full registry scope to mirror will not pass validation in the openshift-installer, so ocp install will fail:

    [[registry]]
       prefix = ""
       location = "quay.io"
       mirror-by-digest-only = false

       [[registry.mirror]]
       location = "bm-cluster-1-hyper.e2e.bos.redhat.com:5000"


See this bz for more details: https://bugzilla.redhat.com/show_bug.cgi?id=1960378

Comment 6 Chad Crum 2021-07-07 12:47:11 UTC
Verified docs are updated.

Comment 8 errata-xmlrpc 2021-07-27 23:11:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438


Note You need to log in before you can comment on or make changes to this bug.