Project

Profile

Help

Issue #2973

closed

Tasking scheduler trace on startup.

Added by jortel@redhat.com over 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 23
Quarter:

Description

The scheduler seems to be importing a module that has been removed.

Aug 10 16:12:46 f25a.redhat.com systemd[1]: pulp-worker@1.service: Failed with result 'exit-code'.
Aug 10 16:12:47 f25a.redhat.com celery[30174]: celery beat v4.0.2 (latentcall) is starting.
Aug 10 16:12:47 f25a.redhat.com python3[30174]: detected unhandled Python exception in '/usr/bin/celery'
Aug 10 16:12:47 f25a.redhat.com abrt-server[30186]: Deleting problem directory Python3-2017-08-10-16:12:47-30174 (dup of Python3-2017-08-10-11:27:48-20476)
Aug 10 16:12:47 f25a.redhat.com celery[30174]: Traceback (most recent call last):
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/bin/celery", line 9, in <module>
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     load_entry_point('celery', 'console_scripts', 'celery')()
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/__main__.py", line 14, in main
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     _main()
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/bin/celery.py", line 326, in main
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     cmd.execute_from_commandline(argv)
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/bin/celery.py", line 488, in execute_from_commandline
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     super(CeleryCommand, self).execute_from_commandline(argv)))
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/bin/base.py", line 281, in execute_from_commandline
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     return self.handle_argv(self.prog_name, argv[1:])
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/bin/celery.py", line 480, in handle_argv
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     return self.execute(command, argv)
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/bin/celery.py", line 412, in execute
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     ).run_from_argv(self.prog_name, argv[1:], command=argv[0])
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/bin/base.py", line 285, in run_from_argv
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     sys.argv if argv is None else argv, command)
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/bin/base.py", line 368, in handle_argv
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     return self(*args, **options)
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/bin/base.py", line 244, in __call__
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     ret = self.run(*args, **kwargs)
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/bin/beat.py", line 107, in run
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     return beat().run()
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/apps/beat.py", line 79, in run
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     self.start_scheduler()
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/apps/beat.py", line 98, in start_scheduler
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     print(self.banner(service))
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/apps/beat.py", line 120, in banner
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     c.reset(self.startup_info(service))),
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/apps/beat.py", line 130, in startup_info
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     scheduler = service.get_scheduler(lazy=True)
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/celery-4.0.2-py3.5.egg/celery/beat.py", line 563, in get_scheduler
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     return symbol_by_name(self.scheduler_cls, aliases=aliases)(
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib/python3.5/site-packages/kombu-4.0.2-py3.5.egg/kombu/utils/imports.py", line 56, in symbol_by_name
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     module = imp(module_name, package=package, **kwargs)
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/usr/lib64/python3.5/importlib/__init__.py", line 126, in import_module
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     return _bootstrap._gcd_import(name[level:], package, level)
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "<frozen importlib._bootstrap>", line 986, in _gcd_import
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "<frozen importlib._bootstrap>", line 969, in _find_and_load
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "<frozen importlib._bootstrap_external>", line 665, in exec_module
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
Aug 10 16:12:47 f25a.redhat.com celery[30174]:   File "/home/jortel/git/pulp/platform/pulpcore/tasking/services/scheduler.py", line 21, in <module>
Aug 10 16:12:47 f25a.redhat.com celery[30174]:     import pulpcore.app.logs  # noqa
Aug 10 16:12:47 f25a.redhat.com celery[30174]: ImportError: No module named 'pulpcore.app.logs'

Also available in: Atom PDF