Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-54236

14.3.8. RHCOS image mirroring fails, the description for rhcos-boot-kubevirt.yaml is wrong

    • Important
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      In https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/hosted_control_planes/troubleshooting-hosted-control-planes#hcp-ts-rhcos_hcp-troubleshooting, step 6, the definition of rhcos-boot-kubevirt.yaml is wrong.
      The definition for 1 should be applied where number 2 is and number 2 should be moved to number 1.
      

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

      OpenShift Container Platform 4.16, 4.17, 4.18
      

      How reproducible:

      Always
      

      Steps to Reproduce:

      1. N/A
      

      Actual results:

      Step 6.
      > Create a YAML file named rhcos-boot-kubevirt.yaml that defines the ImageDigestMirrorSet object. See the following example configuration:
      > 
      > apiVersion: config.openshift.io/v1
      > kind: ImageDigestMirrorSet
      > metadata:
      >   name: rhcos-boot-kubevirt
      > spec:
      >   repositoryDigestMirrors:
      >     - mirrors:
      >         - <rhcos_image_no_digest> 1
      >       source: virthost.ostest.test.metalkube.org:5000/localimages/ocp-v4.0-art-dev 2
      >
      > 1 - Specify your RHCOS image without its digest, for example, quay.io/openshift-release-dev/ocp-v4.0-art-dev.
      > 2 - Specify the name of your internal registry, for example, virthost.ostest.test.metalkube.org:5000/localimages/ocp-v4.0-art-dev
      

      Expected results:

      Step 6.
      > Create a YAML file named rhcos-boot-kubevirt.yaml that defines the ImageDigestMirrorSet object. See the following example configuration:
      > 
      > apiVersion: config.openshift.io/v1
      > kind: ImageDigestMirrorSet
      > metadata:
      >   name: rhcos-boot-kubevirt
      > spec:
      >   repositoryDigestMirrors:
      >     - mirrors:
      >         - virthost.ostest.test.metalkube.org:5000/localimages/ocp-v4.0-art-dev 1
      >       source: quay.io/openshift-release-dev/ocp-v4.0-art-dev 2
      >
      > 1 - Specify the name of your internal registry, for example, virthost.ostest.test.metalkube.org:5000/localimages/ocp-v4.0-art-dev
      > 2 - Specify your RHCOS image without its digest, for example, quay.io/openshift-release-dev/ocp-v4.0-art-dev.
      

      Additional info:

      
      

              ocp-docs-bot OCP DocsBot
              rhn-support-sreber Simon Reber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: