Wednesday, 2018-01-31

*** harlowja has quit IRC02:15
*** tbielawa has joined #ara02:42
*** tbielawa has quit IRC03:02
*** jlozadad_ has quit IRC04:19
*** harlowja has joined #ara04:51
*** harlowja has quit IRC07:01
*** dougbtv_ has joined #ara08:39
*** dougbtv__ has quit IRC08:42
*** gvincent has joined #ara09:47
*** dougbtv__ has joined #ara09:47
*** dougbtv_ has quit IRC09:50
*** rvgate has joined #ara10:35
*** sshnaidm|afk is now known as sshnaidm10:56
*** rvgate has quit IRC12:47
*** rvgate has joined #ara12:47
*** jlozadad_ has joined #ara13:24
*** sshnaidm is now known as sshnaidm|mtg14:27
*** jlozadad_ has quit IRC15:06
*** jlozadad has joined #ara15:14
*** tbielawa has joined #ara15:16
*** sshnaidm|mtg has quit IRC15:32
*** sshnaidm|mtg has joined #ara15:34
*** sshnaidm|mtg has quit IRC15:52
*** sshnaidm|mtg has joined #ara16:08
*** Bakey has joined #ara16:44
*** sshnaidm|mtg is now known as sshnaidm17:01
*** harlowja has joined #ara17:02
*** tbielawa is now known as tbielawa|lunch17:11
*** leifmadsen_ is now known as leifmadsen17:21
*** reelin has joined #ara17:27
reelinHey, I'm following the install/configuration guide - couldn't get the flask dev server working, so went with Install Apache+mod_wsgi on debian (actually on ubuntu) however, this isn't working either. There's two things I've noted - I'm attempting to use a direct IP, as I don't have DNS in this environment, which I believe changes the ara.conf file (from reading the Apache docs), but I've tried a few flavours of changes and I'm only able17:39
reelinReading the /var/log/apache2/ara-error.log, it loops the following every time I try to connect from my PC.17:39
reelinImportError: No module named ara.wsgi17:39
reelinmod_wsgi (pid=3425): Target WSGI script '/var/www/ara/ara-wsgi' cannot be loaded as Python module.17:40
reelinmod_wsgi (pid=3425): Exception occurred processing WSGI script '/var/www/ara/ara-wsgi'.17:40
reelinTraceback (most recent call last):17:40
reelinFile "/var/www/ara/ara-wsgi", line 6, in <module>17:40
reelinPermissions are www-data and very generous17:40
reelinBe really grateful for any advice, very keen to get this running!17:40
dmsimard|afkreelin: heya, I'm on something right now and don't have the time to walk you through things17:42
dmsimard|afkreelin: but what I would recommend is to leave apache+mod_wsgi out first if you're just trying things out17:43
dmsimard|afkthe wsgi setup is not very straightforward right now (although it will be better in the next major release)17:43
dmsimard|afkgetting things to work *without* apache/mod_wsgi allows you to understand how the different bits work and then you can go from there17:43
dmsimard|afkit's actually very very simple: ara needs to be installed wherever ansible is running and ansible needs to know that it should use the ara callback. That's it.17:44
dmsimard|afkThere's a quickstart here: https://github.com/openstack/ara#quickstart17:45
dmsimard|afkand then we explain a bit how the different components "talk" to each other in a FAQ that is not directly related but... https://ara.readthedocs.io/en/latest/faq.html#can-ansible-with-ara-run-on-a-different-server-than-the-web-application17:45
reelinthanks dsmiard, I'll check into that17:47
reelinYeah, same as before, as I can't connect to the dev flask instance from my box.17:59
reelinalthough a wget shows it's present.18:00
reelinIt's not available via the IP of the server, but I just set up an SSh tunnel18:05
reelinlooks beautiful ^^18:05
dmsimard|afkreelin: maybe the flask server is listening on 127.0.0.1 ? have you tried making it listen to 0.0.0.0 ?18:09
dmsimard|afkreelin: I think it's like ara-manage runsrever -h 0.0.0.018:10
dmsimard|afkara-manage runserver -h 0.0.0.0 *18:10
dmsimard|afkand then you might also have firewall rules etc, probably need to make sure the necessary port is opened18:10
*** tbielawa|lunch is now known as tbielawa18:11
reelinthat makes senese18:12
reelinsense, I'll check into that in a minute, just showing someone how great this looks18:12
reelinno firewall walls required, just the 0.0.0.0 thanks for your help dmsimard.18:23
*** reelin has quit IRC18:28
*** jlozadad has quit IRC18:38
*** harlowja has quit IRC18:52
*** sshnaidm is now known as sshnaidm|off18:55
*** rvgate has quit IRC19:08
*** jlozadad has joined #ara19:37
*** harlowja has joined #ara19:37
*** tbielawa has quit IRC21:33
*** dougbtv_ has joined #ara21:33
*** dougbtv__ has quit IRC21:35
*** jparrill has quit IRC22:38
*** jlozadad has quit IRC22:42
*** dougbtv__ has joined #ara23:14
*** dougbtv_ has quit IRC23:16

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