pkg_resources.DistributionNotFound: The 'iniparse' distribution was not found and is required by subscription-manager

Solution Verified - Updated -

Issue

  • Python traceback showing iniparse distribution was not found.
    pkg_resources.DistributionNotFound: The 'iniparse' distribution was not found and is required by subscription-manager

  • Attempts to access content via yum result in SSL errors shown below:

failure: repodata/repomd.xml from rhel-7-server-rpms: [Errno 256] No more mirrors to try.
https://satellite.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#58 - "SSL peer rejected your certificate as expired."

Environment

Red Hat Satellite 6
Red Hat Enterprise Linux Server 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content