0% found this document useful (0 votes)
35 views6 pages

Notif Log

The summary provides the key details from the traceback in 3 sentences: There was an error configuring the logging handler 'debug_file' which caused exceptions to be raised. This led to further exceptions being raised as the Celery worker process attempted to start up and configure logging through Django settings. The root cause was an issue configuring the 'debug_file' logging handler.

Uploaded by

Leandro Cosenza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views6 pages

Notif Log

The summary provides the key details from the traceback in 3 sentences: There was an error configuring the logging handler 'debug_file' which caused exceptions to be raised. This led to further exceptions being raised as the Celery worker process attempted to start up and configure logging through Django settings. The root cause was an issue configuring the 'debug_file' logging handler.

Uploaded by

Leandro Cosenza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

The above exception was the direct cause of the following exception:

Traceback (most recent call last):


File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/bin/celery", line 8, in
<module>
sys.exit(main())
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/__main__.py", line 15, in main
sys.exit(_main())
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/bin/celery.py", line 213, in main
return celery(auto_envvar_prefix="CELERY")
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/bin/base.py", line 132, in caller
return f(ctx, *args, **kwargs)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/bin/worker.py", line 320, in worker
worker = app.Worker(
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/worker/worker.py", line 94, in __init__
self.app.loader.init_worker()
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/loaders/base.py", line 111, in init_worker
self.import_default_modules()
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/loaders/base.py", line 105, in import_default_modules
raise response
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/utils/dispatch/signal.py", line 276, in send
response = receiver(signal=self, sender=sender, **named)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/fixups/django.py", line 82, in on_import_modules
self.worker_fixup.validate_models()
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/fixups/django.py", line 120, in validate_models
self.django_setup()
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/fixups/django.py", line 116, in django_setup
django.setup()
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/django/__init__.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/django/utils/log.py", line 75, in configure_logging
logging_config_func(logging_settings)
File "/usr/lib/python3.9/logging/config.py", line 809, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python3.9/logging/config.py", line 571, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'debug_file'

-------------- celery@AR-MOR-WS-06 v5.0.5 (singularity)


--- ***** -----
-- ******* ---- Linux-4.4.0-210-generic-x86_64-with-glibc2.23 2022-08-04 18:07:43
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: psa_web:0x7f26d0eef2e0
- ** ---------- .> transport: redis://:**@dev-redis.psa.com.ar:6379//
- ** ---------- .> results: disabled://
- *** --- * --- .> concurrency: {min=1, max=5} (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> notifications exchange=notifications(direct)
key=notifications

worker: Warm shutdown (MainProcess)

-------------- celery@AR-MOR-WS-06 v5.0.5 (singularity)


--- ***** -----
-- ******* ---- Linux-4.4.0-210-generic-x86_64-with-glibc2.23 2022-08-04 18:08:33
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: psa_web:0x7fcdfe36b2e0
- ** ---------- .> transport: redis://:**@dev-redis.psa.com.ar:6379//
- ** ---------- .> results: disabled://
- *** --- * --- .> concurrency: {min=1, max=5} (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> notifications exchange=notifications(direct)
key=notifications

worker: Warm shutdown (MainProcess)

-------------- celery@AR-MOR-WS-06 v5.0.5 (singularity)


--- ***** -----
-- ******* ---- Linux-4.4.0-210-generic-x86_64-with-glibc2.23 2022-08-04 18:32:35
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: psa_web:0x7f6dd47f02e0
- ** ---------- .> transport: redis://:**@dev-redis.psa.com.ar:6379//
- ** ---------- .> results: disabled://
- *** --- * --- .> concurrency: {min=1, max=5} (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> notifications exchange=notifications(direct)
key=notifications

[2022-08-04 18:32:37,018: WARNING/MainProcess] /WWW/sites/test-


psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-packages/celery/app/
control.py:48: DuplicateNodenameWarning: Received multiple replies from node name:
celery@AR-MOR-WS-06.
Please make sure you give each node a unique nodename using
the celery worker `-n` option.
warnings.warn(DuplicateNodenameWarning(

-------------- celery@AR-MOR-WS-06 v5.0.5 (singularity)


--- ***** -----
-- ******* ---- Linux-4.4.0-210-generic-x86_64-with-glibc2.23 2022-08-12 18:50:48
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: psa_web:0x7f63e5f2e2e0
- ** ---------- .> transport: redis://:**@dev-redis.psa.com.ar:6379//
- ** ---------- .> results: disabled://
- *** --- * --- .> concurrency: {min=1, max=5} (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> notifications exchange=notifications(direct)
key=notifications

worker: Warm shutdown (MainProcess)

-------------- celery@AR-MOR-WS-06 v5.0.5 (singularity)


--- ***** -----
-- ******* ---- Linux-4.4.0-210-generic-x86_64-with-glibc2.23 2022-08-26 14:10:00
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: psa_web:0x7f26905e4370
- ** ---------- .> transport: redis://:**@dev-redis.psa.com.ar:6379//
- ** ---------- .> results: disabled://
- *** --- * --- .> concurrency: {min=1, max=5} (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> notifications exchange=notifications(direct)
key=notifications

[2022-08-26 14:10:02,020: WARNING/MainProcess] /WWW/sites/test-


psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-packages/celery/app/
control.py:48: DuplicateNodenameWarning: Received multiple replies from node name:
celery@AR-MOR-WS-06.
Please make sure you give each node a unique nodename using
the celery worker `-n` option.
warnings.warn(DuplicateNodenameWarning(

worker: Warm shutdown (MainProcess)


-------------- celery@AR-MOR-WS-06 v5.0.5 (singularity)
--- ***** -----
-- ******* ---- Linux-4.4.0-210-generic-x86_64-with-glibc2.23 2022-08-26 17:01:39
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: psa_web:0x7f8efd833370
- ** ---------- .> transport: redis://:**@dev-redis.psa.com.ar:6379//
- ** ---------- .> results: disabled://
- *** --- * --- .> concurrency: {min=1, max=5} (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> notifications exchange=notifications(direct)
key=notifications

[2022-08-26 17:01:40,273: WARNING/MainProcess] /WWW/sites/test-


psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-packages/celery/app/
control.py:48: DuplicateNodenameWarning: Received multiple replies from node name:
celery@AR-MOR-WS-06.
Please make sure you give each node a unique nodename using
the celery worker `-n` option.
warnings.warn(DuplicateNodenameWarning(

worker: Warm shutdown (MainProcess)

-------------- celery@AR-MOR-WS-06 v5.0.5 (singularity)


--- ***** -----
-- ******* ---- Linux-4.4.0-210-generic-x86_64-with-glibc2.23 2022-09-14 20:46:24
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: psa_web:0x7fc2c461c370
- ** ---------- .> transport: redis://:**@dev-redis.psa.com.ar:6379//
- ** ---------- .> results: disabled://
- *** --- * --- .> concurrency: {min=1, max=5} (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> notifications exchange=notifications(direct)
key=notifications

worker: Warm shutdown (MainProcess)


Traceback (most recent call last):
File "/usr/lib/python3.9/logging/config.py", line 564, in configure
handler = self.configure_handler(handlers[name])
File "/usr/lib/python3.9/logging/config.py", line 745, in configure_handler
result = factory(**kwargs)
File "/usr/lib/python3.9/logging/handlers.py", line 153, in __init__
BaseRotatingHandler.__init__(self, filename, mode, encoding=encoding,
File "/usr/lib/python3.9/logging/handlers.py", line 58, in __init__
logging.FileHandler.__init__(self, filename, mode=mode,
File "/usr/lib/python3.9/logging/__init__.py", line 1146, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib/python3.9/logging/__init__.py", line 1175, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: '/WWW/logs/test-
psaenaccion.psa.com.ar/django_debug.log'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):


File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/bin/celery", line 8, in
<module>
sys.exit(main())
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/__main__.py", line 15, in main
sys.exit(_main())
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/bin/celery.py", line 213, in main
return celery(auto_envvar_prefix="CELERY")
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/bin/base.py", line 132, in caller
return f(ctx, *args, **kwargs)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/bin/worker.py", line 320, in worker
worker = app.Worker(
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/worker/worker.py", line 94, in __init__
self.app.loader.init_worker()
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/loaders/base.py", line 111, in init_worker
self.import_default_modules()
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/loaders/base.py", line 105, in import_default_modules
raise response
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/utils/dispatch/signal.py", line 276, in send
response = receiver(signal=self, sender=sender, **named)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/fixups/django.py", line 82, in on_import_modules
self.worker_fixup.validate_models()
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/fixups/django.py", line 120, in validate_models
self.django_setup()
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/celery/fixups/django.py", line 116, in django_setup
django.setup()
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/django/__init__.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/WWW/sites/test-psaenaccion.psa.com.ar/virtualenv/lib/python3.9/site-
packages/django/utils/log.py", line 75, in configure_logging
logging_config_func(logging_settings)
File "/usr/lib/python3.9/logging/config.py", line 809, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python3.9/logging/config.py", line 571, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'debug_file'
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/config.py", line 564, in configure
handler = self.configure_handler(handlers[name])
File "/usr/lib/python3.9/logging/config.py", line 745, in configure_handler
result = factory(**kwargs)
File "/usr/lib/python3.9/logging/handlers.py", line 153, in __init__
BaseRotatingHandler.__init__(self, filename, mode, encoding=encoding,
File "/usr/lib/python3.9/logging/handlers.py", line 58, in __init__
logging.FileHandler.__init__(self, filename, mode=mode,
File "/usr/lib/python3.9/logging/__init__.py", line 1146, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib/python3.9/logging/__init__.py", line 1175, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: '/WWW/logs/test-
psaenaccion.psa.com.ar/django_debug.log'

You might also like