Pulp status was working fine until I reboot the host. after the reboot I am getting below 502 error and below services that are now failing. Could someone please help on this.
please let me know if you need any more info.
Failing services after reboot:
pulpcore-api.service
pulpcore-worker@1.service
pulpcore-worker@2.service
(pulp) [root@prodjp-yumrepo-s1-z2-0 ext_a_reghatte_sap_com]# pulp status
status_read : get https://prodjp-yumrepo-s1-z2-0.jp1.gcpint.ariba.com/pulp/api/v3/status/
Response: 502
Error:
502 Bad Gateway
nginx
Failing services:
● pulpcore-api.service - Pulp WSGI Server
Loaded: loaded (/usr/lib/systemd/system/pulpcore-api.service; enabled; preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2024-11-11 07:52:40 PST; 99ms ago
Process: 16211 ExecStart=/usr/local/lib/pulp/bin/gunicorn pulpcore.app.wsgi:application --name pulp-api --bind 127.0.0.1:24817 --workers 1 --timeout 90 (code=exited, status=>
Main PID: 16211 (code=exited, status=3)
Status: “Gunicorn arbiter booted”
CPU: 176ms
● pulpcore-worker@1.service - Pulp Worker
Loaded: loaded (/usr/lib/systemd/system/pulpcore-worker@.service; enabled; preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2024-11-11 07:52:39 PST; 820ms ago
Process: 16209 ExecStart=/usr/local/lib/pulp/bin/pulpcore-worker (code=exited, status=1/FAILURE)
Main PID: 16209 (code=exited, status=1/FAILURE)
CPU: 38ms
● pulpcore-worker@2.service - Pulp Worker
Loaded: loaded (/usr/lib/systemd/system/pulpcore-worker@.service; enabled; preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2024-11-11 07:52:39 PST; 827ms ago
Process: 16210 ExecStart=/usr/local/lib/pulp/bin/pulpcore-worker (code=exited, status=1/FAILURE)
Main PID: 16210 (code=exited, status=1/FAILURE)
CPU: 38ms
(pulp) [root@prodjp-yumrepo-s1-z2-0 ext_a_reghatte_sap_com]# /usr/local/lib/pulp/bin/pulpcore-worker
Traceback (most recent call last):
File “/usr/local/lib/pulp/bin/pulpcore-worker”, line 5, in
from pulpcore.tasking.entrypoint import worker
File “/usr/local/lib/pulp/lib64/python3.9/site-packages/pulpcore/tasking/entrypoint.py”, line 9, in
django.setup()
File “/usr/local/lib/pulp/lib64/python3.9/site-packages/django/init.py”, line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File “/usr/local/lib/pulp/lib64/python3.9/site-packages/django/apps/registry.py”, line 124, in populate
app_config.ready()
File “/usr/local/lib/pulp/lib64/python3.9/site-packages/pulpcore/app/apps.py”, line 126, in ready
self.import_viewsets()
File “/usr/local/lib/pulp/lib64/python3.9/site-packages/pulpcore/app/apps.py”, line 172, in import_viewsets
self.viewsets_module = import_module(viewsets_module_name)
File “/usr/lib64/python3.9/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “/usr/local/lib/pulp/lib64/python3.9/site-packages/pulp_container/app/viewsets.py”, line 19, in
from pulpcore.plugin.actions import raise_for_unknown_content_units
ImportError: cannot import name ‘raise_for_unknown_content_units’ from ‘pulpcore.plugin.actions’ (/usr/local/lib/pulp/lib64/python3.9/site-packages/pulpcore/plugin/actions.py)
(pulp) [root@prodjp-yumrepo-s1-z2-0 ext_a_reghatte_sap_com]# pip show pulpcore pulp-container
Name: pulpcore
Version: 3.66.0
Summary: Pulp Django Application and Related Modules
Home-page: https://pulpproject.org
Author: Pulp Team
Author-email: pulp-list@redhat.com
License: GPLv2+
Location: /usr/local/lib/pulp/lib/python3.9/site-packages
Requires: aiodns, aiofiles, aiohttp, async-timeout, asyncio-throttle, backoff, click, cryptography, Django, django-filter, django-guid, django-import-export, django-lifecycle, djangorestframework, djangorestframework-queryfields, drf-access-policy, drf-nested-routers, drf-spectacular, dynaconf, gunicorn, importlib-metadata, jinja2, jq, json-stream, opentelemetry-distro, opentelemetry-exporter-otlp-proto-http, opentelemetry-instrumentation-aiohttp-server, opentelemetry-instrumentation-wsgi, protobuf, psycopg, pulp-glue, pygtrie, PyOpenSSL, pyparsing, python-gnupg, PyYAML, redis, tablib, url-normalize, uuid6, whitenoise, yarl
Required-by: pulp-container, pulp-file, pulp-rpm
Name: pulp-container
Version: 2.14.16
Summary: Container plugin for the Pulp Project
Home-page: https://pulpproject.org/
Author: Pulp Team
Author-email: pulp-list@redhat.com
License: GPLv2+
Location: /usr/local/lib/pulp/lib/python3.9/site-packages
Requires: jsonschema, pulpcore, pyjwkest, pyjwt, tablib
Required-by: