The model runs are currently failing to appear in the OMS UI.
Environment info
Namespace: all
Notebook/server: any
Steps to reproduce
Steps to reproduce the behavior:
Start OMS
Run a model
Change to the Model Runs Tabs
Nothing appears, no errors.
Expected behaviour
The model run should appear there.
Cause
The Models in the UI are sourced from different files than the ones which are being ran on the workers. The difference is ../models/ vs ../models/bin/. The workers write into the sqlite files found in /bin and the UI is reading the sqlite files in ../models/ which shows an empty db. This was confirmed by exploring the db files as well, then adding data to the empty one under ../models/, which then appears.
Solution
1- clean up the bin directory, and all the models inside.
2- reduce complexity of the folder structure
3- UI and workers reference the same files
4- remove all other dirs and files from ../models/
Describe the bug
The model runs are currently failing to appear in the OMS UI.
Environment info
Namespace: all
Notebook/server: any
Steps to reproduce
Steps to reproduce the behavior:
Model Runs
TabsExpected behaviour
The model run should appear there.
Cause
The Models in the UI are sourced from different files than the ones which are being ran on the workers. The difference is
../models/
vs../models/bin/
. The workers write into the sqlite files found in/bin
and the UI is reading the sqlite files in../models/
which shows an empty db. This was confirmed by exploring the db files as well, then adding data to the empty one under../models/
, which then appears.Solution
1- clean up the bin directory, and all the models inside. 2- reduce complexity of the folder structure 3- UI and workers reference the same files 4- remove all other dirs and files from
../models/