*** mhen_ is now known as mhen | 02:39 | |
aviator | Hello | 06:58 |
---|---|---|
aviator | I 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 |
aviator | this working? | 07:19 |
gtema | Aviator, try the -s flag (socket) if you run keystone behind httpd | 07:29 |
gtema | Uwsgi had changed flag names some time ago | 07:29 |
gtema | Alternatively there is http-socket open (or something similar) | 07:31 |
aviator | Thanks 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 this | 07:33 |
gtema | Ah, that one was also now very different | 07:38 |
aviator | how do you run this command? with what flags? | 07:41 |
gtema | uwsgi -s localhost:5001 -b 65535 -w "keystone.server.wsgi:initialize_public_application()" | 07:42 |
gtema | that is how I run it | 07:42 |
gtema | wsgi files themselves are not in keystone directly | 07:43 |
gtema | so this is the only way you can run in reliably | 07:43 |
aviator | interesting, I keep getting the error that -w flag is invalid. I am running ubuntu 22.04 and uwsgi 2.0.20-debian | 07:50 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!