Translated message

A translation of this page exists in English.

Microsoft Azure で yum update 接続がタイムアウトになる

Solution Verified - Updated -

Issue

オンデマンドの Red Hat Enterprise Linux (RHEL) 仮想マシン (VM) と Red Hat Update Infrastructure (RHUI) 間のデフォルトの通信は、プロキシーサーバーを使用しません。参照記事の、以下の引用部分に留意してください。

RHUI が管理する yum リポジトリー一覧は、プロビジョニング時に RHEL インスタンスで設定されます。追加の設定を行う必要はありません。RHEL インスタンスが最新の更新を取得する準備ができたら、yum update を実行します。

参照: Red Hat Update Infrastructure (RHUI) for On-Demand Red Hat Enterprise Linux VMs in Azure

仮想マシンの yum.conf にプロキシー設定が追加されると、仮想マシンは RHUI から更新を受け取ることができません。yum update コマンドが失敗し、以下のエラーが表示されます。

Trying other mirror.
failure: repodata/repomd.xml from rhui-microsoft-azure-rhel7: [Errno 256] No more mirrors to try.
https://rhui-2.microsoft.com/pulp/repos/microsoft-azure-rhel7/repodata/repomd.xml: [Errno 14] curl#56 - "Network error recv()"
https://rhui-3.microsoft.com/pulp/repos/microsoft-azure-rhel7/repodata/repomd.xml: [Errno 14] curl#56 - "Network error recv()"
https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/repodata/repomd.xml: [Errno 14] curl#56 - "Network error recv()"

接続は最終的に、以下のようにタイムアウトします。

Could not retrieve mirrorlist https://eastus2-cds2.cloudapp.net/pulp/mirror/PA error was
12: Timeout on https://eastus2-cds2.cloudapp.net/pulp/mirror/PA: (28, 'Connection timed out after 30001 milliseconds')

Environment

  • Microsoft Azure
  • Red Hat Enterprise Linux 6.x (オンデマンド)
  • Red Hat Enterprise Linux 7.x (オンデマンド)

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