Imported RHEL 8.7 VM from Azure to AWS Frankfurt unable to use yum

0

I've exported a VM in Azure that is a RHEL 8.7 (Oopta) and imported it in eu-frankfurt-1, I was able to access it normally but when I try to install wget using: dnf install wget I'm having timeout issues.

Now, I tried to change the repo and certificates on the machine. I'm experiencing a new error now which is this one:

dnf install wget Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs) 9.4 B/s | 153 B 00:16 Errors during downloading metadata for repository 'rhel-8-appstream-rhui-rpms':

I've manually changed REGION to eu-central-1 from the URL, since on VM's I provisioned on AWS VM that was the URL of the repo e.g. mirrorlist=https://rhui.REGION.ce.redhat.com/pulp/mirror/content/dist/rhel8/rhui/$releasever/$basearch/appstream/debug

Any ideas how I can resolve this?

質問済み 9ヶ月前435ビュー
1回答
0

According to Red Hat, supported methods for creating RHEL cloud instances are either (i) building your own image and then licensing it using BYOL; or (ii) provision an instance using the AWS-provided AMI https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/deploying_rhel_8_on_amazon_web_services/index#methods-for-creating-rhel-cloud-instances_introducing-rhel-on-public-cloud-platforms

Exporting from Azure and then importing to AWS sounds like it falls into category (i) and as such the instance would need to be attached to Satellite to get its updates. Rather than the AWS RHUI repos, access to which is included in the pricing of instances provisioned in category (ii).

Azure's website actually tries to unravel this better than anything I've seen on AWS https://learn.microsoft.com/en-us/azure/virtual-machines/workloads/redhat/redhat-rhui#important-information-about-azure-rhui

profile picture
エキスパート
Steve_M
回答済み 9ヶ月前
profile pictureAWS
エキスパート
レビュー済み 9ヶ月前
  • Thank you Steve. So once we acquire a subscription for this RHEL machine, is it easy as attaching the subscription via Subscription Manager CLI and would receive an update? OR should we still clean up the Azure RHUI repos?

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ