Celery issue in a kubernetes pod

While trying to create a super user for this application using manage.py I am getting the following error.

root@taiga-back-675fcdbd67-rx552:/taiga-back# ./manage.py createsuperuser
Username: testuser   
Email address: testuser@abc.com
Password:
Password (again):
Traceback (most recent call last):
  File "/opt/venv/lib/python3.7/site-packages/kombu/utils/functional.py", line 30, in __call__
    return self.__value__
AttributeError: 'ChannelPromise' object has no attribute '__value__'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/venv/lib/python3.7/site-packages/amqp/transport.py", line 173, in _connect
    host, port, family, socket.SOCK_STREAM, SOL_TCP)
  File "/usr/local/lib/python3.7/socket.py", line 752, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -5] No address associated with hostname

This is the CELERY Configuration. Sorry, it's Nano CELERY

This application running as a pod in a Kubernetes cluster. I searched for this but could not find anything meaningful to begin troubleshooting. Any hints/answer would help.

Back to Top