Sunday, 2024-03-03

*** mhen_ is now known as mhen02:39
aviatorHello06:58
aviatorI am trying to setup keystone and run locally. Was able to get unit tests to run.  Following the instructions here https://docs.openstack.org/keystone/latest/contributor/set-up-keystone.html but can't get the uwsgi command to start the server. Complaints --http flag is ambiguous, also complains about --wsgi-file not being valid. Interestingly the quickstart page for wsgi uses these flags. Can someone guide me on how to get 07:19
aviatorthis working?07:19
gtemaAviator, try the -s flag (socket) if you run keystone behind httpd07:29
gtemaUwsgi had changed flag names some time ago07:29
gtemaAlternatively there is http-socket open (or something similar)07:31
aviatorThanks gtema. I can get past the --http flag issue by using --socket (-s I think) but I still get the error on --wsgi-file flag, trying to see what's the correct one for this07:33
gtemaAh, that one was also now very different07:38
aviatorhow do you run this command? with what flags?07:41
gtemauwsgi -s localhost:5001 -b 65535 -w "keystone.server.wsgi:initialize_public_application()"07:42
gtemathat is how I run it07:42
gtemawsgi files themselves are not in keystone directly07:43
gtemaso this is the only way you can run in reliably07:43
aviatorinteresting, I keep getting the error that -w flag is invalid. I am running ubuntu 22.04 and uwsgi 2.0.20-debian07:50

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!