Bug 1571907
| Summary: | Passenger threads throwing tracebacks on API jobs after spawning | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Craig Donnelly <cdonnell> |
| Component: | Infrastructure | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.3.1 | CC: | bkearney, egolov, mlinden, mmccune, pmoravec, zhunting |
| Target Milestone: | 6.8.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | foreman-2.1.0-0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-10-27 12:57:24 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
Craig Donnelly
2018-04-25 16:29:24 UTC
The call at the time of this traceback as seen from foreman/production.log:
2018-04-25 12:24:07 684f6de0 [app] [I] Processing by Api::V2::BookmarksController#index as JSON
2018-04-25 12:24:07 684f6de0 [app] [I] Parameters: {"search"=>"controller=hosts", "apiv"=>"v2"}
2018-04-25 12:24:07 684f6de0 [app] [I] Current user: crag (administrator)
2018-04-25 12:24:07 684f6de0 [app] [D] Setting current user thread-local variable to crag
2018-04-25 12:24:07 684f6de0 [app] [I] Expire fragment views/tabs_and_title_records-4 (0.2ms)
2018-04-25 12:24:07 684f6de0 [app] [D] Setting current location thread-local variable to none
2018-04-25 12:24:07 684f6de0 [app] [D] Setting current organization thread-local variable to Default Organization
2018-04-25 12:24:07 684f6de0 [app] [I] Rendered api/v2/bookmarks/index.json.rabl within api/v2/layouts/index_layout (12.1ms)
2018-04-25 12:24:07 684f6de0 [app] [D] Body: {
| "total": 17,
| "subtotal": 6,
| "page": 1,
| "per_page": 20,
| "search": "controller=hosts",
| "sort": {
| "by": null,
| "order": null
| },
| "results": [{"name":"active","controller":"hosts","query":"last_report > \"35 minutes ago\" and (status.applied > 0 or status.restarted > 0)","public":true,"id":2,"owner_id":null,"owner_type":null},{"name":"disabled","controller":"hosts","query":"status.enabled = false","public":true,"id":5,"owner_id":null,"owner_type":null},{"name":"error","controller":"hosts","query":"last_report > \"35 minutes ago\" and (status.failed > 0 or status.failed_restarts > 0 or status.skipped > 0)","public":true,"id":4,"owner_id":null,"owner_type":null},{"name":"list hypervisors","controller":"hosts","query":"hypervisor = true","public":true,"id":15,"owner_id":null,"owner_type":null},{"name":"ok hosts","controller":"hosts","query":"last_report > \"35 minutes ago\" and status.enabled = true and status.applied = 0 and status.failed = 0 and status.pending = 0","public":true,"id":6,"owner_id":null,"owner_type":null},{"name":"out of sync","controller":"hosts","query":"last_report < \"30 minutes ago\" and status.enabled = true","public":true,"id":3,"owner_id":null,"owner_type":null}]
| }
|
2018-04-25 12:24:07 684f6de0 [app] [I] Completed 200 OK in 98ms (Views: 21.3ms | ActiveRecord: 12.0ms)
Passenger backtraces from that time:
# passenger-status --show=backtraces
Version : 4.0.18
Date : 2018-04-25 12:24:28 -0400
Instance: 23321
Thread 'Main thread' (0x7fa582e31780, LWP 23358):
in 'void Server::mainLoop()' (Main.cpp:540)
Thread 'Pool event loop' (0x7fa581619700, LWP 23358):
(empty)
Thread 'Pool garbage collector' (0x7fa582ddd700, LWP 23358):
in 'static void Passenger::ApplicationPool2::Pool::garbageCollect(Passenger::ApplicationPool2::PoolPtr)' (Pool.h:549)
Thread 'MessageServer thread' (0x7fa582d9c700, LWP 23358):
in 'void Passenger::MessageServer::mainLoop()' (MessageServer.h:558)
Thread 'MultiLibeio dispatcher' (0x7fa582e2f700, LWP 23358):
(empty)
Thread 'Request event loop' (0x7fa580e18700, LWP 23358):
(empty)
Thread 'Pool analytics collector' (0x7fa582e1e700, LWP 23358):
in 'static void Passenger::ApplicationPool2::Pool::collectAnalytics(Passenger::ApplicationPool2::PoolPtr)' (Pool.h:682)
Thread 'PipeWatcher: PID 23574 stderr, fd 23' (0x7fa582cb8700, LWP 23573):
in 'void Passenger::ApplicationPool2::PipeWatcher::threadMain()' (Implementation.cpp:1246)
in 'static void Passenger::ApplicationPool2::PipeWatcher::threadMain(boost::shared_ptr<Passenger::ApplicationPool2::PipeWatcher>)' (Implementation.cpp:1227)
Thread 'PipeWatcher: PID 23743 stdout, fd 25' (0x7fa5801fb700, LWP 23573):
in 'void Passenger::ApplicationPool2::PipeWatcher::threadMain()' (Implementation.cpp:1246)
in 'static void Passenger::ApplicationPool2::PipeWatcher::threadMain(boost::shared_ptr<Passenger::ApplicationPool2::PipeWatcher>)' (Implementation.cpp:1227)
Thread 'PipeWatcher: PID 23791 stderr, fd 27' (0x7fa5800a1700, LWP 23790):
in 'void Passenger::ApplicationPool2::PipeWatcher::threadMain()' (Implementation.cpp:1246)
in 'static void Passenger::ApplicationPool2::PipeWatcher::threadMain(boost::shared_ptr<Passenger::ApplicationPool2::PipeWatcher>)' (Implementation.cpp:1227)
Thread 'PipeWatcher: PID 23813 stdout, fd 21' (0x7fa580123700, LWP 23790):
in 'void Passenger::ApplicationPool2::PipeWatcher::threadMain()' (Implementation.cpp:1246)
in 'static void Passenger::ApplicationPool2::PipeWatcher::threadMain(boost::shared_ptr<Passenger::ApplicationPool2::PipeWatcher>)' (Implementation.cpp:1227)
Thread 'PipeWatcher: PID 24537 stdout, fd 34' (0x7fa582cf9700, LWP 24536):
in 'void Passenger::ApplicationPool2::PipeWatcher::threadMain()' (Implementation.cpp:1246)
in 'static void Passenger::ApplicationPool2::PipeWatcher::threadMain(boost::shared_ptr<Passenger::ApplicationPool2::PipeWatcher>)' (Implementation.cpp:1227)
Thread 'PipeWatcher: PID 24537 stderr, fd 35' (0x7fa580060700, LWP 24536):
in 'void Passenger::ApplicationPool2::PipeWatcher::threadMain()' (Implementation.cpp:1246)
in 'static void Passenger::ApplicationPool2::PipeWatcher::threadMain(boost::shared_ptr<Passenger::ApplicationPool2::PipeWatcher>)' (Implementation.cpp:1227)
Thread 'PipeWatcher: PID 24888 stdout, fd 22' (0x7fa582d7b700, LWP 24536):
in 'void Passenger::ApplicationPool2::PipeWatcher::threadMain()' (Implementation.cpp:1246)
in 'static void Passenger::ApplicationPool2::PipeWatcher::threadMain(boost::shared_ptr<Passenger::ApplicationPool2::PipeWatcher>)' (Implementation.cpp:1227)
Thread 'PipeWatcher: PID 24910 stdout, fd 31' (0x7fa582d3a700, LWP 24909):
in 'void Passenger::ApplicationPool2::PipeWatcher::threadMain()' (Implementation.cpp:1246)
in 'static void Passenger::ApplicationPool2::PipeWatcher::threadMain(boost::shared_ptr<Passenger::ApplicationPool2::PipeWatcher>)' (Implementation.cpp:1227)
Thread 'MessageServer client thread 28' (0x7fa5800e2700, LWP 23365):
in 'void RemoteController::processBacktraces(RemoteController::CommonClientContext&, RemoteController::SpecificContext*, const std::vector<std::basic_string<char> >&)' (Main.cpp:153)
in 'void Passenger::MessageServer::clientHandlingMainLoop(Passenger::FileDescriptor)' (MessageServer.h:491)
QE requested this get verified during 6.8. We are moving to Puma during 6.8 so verification will just involve checking that there is no Passenger installed on the Satellite and the error messages as noted in this BZ. VERIFIED.
@Satellite 6.8.0 Snap12
by the following manual reproducer:
# rpm -qa *passenger*
<empty>
# hammer host list
...
# grep stderr /var/log/httpd/error_log
<empty>
>>> no passenger tracebacks in apache error_log
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 |