Details
-
Bug
-
Resolution: Done
-
Normal
-
4.13, 4.12.0, 4.14, 4.15
-
No
-
1
-
T&PS 2024 #2, T&PS 2024 #3
-
2
-
False
-
-
2024-03-19: SME review
Description
Description of problem:
In the provided documentation here we are reffering a ConfigMap that contains the mirror registry for which in the ACM2.6,2.7 and 2.8 this is wrong: - the presented configuration: apiVersion: v1 kind: ConfigMap metadata: name: assisted-installer-mirror-config namespace: assisted-installer labels: app: assisted-service data: ca-bundle.crt: <certificate> registries.conf: | unqualified-search-registries = ["registry.access.redhat.com", "docker.io"] [[registry]] location = <mirror_registry_url> insecure = false mirror-by-digest-only = true - the working configuration: cat <<EOF | oc apply -f -apiVersion: v1kind: ConfigMapmetadata: name: custom-registries namespace: multicluster-engine labels: app: assisted-servicedata: registries.conf: | unqualified-search-registries = ["registry.access.redhat.com", "docker.io"] [[registry]] prefix = "" location = "registry.redhat.io/quay" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/quay" [[registry]] prefix = "" location = "registry.redhat.io/openshift-gitops-1" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/openshift-gitops-1" [[registry]] prefix = "" location = "registry.redhat.io/odf4" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/odf4" [[registry]] prefix = "" location = "registry.redhat.io/openshift-logging" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/openshift-logging" [[registry]] prefix = "" location = "quay.io/prega" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/prega" [[registry]] prefix = "" location = "registry.redhat.io/rhacm2" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/rhacm2" [[registry]] prefix = "" location = "registry.redhat.io/multicluster-engine" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/multicluster-engine" [[registry]] prefix = "" location = "registry.redhat.io/rhceph" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/rhceph" [[registry]] prefix = "" location = "registry-proxy.engineering.redhat.com/rh-osbs" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/rh-osbs" [[registry]] prefix = "" location = "registry.redhat.io/lvms4" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/lvms4" [[registry]] prefix = "" location = "registry.redhat.io/cert-manager" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/cert-manager" [[registry]] prefix = "" location = "registry.redhat.io/openshift4" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/openshift4" [[registry]] prefix = "" location = "registry.redhat.io/rhel8" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/rhel8" [[registry]] prefix = "" location = "registry.redhat.io/rh-sso-7" mirror-by-digest-only = true [[registry.mirror]] location = "quay.io/prega/test/rh-sso-7"---apiVersion: agent-install.openshift.io/v1beta1kind: AgentServiceConfigmetadata: name: agent namespace: multicluster-enginespec: mirrorRegistryRef: name: custom-registries databaseStorage: storageClassName: lvms-vg1 accessModes: - ReadWriteOnce resources: requests: storage: 10Gi filesystemStorage: storageClassName: lvms-vg1 accessModes: - ReadWriteOnce resources: requests: storage: 20Gi osImages: - cpuArchitecture: x86_64 openshiftVersion: "4.14" rootFSUrl: https://rhcos.mirror.openshift.com/art/storage/prod/streams/4.14-9.2/builds/414.92.202307070025-0/x86_64/rhcos-414.92.202307070025-0-live-rootfs.x86_64.img url: https://rhcos.mirror.openshift.com/art/storage/prod/streams/4.14-9.2/builds/414.92.202307070025-0/x86_64/rhcos-414.92.202307070025-0-live.x86_64.iso version: 414.92.202307250657-0EOF Since the introduction of multiclusterengine this ConfigMap it works only in the multicluster-engine namespace.
Version-Release number of selected component (if applicable):
OCPv4.12, v4.13, v4.14 ACMv2.6, v2.7 and v2.8
How reproducible:
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
Additional info:
https://docs.openshift.com/container-platform/4.12/scalability_and_performance/ztp_far_edge/ztp-preparing-the-hub-cluster.html#ztp-configuring-the-cluster-for-a-disconnected-environment_ztp-preparing-the-hub-cluster
Attachments
Issue Links
- links to