*** dbpiv has quit IRC | 01:22 | |
*** dbpiv has joined #ara | 01:23 | |
*** dbpiv has joined #ara | 02:03 | |
*** dbpiv has quit IRC | 02:44 | |
*** bcoca has quit IRC | 03:40 | |
*** gvincent has joined #ara | 07:00 | |
*** gvincent has quit IRC | 07:02 | |
*** gvincent has joined #ara | 07:03 | |
*** herald85 has joined #ara | 07:43 | |
*** jungleslow has joined #ara | 09:14 | |
*** olivierbourdon38 has joined #ara | 10:09 | |
*** herald85 has quit IRC | 11:22 | |
*** dbpiv has joined #ara | 11:58 | |
*** dbpiv has quit IRC | 12:03 | |
*** herald85 has joined #ara | 12:21 | |
*** dbpiv has joined #ara | 12:27 | |
*** dbpiv_ has joined #ara | 12:28 | |
*** dbpiv has quit IRC | 12:28 | |
*** dbpiv_ has quit IRC | 12:32 | |
*** dbpiv has joined #ara | 12:32 | |
*** tbielawa has joined #ara | 13:56 | |
*** bcoca has joined #ara | 13:58 | |
*** bcoca has joined #ara | 13:58 | |
dmsimard | Xaroth: good stuff, seems simple enough :D | 14:17 |
---|---|---|
Xaroth | most people get blinded by the metric boatload of options uwsgi had | 14:18 |
Xaroth | but using only the bare minimum it's quite easy to get started | 14:18 |
Xaroth | (once you know what the bare minimum is) | 14:18 |
Xaroth | emperor mode makes uwsgi run as an app server, kinda like apache/nginx with sites-enabled/sites-available | 14:18 |
Xaroth | each app gets its own processes | 14:18 |
dmsimard | experienced people will always fine tune things, I want something that sets up things with sane defaults and works for the majority of users | 14:19 |
Xaroth | you could probably forego with the whole emperor setup if you want to really reduce its footprint | 14:19 |
*** olivierbourdon38 has quit IRC | 14:20 | |
*** olivierbourdon38 has joined #ara | 14:20 | |
Xaroth | and if you're really daring, with all of nginx, as uwsgi can serve direct http if needed | 14:20 |
Xaroth | (but I don't recommend that part) | 14:20 |
dmsimard | Xaroth: anything special when reverse proxying from nginx ? or pretty standard with an upstream and proxy_pass ? | 14:22 |
Xaroth | you can use uwsgi_pass | 14:22 |
Xaroth | nginx talks uwsgi | 14:22 |
dmsimard | ohhhhh | 14:22 |
Xaroth | include uwsgi_params; | 14:22 |
Xaroth | uwsgi_pass app_handler; | 14:22 |
dmsimard | do you have a role for that too? sets up the vhost? :P | 14:23 |
Xaroth | I have a generic nginx role that sets up nginx, so my app roles only have to have 1 template file | 14:23 |
Xaroth | which is pretty small, tbh | 14:23 |
Xaroth | location / { those two lines } | 14:24 |
dmsimard | is the uwsgi support built-in to nginx or is it under another package ? | 14:24 |
Xaroth | should be built in afaik | 14:24 |
dmsimard | ok, I'll check it out | 14:25 |
*** jparrill_ has quit IRC | 15:02 | |
*** jparrill has joined #ara | 15:02 | |
olivierbourdon38 | Hello dmsimard | 15:53 |
olivierbourdon38 | I'd like to setup some ara 1.0 development environment | 15:54 |
olivierbourdon38 | could you please point me to appropriate resources on how to do this ? | 15:54 |
olivierbourdon38 | many thanks in advance | 15:54 |
*** herald85 has quit IRC | 15:58 | |
apollo13 | Xaroth: uwsgi and easy? hell I have been fighting uwsgi emporer and fastrouter for days to get it properly confined as systemd services and behave | 16:38 |
dmsimard | olivierbourdon38: hey o/ | 16:39 |
dmsimard | olivierbourdon38: there isn't a whole lot of documentation for 1.0 so perhaps this is a good opportunity to create some docs | 16:39 |
apollo13 | also uwsgi doesn't work with psycopg2 binary packages if ssl is enabled | 16:39 |
dmsimard | olivierbourdon38: you should in theory be able to get a development environment started by cloning https://github.com/openstack/ara-server and doing two commands: "tox -e ansible-integration" and "tox -e runserver" | 16:40 |
dmsimard | olivierbourdon38: "tox -e ansible-integration" pulls in ara-plugins and ara-clients and tests everything together by running a test ansible playbook | 16:41 |
dmsimard | olivierbourdon38: the web interface repository is here and the instructions are in the README https://github.com/openstack/ara-web | 16:41 |
apollo13 | Xaroth: also regarding to the metric load of options uwsgi has; the documentation is a mess and one has to go reading the source code -- which is especially showing since imo you forgot two enable two rather important options (enable-threads and thunder-lock). | 16:43 |
*** med_ has quit IRC | 16:56 | |
Xaroth | Threads is finicky | 16:57 |
Xaroth | So not all apps work nice with it | 16:57 |
apollo13 | Xaroth: enable-threads has been breaking apps for you? | 16:58 |
apollo13 | note that enable-threads is completly orthogonal and different to run multiple threads | 16:58 |
Xaroth | We had some issues with it over the years | 16:59 |
Xaroth | So we leave it out until we've confirmed in QA that it works | 16:59 |
apollo13 | without enable-threads you cannot start any thread from python | 16:59 |
apollo13 | which means helpers like sentry etc which used to send from a background thread will never work | 17:00 |
Xaroth | Threading in Django is trouble anyhow | 17:00 |
apollo13 | uhm no | 17:00 |
*** jungleslow has quit IRC | 17:00 | |
Xaroth | And we don't use sentry, we use an elk stack with our own special sauce | 17:00 |
*** med has joined #ara | 17:01 | |
Xaroth | To much chagrin of the san | 17:01 |
apollo13 | well that was just an example for the things that can go wrong :) | 17:01 |
*** med is now known as medberry | 17:02 | |
*** medberry has joined #ara | 17:02 | |
*** medberry is now known as med_ | 17:02 | |
*** tbielawa has left #ara | 17:10 | |
*** weshay is now known as he_hates_me | 17:35 | |
*** he_hates_me is now known as weshay | 17:36 | |
*** dbpiv has quit IRC | 18:07 | |
*** dbpiv has joined #ara | 18:10 | |
*** dbpiv has quit IRC | 18:15 | |
*** dbpiv has joined #ara | 18:18 | |
*** dbpiv has quit IRC | 18:48 | |
*** dbpiv has joined #ara | 18:53 | |
*** dbpiv has quit IRC | 18:57 | |
olivierbourdon38 | @dmsimard thanks will give it a try over the WE | 19:03 |
*** olivierbourdon38 has quit IRC | 19:05 | |
*** dbpiv has joined #ara | 19:07 | |
*** dbpiv has quit IRC | 19:11 | |
*** dbpiv has joined #ara | 21:11 | |
*** dbpiv has quit IRC | 21:15 | |
*** dbpiv has joined #ara | 21:23 | |
*** dbpiv has quit IRC | 21:35 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!