These are chat archives for allegro/ralph

3rd
Sep 2018
jahrensnv
@jahrensnv
Sep 03 2018 16:50
@szymi- ALLOWED_HOSTS = ['*']
if RALPH_DEBUG=0 or is unset I get the 500 on the login forward
/opt/ralph# ralph runserver 0.0.0.0:8000
Performing system checks...

System check identified no issues (0 silenced).
September 03, 2018 - 16:48:08
Django version 1.8.19, using settings 'ralph.settings.prod'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
[03/Sep/2018 16:48:19] "GET / HTTP/1.1" 302 0
[03/Sep/2018 16:48:19] "GET /login/?next=/ HTTP/1.1" 500 27
[03/Sep/2018 16:48:19] "GET /favicon.ico HTTP/1.1" 404 85
Szymon Jasiński
@szymi-
Sep 03 2018 20:47
@onibox you can set custom fields on configuration modules, configuration classes, clusters etc. and then override them per host
but it is not as hierarchical as hiera
I mean not as flexible
Szymon Jasiński
@szymi-
Sep 03 2018 21:04
@jahrensnv ok, now I managed to replicate this. check in /tmp/ralph.log (or whatever is in LOG_FILEPATH) for some hints. ralph collectstatic fixed it somewhat, but still some static files are missing. Will check tomorrow and let you know how to fix this entirely.