Red Hat Satellite 6 pulp_streamer.service fails with /usr/lib/python2.7/site-packages/pkg_resources.py pkg_resources.DistributionNotFound

Solution Verified - Updated -

Issue

  • pulp_streamer service is not starting on Red Hat Satellite server.

    pulp_streamer.service - The Pulp lazy content loading streamer
      Loaded: loaded (/usr/lib/systemd/system/pulp_streamer.service;    enabled; vendor preset: disabled)
      Active: failed (Result: exit-code) since Wed 2021-07-21 08:22:11 +11; 38min ago
     Process: 10314 ExecStart=/usr/bin/pulp_streamer --nodaemon --syslog --prefix=pulp_streamer --pidfile= --python       /usr/share/pulp/wsgi/streamer.tac (code=exited, status=1/FAILURE)
    Main PID: 10314 (code=exited, status=1/FAILURE)
    
    satellite.example.com pulp_streamer[10314]: File "/usr/bin/pulp_streamer", line 5, in <module>
    satellite.example.com pulp_streamer[10314]: from pkg_resources import load_entry_point
    satellite.example.com pulp_streamer[10314]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
    satellite.example.com pulp_streamer[10314]: parse_requirements(__requires__), Environment()
    satellite.example.com pulp_streamer[10314]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    satellite.example.com pulp_streamer[10314]: raise DistributionNotFound(req)
    satellite.example.com pulp_streamer[10314]: pkg_resources.DistributionNotFound: urllib3>=1.21.1,<1.24
    satellite.example.com systemd[1]: pulp_streamer.service: main process exited, code=exited, status=1/FAILURE
    satellite.example.com systemd[1]: Unit pulp_streamer.service entered failed state.
    satellite.example.com systemd[1]: pulp_streamer.service failed.
    

Environment

  • Red Hat Satellite 6

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