Bug 1993921
| Summary: | This worker is not supposed to run with new style tasks | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Kenny Tordeurs <ktordeur> |
| Component: | Satellite Maintain | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.9.0 | CC: | apatel, aupadhye, kgaikwad, ttereshc, zhunting |
| Target Milestone: | 6.10.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-16 13:48:19 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: | |||
Did you run the content-prepare prior to the upgrade? Is the upgrade successful despite the errors? Did you run the content-prepare prior to the upgrade? -> Yes, without errors Is the upgrade successful despite the errors? -> Yes, the upgrade passes without issues I just noticed these passing as I was doing `foreman-tail` during the upgrade. It looks like Satellite 6.9/Pulp 3 workers haven't been stopped after the final content migration run during switchover. Not sure which component is responsible for that, foreman-maintain? Upstream bug assigned to aupadhye Upstream bug assigned to aupadhye Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33411 has been resolved. I mistakenly moved this to pulp, reverting it to foreman-maintain. Verified. Tested on Satellite 6.9.7 Version: rubygem-foreman_maintain-0.8.19-1.el7sat.noarch (From Satellite 6.10.0 Snap 23) Steps: 1. Perform upgrade to 6.10, watch /var/log/messages, and grep for 'pulpcore-worker' or for 'This worker is not supposed to run with new style tasks' Observation: Pulpcore workers are stopped after the final content migration run during the switchover, which fixes this issue and no such warnings are observed in /var/log/messages. Also, for confirming, tried removing that step to stop pulpcore-workers after the final content migration, was able to reproduce those tracebacks. 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 (Satellite 6.10 Satellite Maintenance 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/RHBA-2021:4697 |
Description of problem: The following traceback is observed during upgrade from 6.9 to 6.10: ~~~ Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: Traceback (most recent call last): Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: File "/usr/bin/rq", line 11, in <module> Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: load_entry_point('rq==1.8.1', 'console_scripts', 'rq')() Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/click/core.py", line 829, in __call__ Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: return self.main(*args, **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/click/core.py", line 782, in main Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: rv = self.invoke(ctx) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/click/core.py", line 1259, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: return _process_result(sub_ctx.command.invoke(sub_ctx)) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/click/core.py", line 1066, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: return ctx.invoke(self.callback, **ctx.params) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/click/core.py", line 610, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: return callback(*args, **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/rq/cli/cli.py", line 83, in wrapper Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: return ctx.invoke(func, cli_config, *args[1:], **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/click/core.py", line 610, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: return callback(*args, **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/rq/cli/cli.py", line 256, in worker Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: serializer=serializer Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/tasking/worker.py", line 67, in __init__ Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: raise NotImplementedError("This worker is not supposed to run with new style tasks.") Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: NotImplementedError: This worker is not supposed to run with new style tasks. Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: Traceback (most recent call last): Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/bin/rq", line 11, in <module> Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: load_entry_point('rq==1.8.1', 'console_scripts', 'rq')() Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 829, in __call__ Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return self.main(*args, **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 782, in main Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: rv = self.invoke(ctx) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 1259, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return _process_result(sub_ctx.command.invoke(sub_ctx)) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 1066, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return ctx.invoke(self.callback, **ctx.params) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 610, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return callback(*args, **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/rq/cli/cli.py", line 83, in wrapper Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return ctx.invoke(func, cli_config, *args[1:], **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 610, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return callback(*args, **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/rq/cli/cli.py", line 256, in worker Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: serializer=serializer Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/pulpcore/tasking/worker.py", line 67, in __init__ Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: raise NotImplementedError("This worker is not supposed to run with new style tasks.") Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: NotImplementedError: This worker is not supposed to run with new style tasks. ~~~ Version-Release number of selected component (if applicable): 6.9.4 > 6.10 How reproducible: 100% Steps to Reproduce: 1. satellite-maintain upgrade run --target-version 6.10 2. observe /var/log/messages 3. Actual results: Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: raise NotImplementedError("This worker is not supposed to run with new style tasks.") Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-2: NotImplementedError: This worker is not supposed to run with new style tasks. Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: Traceback (most recent call last): Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/bin/rq", line 11, in <module> Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: load_entry_point('rq==1.8.1', 'console_scripts', 'rq')() Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 829, in __call__ Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return self.main(*args, **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 782, in main Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: rv = self.invoke(ctx) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 1259, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return _process_result(sub_ctx.command.invoke(sub_ctx)) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 1066, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return ctx.invoke(self.callback, **ctx.params) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 610, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return callback(*args, **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/rq/cli/cli.py", line 83, in wrapper Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return ctx.invoke(func, cli_config, *args[1:], **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/click/core.py", line 610, in invoke Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: return callback(*args, **kwargs) Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/rq/cli/cli.py", line 256, in worker Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: serializer=serializer Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: File "/usr/lib/python3.6/site-packages/pulpcore/tasking/worker.py", line 67, in __init__ Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: raise NotImplementedError("This worker is not supposed to run with new style tasks.") Aug 16 13:07:16 ktordeur-testathon pulpcore-worker-3: NotImplementedError: This worker is not supposed to run with new style tasks. Expected results: No such tracebacks Additional info: