Bug 1765053

Summary: - "subscription-manager list --available" fails with traceback "RuntimeError: Failed to synchronize cache for repo 'xx'" when repository is configured with custom variable in /etc/dnf/vars/ (/etc/yum/vars)
Product: Red Hat Enterprise Linux 8 Reporter: Denis Volkov <dvolkov>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED DUPLICATE QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: low Docs Contact:
Priority: low    
Version: 8.0CC: csnyder, dmach, jhnidek, jsefler, redakkan, skallesh
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-27 09:07:52 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:

Comment 4 Denis Volkov 2019-11-15 09:29:01 UTC
Upgrade of subscription-manager to the one from RHEL8.1 solved the problem:

    Upgrade  dnf-plugin-subscription-manager-1.25.17-1.el8.x86_64        @BaseOS-nightly
    Upgraded dnf-plugin-subscription-manager-1.23.8-35.el8.x86_64        @@System
    Upgrade  python3-subscription-manager-rhsm-1.25.17-1.el8.x86_64      @BaseOS-nightly
    Upgraded python3-subscription-manager-rhsm-1.23.8-35.el8.x86_64      @@System
    Upgrade  subscription-manager-1.25.17-1.el8.x86_64                   @BaseOS-nightly
    Upgraded subscription-manager-1.23.8-35.el8.x86_64                   @@System
    Upgrade  subscription-manager-rhsm-certificates-1.25.17-1.el8.x86_64 @BaseOS-nightly
    Upgraded subscription-manager-rhsm-certificates-1.23.8-35.el8.x86_64 @@System

Comment 8 Rehana 2021-04-27 09:07:52 UTC
As per Comment 7 , closing the bug as duplicate of 1863039

*** This bug has been marked as a duplicate of bug 1863039 ***