*** rattboi has quit IRC | 07:04 | |
*** rattboi has joined #ara | 07:05 | |
*** mikenl has joined #ara | 08:36 | |
mikenl | back yet again | 08:36 |
---|---|---|
mikenl | ara installed on ansible node now | 08:37 |
mikenl | added environmental variables for database connection to mysql | 08:37 |
mikenl | added environmental variables for log file and log level | 08:38 |
*** openstackgerrit has quit IRC | 09:03 | |
mikenl | made sure the ansible node can connect to the remote ARA server's mysql | 09:03 |
mikenl | have moved the callback plugin to our callback plugins folder used by Ansible | 09:04 |
mikenl | but nothing seems to be logged and cannot see any connections to the database | 09:05 |
mikenl | I can see now it had created the .ara folder with ara.log | 09:07 |
mikenl | but seems to be ignoring the ARA_LOG_LEVEL=Debug in the enviromental variables and the ARA_SQL_DEBUG | 09:11 |
*** jrist has quit IRC | 09:12 | |
*** jrist has joined #ara | 09:13 | |
*** karimb has joined #ara | 09:39 | |
*** karimb has quit IRC | 12:06 | |
dmsimard | mikenl: ta | 12:22 |
dmsimard | mikenl: that's a bug that has already been fixed but hasn't yet been released | 12:22 |
dmsimard | The SQL debug var. | 12:23 |
dmsimard | It will be fixed in 0.12.4, in the meantime I can give you a workaround but I gotta brb first | 12:23 |
dmsimard | mikenl: until 0.12.4 is out you can manually change this from False to True: https://github.com/openstack/ara/blob/fc7cfac54a21a619d481d11a3dfb2b7c37e9028b/ara/config.py#L23 | 12:36 |
mikenl | cool thanks dmsimard | 12:52 |
dmsimard | mikenl: wait, you moved the callback plugin ? | 12:53 |
mikenl | yip we had an alternative directory | 13:06 |
mikenl | seems to still work though | 13:06 |
dmsimard | mikenl: yeah but then if you upgrade ARA, your directory's callback won't be upgraded -- for example | 13:08 |
mikenl | one thing I did notice is that for the SQL connection to work properly I needed to add mysql-client | 13:08 |
dmsimard | mikenl: you'd be better off leaving the callback where it was installed and add that path to the callback_plugins path | 13:08 |
mikenl | true, this was more for testing | 13:08 |
dmsimard | you can have more than one callback_plugins path by using ":" to split them | 13:08 |
mikenl | yip saw that in the ansible docs | 13:09 |
mikenl | very cool interface, makes troubleshooting far easier | 13:10 |
dmsimard | mikenl: I did a video recently to try and highlight all the features :) | 13:10 |
dmsimard | https://www.youtube.com/watch?v=aQiN5wBXZ4g | 13:10 |
mikenl | will have to take a look | 13:13 |
mikenl | do have a weird problem in that if I run a playbook manually the callback works. but if I call the playbook programatically the callback doesn't seem to fire | 13:15 |
dmsimard | mikenl: programmatically ? Like from a bash script ? | 13:17 |
mikenl | well we have a ruby gem we built the schedules the running of playbooks for us | 13:18 |
mikenl | seems to call all the other callbacks except for ara_log | 13:18 |
dmsimard | Hm, I don't know | 13:20 |
*** myoung|brb is now known as myoung | 13:43 | |
*** tbielawa has joined #ara | 14:08 | |
*** karimb has joined #ara | 14:13 | |
*** tbielawa is now known as tbielawa|mtg | 14:39 | |
*** tbielawa|mtg is now known as tbielawa | 15:04 | |
*** themurph_ has quit IRC | 15:23 | |
*** mikenl has quit IRC | 15:28 | |
*** karimb has quit IRC | 15:50 | |
*** karimb has joined #ara | 15:53 | |
*** karimb has quit IRC | 17:46 | |
*** tbielawa is now known as tbielawa|lunch | 18:04 | |
*** tbielawa|lunch is now known as tbielawa | 19:05 | |
*** karimb has joined #ara | 20:40 | |
*** karimb has quit IRC | 20:43 | |
*** tbielawa has quit IRC | 20:48 | |
*** karimb has joined #ara | 21:34 | |
*** karimb has quit IRC | 23:27 | |
*** themurph has joined #ara | 23:44 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!