Thursday, 2017-03-23

*** rattboi has quit IRC07:04
*** rattboi has joined #ara07:05
*** mikenl has joined #ara08:36
mikenlback yet again08:36
mikenlara installed on ansible node now08:37
mikenladded environmental variables for database connection to mysql08:37
mikenladded environmental variables for log file and log level08:38
*** openstackgerrit has quit IRC09:03
mikenlmade sure the ansible node can connect to the remote ARA server's mysql09:03
mikenlhave moved the callback plugin to our callback plugins folder used by Ansible09:04
mikenlbut nothing seems to be logged and cannot see any connections to the database09:05
mikenlI can see now it had created the .ara folder with ara.log09:07
mikenlbut seems to be ignoring the ARA_LOG_LEVEL=Debug in the enviromental variables and the ARA_SQL_DEBUG09:11
*** jrist has quit IRC09:12
*** jrist has joined #ara09:13
*** karimb has joined #ara09:39
*** karimb has quit IRC12:06
dmsimardmikenl: ta12:22
dmsimardmikenl: that's a bug that has already been fixed but hasn't yet been released12:22
dmsimardThe SQL debug var.12:23
dmsimardIt will be fixed in 0.12.4, in the meantime I can give you a workaround but I gotta brb first12:23
dmsimardmikenl: 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#L2312:36
mikenlcool thanks dmsimard12:52
dmsimardmikenl: wait, you moved the callback plugin ?12:53
mikenlyip we had an alternative directory13:06
mikenlseems to still work though13:06
dmsimardmikenl: yeah but then if you upgrade ARA, your directory's callback won't be upgraded -- for example13:08
mikenlone thing I did notice is that for the SQL connection to work properly I needed to add mysql-client13:08
dmsimardmikenl: you'd be better off leaving the callback where it was installed and add that path to the callback_plugins path13:08
mikenltrue, this was more for testing13:08
dmsimardyou can have more than one callback_plugins path by using ":" to split them13:08
mikenlyip saw that in the ansible docs13:09
mikenlvery cool interface, makes troubleshooting far easier13:10
dmsimardmikenl: I did a video recently to try and highlight all the features :)13:10
dmsimardhttps://www.youtube.com/watch?v=aQiN5wBXZ4g13:10
mikenlwill have to take a look13:13
mikenldo 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 fire13:15
dmsimardmikenl: programmatically ? Like from a bash script ?13:17
mikenlwell we have a ruby gem we built the schedules the running of playbooks for us13:18
mikenlseems to call all the other callbacks except for ara_log13:18
dmsimardHm, I don't know13:20
*** myoung|brb is now known as myoung13:43
*** tbielawa has joined #ara14:08
*** karimb has joined #ara14:13
*** tbielawa is now known as tbielawa|mtg14:39
*** tbielawa|mtg is now known as tbielawa15:04
*** themurph_ has quit IRC15:23
*** mikenl has quit IRC15:28
*** karimb has quit IRC15:50
*** karimb has joined #ara15:53
*** karimb has quit IRC17:46
*** tbielawa is now known as tbielawa|lunch18:04
*** tbielawa|lunch is now known as tbielawa19:05
*** karimb has joined #ara20:40
*** karimb has quit IRC20:43
*** tbielawa has quit IRC20:48
*** karimb has joined #ara21:34
*** karimb has quit IRC23:27
*** themurph has joined #ara23:44

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