Bug 1921852 - RHEL 7 dnf can not access Amazon RHUI Repositories without the amazon-id plugin
Summary: RHEL 7 dnf can not access Amazon RHUI Repositories without the amazon-id plugin
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: Operations
Version: 3.1.7
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ---
: ---
Assignee: RHUI Bug List
QA Contact: Radek Bíba
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-28 17:38 UTC by jcastran
Modified: 2021-07-20 11:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-20 11:18:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5756341 0 None None None 2021-02-18 17:51:28 UTC

Description jcastran 2021-01-28 17:38:51 UTC
Description of problem:
RHEL 7 DNF does not have amazon-id and can not access amazon RHUI repositories

Version-Release number of selected component (if applicable):
Latest

How reproducible:
Everytime

Steps to Reproduce:
1. Connect to Amazon RHUI
2. # dnf repolist
3.

Actual results:
Failed to synchronize cache for repo 'rhui-REGION-rhel-server-rh-common', ignoring this repo.
Failed to synchronize cache for repo 'rhui-REGION-client-config-server-7', ignoring this repo.
Failed to synchronize cache for repo 'rhui-REGION-rhel-server-releases', ignoring this repo.


Expected results:
  rhui-client-config-server-7       Custom Repositories - Red Hat Update Infrastructure 3 Client Configuration Server 7    13
  rhui-rhel-7-server-rhui-rh-common-rpms  Red Hat Enterprise Linux 7 Server - RH Common from RHUI (RPMs)                   243
  rhui-rhel-7-server-rhui-rpms      Red Hat Enterprise Linux 7 Server from RHUI (RPMs)                                     31235


Workaround:

# cp amazon-id.py /usr/lib/python2.7/site-packages/dnf-plugins/amazon-id.py
# vi  /etc/dnf/plugins/amazon-id.conf & paste 
  [main]
  enabled=1

# dnf repolist
  repo id                                                                  repo name
  *epel                             Extra Packages for Enterprise Linux 7 - x86_64                                     
  rhui-client-config-server-7       Custom Repositories - Red Hat Update Infrastructure 3 Client Configuration Server 7
  rhui-rhel-7-server-rhui-rh-common-rpms  Red Hat Enterprise Linux 7 Server - RH Common from RHUI (RPMs)               
  rhui-rhel-7-server-rhui-rpms      Red Hat Enterprise Linux 7 Server from RHUI (RPMs)


Note You need to log in before you can comment on or make changes to this bug.