Closed SGA-max-faxalv closed 2 years ago
This is while running with $ DEBUG=True python3 code/manage.py runserver --traceback 0.0.0.0:8000
as the alcali user from the /opt/alcali
directory. (This is why the SUDO variables appear, had to sudo into root and then su into alcali)
Hope this helps! Please let me know if there is anything you want me to try.
No longer able to reproduce this. Will re-open if it happens again.
Describe the bug When loading jobs on the Jobs page, this crashes with an error. Truncating tables
salt_returns
andjids
temporarily fixes the error, but problem soon reoccurs without determined reason. Looking at the two tables, there are JID's insalt_returns
(70 rows) which do not exist in thejids
table (only 34 rows). It therefore crashes trying to load the associate Jids model to the SaltReturns model.Running version "3000.1" with salt version 3004. Using following relevant master configuration:
and have the custom returner confirmed to be working. The alcali installation is installed via the alcali-formula.
To Reproduce Steps to reproduce the behavior:
Enable Debug in Django and restart the service with
systemctl restart alcali
. This was done by adding:to line 3 in api/urls.py.
Go to the "Jobs" page
See error in syslog
Expected behavior Expected the list of jobs to load without error.
Screenshots
All jobs fail to load:![image](https://user-images.githubusercontent.com/93574395/157520689-ec9c4b0d-49a0-49c7-adef-be84171e0307.png)
Desktop (please complete the following information):
Additional context