Bug 1365269
| Summary: | [RFE] katello-service does not account for pulp_streamer | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Craig Donnelly <cdonnell> |
| Component: | Infrastructure | Assignee: | Stephen Benjamin <stbenjam> |
| Status: | CLOSED ERRATA | QA Contact: | jcallaha |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.2.0 | CC: | adahms, adprice, bbuckingham, bkearney, cdonnell, chrobert, ehelms, jcallaha, mcorr, mmccune, tpapaioa, zhunting |
| Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/16373 | ||
| Whiteboard: | |||
| Fixed In Version: | katello-3.0.0-14 | Doc Type: | Bug Fix |
| Doc Text: |
Previously Katello services would not restart the pulp_streamer service, which is part of Red Hat Satellite 6. This needed to be stopped and started manually.
With this release, this is now controlled with the wrapper script.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-26 12:26:37 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: | |||
This will also help in troubleshooting for people who are not yet familiar with this service or its job, as we will see the status (good or bad) and que up questions. *** Bug 1320751 has been marked as a duplicate of this bug. *** Hi, This is in upstream : https://github.com/Katello/katello-packaging/blob/master/katello/katello-service Moving to POST - Chris Roberts Connecting redmine issue http://projects.theforeman.org/issues/16373 from this bug Verified in Satellite 6.2.3 Snap 2.
pulp_streamer now included in service status output
Redirecting to /bin/systemctl status pulp_streamer.service
● pulp_streamer.service - The Pulp lazy content loading streamer
Loaded: loaded (/usr/lib/systemd/system/pulp_streamer.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2016-10-10 14:34:21 EDT; 24h ago
Main PID: 10451 (pulp_streamer)
Memory: 17.6M
CGroup: /system.slice/pulp_streamer.service
└─10451 /usr/bin/python /usr/bin/pulp_streamer --nodaemon --syslog --prefix=pulp_streamer --pidfile= --python /usr/share/pulp/wsgi/streamer.tac
Oct 11 10:52:25 rhsm-qe-1.rhq.lab.eng.bos.redhat.com pulp_streamer[10451]: nectar.downloaders.threaded:ERROR: Skipping requests to cdn.redhat.com due to repeated connection failures: [Errno 2] No such file or directory
Oct 11 10:52:25 rhsm-qe-1.rhq.lab.eng.bos.redhat.com pulp_streamer[10451]: [-] 127.0.0.1 - - [11/Oct/2016:14:52:24 +0000] "GET /var/lib/pulp/content/units/rpm/58/394f78b13325ed4c43fc383ba18180213e19474645da18202ef69c73374a47/openoffice.org-langpack-pl_PL-3.1.1-19.10.el5_8.4.x86_64.rpm HTTP/1.1" 503 - "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-327.el7.x86_64"
Oct 11 10:52:25 rhsm-qe-1.rhq.lab.eng.bos.redhat.com pulp_streamer[10451]: nectar.downloaders.threaded:ERROR: Skipping requests to cdn.redhat.com due to repeated connection failures: [Errno 2] No such file or directory
Oct 11 10:52:25 rhsm-qe-1.rhq.lab.eng.bos.redhat.com pulp_streamer[10451]: [-] 127.0.0.1 - - [11/Oct/2016:14:52:24 +0000] "GET /var/lib/pulp/content/units/rpm/8c/579b8c8645040f2514e78f7a72e656a311f8bbf6faa8cddc52b68ffac99187/openoffice.org-langpack-bg_BG-3.1.1-19.10.el5_8.4.x86_64.rpm HTTP/1.1" 503 - "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-327.el7.x86_64"
Oct 11 12:10:46 rhsm-qe-1.rhq.lab.eng.bos.redhat.com pulp_streamer[10451]: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (10544): cdn.redhat.com
Oct 11 12:10:46 rhsm-qe-1.rhq.lab.eng.bos.redhat.com pulp_streamer[10451]: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (10545): cdn.redhat.com
Oct 11 12:10:46 rhsm-qe-1.rhq.lab.eng.bos.redhat.com pulp_streamer[10451]: nectar.downloaders.threaded:ERROR: Skipping requests to cdn.redhat.com due to repeated connection failures: [Errno 2] No such file or directory
Oct 11 12:10:46 rhsm-qe-1.rhq.lab.eng.bos.redhat.com pulp_streamer[10451]: [-] 127.0.0.1 - - [11/Oct/2016:16:10:46 +0000] "GET /var/lib/pulp/content/units/distribution/69/d78ad016215bf746c8bd4449ab63aef5cec67df24d763040500cd82dc23dc9/images/pxeboot/initrd.img HTTP/1.1" 503 - "-" "Wget/1.14 (linux-gnu)"
Oct 11 12:10:46 rhsm-qe-1.rhq.lab.eng.bos.redhat.com pulp_streamer[10451]: nectar.downloaders.threaded:ERROR: Skipping requests to cdn.redhat.com due to repeated connection failures: [Errno 2] No such file or directory
Oct 11 12:10:46 rhsm-qe-1.rhq.lab.eng.bos.redhat.com pulp_streamer[10451]: [-] 127.0.0.1 - - [11/Oct/2016:16:10:46 +0000] "GET /var/lib/pulp/content/units/distribution/69/d78ad016215bf746c8bd4449ab63aef5cec67df24d763040500cd82dc23dc9/images/pxeboot/vmlinuz HTTP/1.1" 503 - "-" "Wget/1.14 (linux-gnu)"
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, 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/RHBA-2016:2108 Updated 'Doc Type'. |
Description of problem: katello-service does not check status, start, or stop 'pulp_streamer' (required for on_demand pulp use). 7 SERVICES = { 8 'mongod' => 5, 9 'postgresql' => 5, 10 'qpidd' => 10, 11 'qdrouterd' => 10, 12 'tomcat' => 20, 13 'tomcat6' => 20, 14 'pulp_workers' => 20, 15 'pulp_celerybeat' => 20, 16 'pulp_resource_manager' => 20, 17 'foreman-proxy' => 20, 18 'httpd' => 30, 19 'foreman-tasks' => 30 20 } Version-Release number of selected component (if applicable): Satellite 6.2.0 ---- # rpm -qf `which katello-service` katello-service-3.0.0-10.el7sat.noarch How reproducible: Always. Steps to Reproduce: 1. # katello-service status 2. Read. 3. Actual results: No mention of 'pulp_streamer'. Expected results: 'pulp_streamer' should be controlled with other required pulp services. Additional info: If this service is not started with the rest while a Satellite is using the 'on_demand' setting for pulp syncs, customers will be met with 500 internal server errors on Satellite for attempted client pulls for packages, and the clients get no more mirrors to try.