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?

preguntada hace 9 meses435 visualizaciones
1 Respuesta
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
EXPERTO
Steve_M
respondido hace 9 meses
profile pictureAWS
EXPERTO
revisado hace 9 meses
  • 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?

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas