Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1836774

Summary: Some foreman services failed to start (pulp_streamer)
Product: Red Hat Satellite Reporter: Devendra Singh <desingh>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Devendra Singh <desingh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: apatel, aupadhye, egolov, kgaikwad
Target Milestone: 6.8.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-twisted-16.4.1-12.el7sat Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:02:42 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:

Description Devendra Singh 2020-05-18 06:10:05 UTC
Description of problem: Some foreman services failed to start (pulp_streamer) 


Version-Release number of selected component (if applicable):
6.8

How reproducible:
2

Steps to Reproduce:
1. install satellite 6.8
2. restart foreman-service's
3. Observed a few services failed to start.


Please include this when you file the BZ:

  4 07:30:38 dell-pe-fm120-1d pulp_streamer: Traceback (most recent call last):
May  4 07:30:38 dell-pe-fm120-1d pulp_streamer: File "/usr/bin/pulp_streamer", line 5, in <module>
May  4 07:30:38 dell-pe-fm120-1d pulp_streamer: from pkg_resources import load_entry_point
May  4 07:30:38 dell-pe-fm120-1d pulp_streamer: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in <module>
May  4 07:30:38 dell-pe-fm120-1d pulp_streamer: working_set.require(__requires__)
May  4 07:30:38 dell-pe-fm120-1d pulp_streamer: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
May  4 07:30:38 dell-pe-fm120-1d pulp_streamer: needed = self.resolve(parse_requirements(requirements))
May  4 07:30:38 dell-pe-fm120-1d pulp_streamer: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
May  4 07:30:38 dell-pe-fm120-1d pulp_streamer: raise DistributionNotFound(req)
May  4 07:30:38 dell-pe-fm120-1d pulp_streamer: pkg_resources.DistributionNotFound: twisted
May  4 07:30:38 dell-pe-fm120-1d systemd: pulp_streamer.service: main process exited, code=exited, status=1/FAILURE
May  4 07:30:38 dell-pe-fm120-1d systemd: Unit pulp_streamer.service entered failed state.
May  4 07:30:38 dell-pe-fm120-1d systemd: pulp_streamer.service failed.


Actual results:
Pulp streamer services failed to start

Expected results:
Pulp streamer service should be run properly. 

Additional info:

Comment 8 Devendra Singh 2020-06-17 06:50:54 UTC
Verified on 6.8 Snap4.

# rpm -qa|grep twisted
python2-twisted-16.4.1-12.el7sat.x86_64

foreman-maintain service status.
....
....
/ displaying foreman-proxy                                                      
● foreman-proxy.service - Foreman Proxy
   Loaded: loaded (/usr/lib/systemd/system/foreman-proxy.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2020-06-17 02:46:45 EDT; 7s ago
 Main PID: 22290 (ruby)
    Tasks: 12
   CGroup: /system.slice/foreman-proxy.service
           └─22290 ruby /usr/share/foreman-proxy/bin/smart-proxy --no-daemonize

Jun 17 02:46:40 XYZ.com systemd[1]: Starting Foreman Proxy...
Jun 17 02:46:45 XYZ.com systemd[1]: Started Foreman Proxy.
/ All services are running                                            [OK]

Comment 11 errata-xmlrpc 2020-10-27 13:02:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.8 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4366