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달 전421회 조회
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?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠