Skip to content

Commit 03341c2

Browse files
authored
Merge pull request #51305 from stevsmit/OSDOCS3907
Adds important admonition and note to disconnected installations when…
2 parents db9b1b8 + c5f02a9 commit 03341c2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

modules/installation-mirror-repository.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ $ oc image mirror -a ${LOCAL_SECRET_JSON} --from-dir=${REMOVABLE_MEDIA_PATH}/mir
174174
----
175175
+
176176
<1> For `REMOVABLE_MEDIA_PATH`, you must use the same path that you specified when you mirrored the images.
177+
+
178+
[IMPORTANT]
179+
====
180+
Running `oc image mirror` might result in the following error: `error: unable to retrieve source image`. This error occurs when image indexes include references to images that no longer exist on the image registry. Image indexes might retain older references to allow users running those images an upgrade path to newer points on the upgrade graph. As a temporary workaround, you can use the `--skip-missing` option to bypass the error and continue downloading the image index. For more information, see link:https://access.redhat.com/solutions/6975305[Service Mesh Operator mirroring failed].
181+
====
177182

178183
** If the local container registry is connected to the mirror host, take the following actions:
179184
... Directly push the release images to the local registry by using following command:

modules/olm-mirroring-catalog.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
//
33
// * installing/disconnected_install/installing-mirroring-installation-images.adoc
44

5+
:_content-type: CONCEPT
56
[id="olm-mirror-catalog_{context}"]
67
= Mirroring Operator catalogs for use with disconnected clusters
78

89
You can mirror the Operator contents of a Red Hat-provided catalog, or a custom catalog, into a container image registry using the `oc adm catalog mirror` command. The target registry must support link:https://docs.docker.com/registry/spec/manifest-v2-2/[Docker v2-2]. For a cluster on a restricted network, this registry can be one that the cluster has network access to, such as a mirror registry created during a restricted network cluster installation.
910

1011
[IMPORTANT]
1112
====
12-
The internal registry of the {product-title} cluster cannot be used as the target registry because it does not support pushing without a tag, which is required during the mirroring process.
13+
* The internal registry of the {product-title} cluster cannot be used as the target registry because it does not support pushing without a tag, which is required during the mirroring process.
14+
* Running `oc adm catalog mirror` might result in the following error: `error: unable to retrieve source image`. This error occurs when image indexes include references to images that no longer exist on the image registry. Image indexes might retain older references to allow users running those images an upgrade path to newer points on the upgrade graph. As a temporary workaround, you can use the `--skip-missing` option to bypass the error and continue downloading the image index. For more information, see link:https://access.redhat.com/solutions/6975305[Service Mesh Operator mirroring failed].
1315
====
1416

1517
The `oc adm catalog mirror` command also automatically mirrors the index image that is specified during the mirroring process, whether it be a Red Hat-provided index image or your own custom-built index image, to the target registry. You can then use the mirrored index image to create a catalog source that allows Operator Lifecycle Manager (OLM) to load the mirrored catalog onto your {product-title} cluster.

0 commit comments

Comments
 (0)