Video content has been moved to the official Red Hat YouTube channel, which you can find here.

Translated message

A translation of this page exists in English.

oc mirror プラグインを使用したミラーからディスクへのミラーリングの失敗: I/O タイムアウト

Solution In Progress - Updated -

Issue

  • 完全な非接続環境に OpenShift クラスターをインストールするため、ミラーレジストリーをインストールしました。
  • ミラーレジストリーは完全な非接続環境にあるため、ドキュメント に従い、まずはインターネットに接続されたホストで oc mirror コマンドプラグインを使用してイメージセットをディスクにミラーリングします。
  • しかし、ディスクへのミラーリングの実行は失敗しました。imageset-config.yaml とログ出力は次のとおりです。
# 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