Unable to fetch rpm from redhat after creating a custom redhat linux image in azure using image builder.

Cibin Albin 1 Reputation point
2022-02-10T06:34:02.067+00:00

I have created a custom redhat 7.5 linux image using azure image builder and it fails to fetch rpm packages from redhat repositories.

Error:

https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7-eus/repodata/repomd.xml: [Errno 12] Timeout on https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7-eus/repodata/repomd.xml: (28, 'Operation timed out after 30000 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
https://rhui-2.microsoft.com/pulp/repos/microsoft-azure-rhel7-eus/repodata/repomd.xml: [Errno 12] Timeout on https://rhui-2.microsoft.com/pulp/repos/microsoft-azure-rhel7-eus/repodata/repomd.xml: (28, 'Operation timed out after 30000 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
https://rhui-3.microsoft.com/pulp/repos/microsoft-azure-rhel7-eus/repodata/repomd.xml: [Errno 12] Timeout on https://rhui-3.microsoft.com/pulp/repos/microsoft-azure-rhel7-eus/repodata/repomd.xml: (28, 'Operation timed out after 30000 milliseconds with 0 out of 0 bytes received')
Trying other mirror.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,185 questions
{count} votes

1 answer

Sort by: Most helpful
  1. srbhatta-MSFT 8,546 Reputation points Microsoft Employee
    2022-02-13T19:39:51.61+00:00

    Hello @Cibin Albin ,

    Thank you for reaching out t Microsoft QnA Platform. Happy to answer your question.
    You mentioned that your custom Redhat image is unable fetch content from Redhat hosted repositories.
    Looking at the error, it looks like a timeout, which indicates a network issue. I am assuming it is a PAYG image, because if it was a BYOS trying to talk tot he RHUI mirrors, you would be getting an SSL client error or another valid HTTP response code.

    You should check for routing issues accessing the RHUI IPs.

    Links to refer: redhat-rhui

    173867-screenshot-2022-02-14-010621.png

    ---------------------------------------------------------------

    Please don't forget to "Accept as Answer" and "Upvote" and if you think my response was helpful, so that it can help others in the community looking for help on similar issues.

    0 comments No comments