Repository sync in Red Hat Satellite 6 failing with error Yum Metadata: unsupported operand type(s) for -=: 'Retry' and 'int'
Environment
- Red Hat Enterprise Linux 7.x
- Red Hat Satellite 6
Issue
-
Repository sync in
Red Hat Satellite 6
failing with following error:PLP0000: Importer indicated a failed response Yum Metadata: unsupported operand type(s) for -=: 'Retry' and 'int'
Resolution
-
This is resolved in errata RHBA-2020:0781 in package python-requests-2.6.0-9.el7_7.noarch
-
Upgrade your Satellite 6.6 to the latest version to receive this update:
# foreman-maintain upgrade check --target-version 6.6.z # foreman-maintain upgrade run --target-version 6.6.z
- NOTE: If it's a physical server take a full backup of the Satellite server or take snapshot backup if running on the virtual machine before applying/updating any configuration change on the Satellite server.
For more KB articles/solutions related to Red Hat Satellite 6.x Repository Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Repository Issues.
Diagnostic Steps
-
Repo sync error message:
# hammer repository synchronize --organization RedHat --product Test --name repo [..........................................................................................................................................................................................................] [100%] No new packages. Error: RPM1004: Error retrieving metadata: unsupported operand type(s) for -=: 'Retry' and 'int'
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments