Failure of Mirroring from mirror to disk using oc mirror plugin : i/o timeout

Solution Unverified - Updated -

Issue

  • To install OpenShift cluster in a fully disconnected environment, we installed a mirror registry.
  • Since the mirror registry is in a fully disconnected environment, we first mirror the imageset to disk using the oc mirror command plugin on the Internet-connected host, according to the documentation.
  • However, running the mirror to disk failed. imageset-config.yaml and the log output are as follows:
# imageset-config.yaml

kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
storageConfig:
  registry:
    imageURL: mirror.hogehoge.com:8443/mirror/oc-mirror-metadata
    skipTLS: true
mirror:
  platform:
    channels:
      - name: stable-4.11
  operators:
  - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.11
    packages:
    - name: elasticsearch-operator
      channels:
      - name: stable
    - name: loki-operator
      channels:
      - name: stable
    - name: cluster-logging
      channels:
      - name: stable
    - name: local-storage-operator
      channels:
      - name: stable

# executed oc mirror command plugin and output log

$ oc mirror --config=./imageset-config.yaml file:///home/dev/data
Found: /home/dev/data/oc-mirror-workspace/src/publish
Found: /home/dev/data/oc-mirror-workspace/src/v2
Found: /home/dev/data/oc-mirror-workspace/src/charts
Found: /home/dev/data/oc-mirror-workspace/src/release-signatures
error: Get "https://mirror.hogehoge.com:8443/v2/": dial tcp 192.168.XXX.YYY:8443: connect: i/o timeout; Get "http://mirror.hogehoge.com:8443/v2/": dial tcp 192.168.XXX.YYY:8443: connect: i/o timeout

Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content