-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background Tasks UI Broken when using Redis Sentinel #14752
Comments
We run into this issue as well - it seems to have been introduced in django-rq 2.9.0 via this commit: Not completely sure, but seeing our own settings, your settings and the examples of django-rq in their README.md it seems they did not test with Sentinel and simply broke support with this change. Edit: We've downgraded django-rq to 2.8.1 and there the error does not occur. If someone else might verify this as well, we should open an issue at django-rq´s repository. |
There is a ticket in django-rq: rq/django-rq#642 |
For NetBox < 4.0.0 this issue is relevant, as the Django Admin UI for Background Tasks is affected. Since NetBox 4.0.0 this Admin UI is not integrated anymore and a Custom UI was built directly into NetBox. This custom implementation does not seem to call the function Therefore NetBox >= 4.0.0 currently does not hit this django-rq bug. The underlying bug at django-rq has been fixed via rq/django-rq@77bc4ff but is not released yet (current version is 2.10.2). |
Deployment Type
Self-hosted
NetBox Version
v3.7.0
Python Version
3.11
Steps to Reproduce
REDIS_KEY
Expected Behavior
Background tasks page should work as normal when a regular redis instance is used.
Observed Behavior
Following error is returned from debug output:
The text was updated successfully, but these errors were encountered: