Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1921852

Summary: RHEL 7 dnf can not access Amazon RHUI Repositories without the amazon-id plugin
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: jcastran
Component: OperationsAssignee: RHUI Bug List <rhui-bugs>
Status: CLOSED WONTFIX QA Contact: Radek Bíba <rbiba>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.1.7CC: aws-ec2-linux-blr-all, dhjoshi, mminar, rbiba
Target Milestone: ---Keywords: Extras
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-20 11:18:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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)