Pulp_streamer service fails to start after reboot of Red Hat Satellite with error Failed to load application: localhost:27017: [Errno 111] Connection refused

Solution Verified - Updated -

Issue

  • The pulp_streamer service failed to start after Red Hat Satellite server reboot

    # satellite-maintain service status --only pulp_streamer
    Running Status Services
    ================================================================================
    Get status of applicable services:
    
    Displaying the following service(s):
    pulp_streamer
    \ displaying pulp_streamer
    ● 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 Tue 2022-07-12 11:30:25 PDT; 25min ago
    Process: 1349 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: 1349 (code=exited, status=1/FAILURE)
    
    Jul 12 11:30:24 p-satellite1.its.calpoly.edu pulp_streamer[1349]: server = self._get_topology().select_server(selector)
    Jul 12 11:30:24 p-satellite1.its.calpoly.edu pulp_streamer[1349]: File "/usr/lib64/python2.7/site-packages/pymongo/topology.py", line 141, in select_server
    Jul 12 11:30:24 p-satellite1.its.calpoly.edu pulp_streamer[1349]: address))
    Jul 12 11:30:24 p-satellite1.its.calpoly.edu pulp_streamer[1349]: File "/usr/lib64/python2.7/site-packages/pymongo/topology.py", line 117, in select_servers
    Jul 12 11:30:24 p-satellite1.its.calpoly.edu pulp_streamer[1349]: self._error_message(selector))
    Jul 12 11:30:24 p-satellite1.its.calpoly.edu pulp_streamer[1349]: pymongo.errors.ServerSelectionTimeoutError: No servers found yet
    Jul 12 11:30:24 p-satellite1.its.calpoly.edu pulp_streamer[1349]: Failed to load application: No servers found yet
    Jul 12 11:30:25 p-satellite1.its.calpoly.edu systemd[1]: pulp_streamer.service: main process exited, code=exited, status=1/FAILURE
    Jul 12 11:30:25 p-satellite1.its.calpoly.edu systemd[1]: Unit pulp_streamer.service entered failed state.
    Jul 12 11:30:25 p-satellite1.its.calpoly.edu systemd[1]: pulp_streamer.service failed.
    \ All services displayed                                              [FAIL]
    Some services are not running (pulp_streamer)
    
  • The Pulp_streamer service is started after running #satellite-maintain health check command

Environment

  • Red Hat Satellite 6.9

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