DIRACGrid / diracx-charts

Helm charts for running DiracX
1 stars 18 forks source link

fix: sed command in run_demo.sh #27

Closed aldbr closed 1 year ago

aldbr commented 1 year ago

Seems like there is an issue with the sed command. It overrides the work done by the loop.

This is not the only issue, run_demo.sh fails with:

💀 Installation did not start sucessfully!

Which is due to a mountpoint issue I guess?

$ kubectl logs -f diracx-demo-5fd6d459f4-xvdqb
Defaulted container "diracx" out of: diracx, init-cs (init), init-cs-user (init), init-signing-key (init)
Running uvicorn with extra options --reload-dir=/opt/conda/lib/python3.11/site-packages/diracx --reload --proxy-headers
INFO:     Will watch for changes in these directories: ['/opt/conda/lib/python3.11/site-packages/diracx']
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [1] using StatReload
ERROR:    Error loading ASGI app. Could not import module "diracx.routers".
INFO:     Stopping reloader process [1]

I am not sure how to correct this properly.

chrisburr commented 1 year ago

I'll merge this one and follow up with the rest of the fix in another PR.