Friday, 2018-11-30

*** dbpiv has quit IRC01:22
*** dbpiv has joined #ara01:23
*** dbpiv has joined #ara02:03
*** dbpiv has quit IRC02:44
*** bcoca has quit IRC03:40
*** gvincent has joined #ara07:00
*** gvincent has quit IRC07:02
*** gvincent has joined #ara07:03
*** herald85 has joined #ara07:43
*** jungleslow has joined #ara09:14
*** olivierbourdon38 has joined #ara10:09
*** herald85 has quit IRC11:22
*** dbpiv has joined #ara11:58
*** dbpiv has quit IRC12:03
*** herald85 has joined #ara12:21
*** dbpiv has joined #ara12:27
*** dbpiv_ has joined #ara12:28
*** dbpiv has quit IRC12:28
*** dbpiv_ has quit IRC12:32
*** dbpiv has joined #ara12:32
*** tbielawa has joined #ara13:56
*** bcoca has joined #ara13:58
*** bcoca has joined #ara13:58
dmsimardXaroth: good stuff, seems simple enough :D14:17
Xarothmost people get blinded by the metric boatload of options uwsgi had14:18
Xarothbut using only the bare minimum it's quite easy to get started14:18
Xaroth(once you know what the bare minimum is)14:18
Xarothemperor mode makes uwsgi run as an app server, kinda like apache/nginx with sites-enabled/sites-available14:18
Xarotheach app gets its own processes14:18
dmsimardexperienced people will always fine tune things, I want something that sets up things with sane defaults and works for the majority of users14:19
Xarothyou could probably forego with the whole emperor setup if you want to really reduce its footprint14:19
*** olivierbourdon38 has quit IRC14:20
*** olivierbourdon38 has joined #ara14:20
Xarothand if you're really daring, with all of nginx, as uwsgi can serve direct http if needed14:20
Xaroth(but I don't recommend that part)14:20
dmsimardXaroth: anything special when reverse proxying from nginx ? or pretty standard with an upstream and proxy_pass ?14:22
Xarothyou can use uwsgi_pass14:22
Xarothnginx talks uwsgi14:22
dmsimardohhhhh14:22
Xaroth        include uwsgi_params;14:22
Xaroth        uwsgi_pass app_handler;14:22
dmsimarddo you have a role for that too? sets up the vhost? :P14:23
XarothI have a generic nginx role that sets up nginx, so my app roles only have to have 1 template file14:23
Xarothwhich is pretty small, tbh14:23
Xarothlocation / { those two lines }14:24
dmsimardis the uwsgi support built-in to nginx or is it under another package ?14:24
Xarothshould be built in afaik14:24
dmsimardok, I'll check it out14:25
*** jparrill_ has quit IRC15:02
*** jparrill has joined #ara15:02
olivierbourdon38Hello dmsimard15:53
olivierbourdon38I'd like to setup some ara 1.0 development environment15:54
olivierbourdon38could you please point me to appropriate resources on how to do this ?15:54
olivierbourdon38many thanks in advance15:54
*** herald85 has quit IRC15:58
apollo13Xaroth: uwsgi and easy? hell I have been fighting uwsgi emporer and fastrouter for days to get it properly confined as systemd services and behave16:38
dmsimardolivierbourdon38: hey o/16:39
dmsimardolivierbourdon38: there isn't a whole lot of documentation for 1.0 so perhaps this is a good opportunity to create some docs16:39
apollo13also uwsgi doesn't work with psycopg2 binary packages if ssl is enabled16:39
dmsimardolivierbourdon38: 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
dmsimardolivierbourdon38: "tox -e ansible-integration" pulls in ara-plugins and ara-clients and tests everything together by running a test ansible playbook16:41
dmsimardolivierbourdon38: the web interface repository is here and the instructions are in the README https://github.com/openstack/ara-web16:41
apollo13Xaroth: 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 IRC16:56
XarothThreads is finicky16:57
XarothSo not all apps work nice with it16:57
apollo13Xaroth: enable-threads has been breaking apps for you?16:58
apollo13note that enable-threads is completly orthogonal and different to run multiple threads16:58
XarothWe had some issues with it over the years16:59
XarothSo we leave it out until we've confirmed in QA that it works16:59
apollo13without enable-threads you cannot start any thread from python16:59
apollo13which means helpers like sentry etc which used to send from a background thread will never work17:00
XarothThreading in Django is trouble anyhow17:00
apollo13uhm no17:00
*** jungleslow has quit IRC17:00
XarothAnd we don't use sentry, we use an elk stack with our own special sauce17:00
*** med has joined #ara17:01
XarothTo much chagrin of the san17:01
apollo13well that was just an example for the things that can go wrong :)17:01
*** med is now known as medberry17:02
*** medberry has joined #ara17:02
*** medberry is now known as med_17:02
*** tbielawa has left #ara17:10
*** weshay is now known as he_hates_me17:35
*** he_hates_me is now known as weshay17:36
*** dbpiv has quit IRC18:07
*** dbpiv has joined #ara18:10
*** dbpiv has quit IRC18:15
*** dbpiv has joined #ara18:18
*** dbpiv has quit IRC18:48
*** dbpiv has joined #ara18:53
*** dbpiv has quit IRC18:57
olivierbourdon38@dmsimard thanks will give it a try over the WE19:03
*** olivierbourdon38 has quit IRC19:05
*** dbpiv has joined #ara19:07
*** dbpiv has quit IRC19:11
*** dbpiv has joined #ara21:11
*** dbpiv has quit IRC21:15
*** dbpiv has joined #ara21:23
*** dbpiv has quit IRC21:35

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!