Thursday, 2017-10-05

harlowjadmsimard shall i zoom with u, to show u sorta what ara is doing here00:48
harlowjai think u might find it interesting00:48
harlowjai don't mind sharing with others to00:48
harlowja(if there is a meeting for such a thing)00:48
dmsimardharlowja: here as in godaddy ?00:49
harlowjaya, sorry00:49
harlowjathere00:49
harlowjahere/there00:49
harlowjaha00:49
dmsimardharlowja: ara isn't popular enough yet to have it's own meetings :P00:50
harlowja:-P00:50
dmsimardnow that it's default in zuul v3 it might be adopted by infra or something, who knows00:50
harlowjadepends on zuulv3, lol00:50
dmsimardhave faith00:50
harlowja:)00:50
harlowjai believeeee00:50
harlowjalol00:50
dmsimardthere was another small patch today00:50
dmsimardthat has a huge impact00:51
harlowja?00:51
dmsimardharlowja: https://review.openstack.org/#/c/509653/00:51
harlowjanice nice00:51
dmsimardharlowja: definitely always interested in hearing about how people are using ara00:52
harlowjaok00:52
harlowjai shall demo sometime, ha00:52
dmsimardmy favorite public example vanished recently :(00:52
dmsimardharlowja: still doing that docker chatops bot thing ?00:54
harlowjamostly, ha00:54
harlowjabutttt now with some sensu stuff00:54
harlowjasensu -> bot -> ansible -> ara00:54
harlowjaha00:54
dmsimardoh we use sensu too for monitoring rdo infra00:54
harlowjaand can now do smart things in (bot) part00:54
harlowjaya, so started channeling all sensu stuff at bot recently, lol00:54
dmsimardI made a passthrough errbot module to send sensu notifications to irc :D00:55
harlowjaya, mine does that00:55
harlowjabut also can try to do smart things with the notifications00:55
harlowja(nothing super advanced right now)00:55
harlowjabut triggering some ansible (which then uses ara) is part of a simpler one00:55
dmsimardyeah our bot is super stupid https://github.com/rdo-infra/rdobot/blob/master/rdobot/plugins/sensu/errbot-sensu.py00:55
harlowjaya, i almosted used errbot00:56
harlowjabut to simple for me :-P00:56
dmsimardit just exposes a webhook and then there is a sensu thing for posting data https://github.com/rdo-infra/rdobot/blob/master/contrib/errbot.py00:56
dmsimardwhat are you using ?00:56
harlowjajoshframework00:57
harlowjalol00:57
harlowjathe best00:57
harlowjalol00:57
dmsimarddude00:58
dmsimardlol00:58
harlowjaya, none of what errbot is doing is magical00:58
harlowjaand i hit to much shit with errbo00:58
harlowjalike i just want to target slack, so fucking let me, lol00:58
dmsimardso sensu can ultimately trigger ansible things through the bot then ? that's neat00:58
harlowjaya00:58
dmsimardoh, sure, I use errbot just so I don't have to write boilerplate00:58
ara-slack<harlowja> File uploaded https://ara-community.slack.com/files/U6V9WRRTM/F7EN99D63/arch.png / https://slack-files.com/T6VAB05L7-F7EN99D63-467d1f6aa8 - <@U6U5DKJ59>00:59
harlowjanot updated with sensu00:59
harlowjabut ya, that's the bot, ha00:59
harlowjaerrbot to much of a pita model, so said screw it, ha01:01
harlowjamakes it to hard to do things that i wanted to01:01
dmsimardso the bot is basically a sensu handler then ?01:02
harlowjaa tiny piece of code in sensu calls into the bot wsgi endpoint01:02
harlowjawhich then funnels events into the main bot 'queue'01:02
harlowjawhich then get handled by <whatever thing internally> handles events, lol01:03
harlowjasomeday i'll opensource all this thing, ha01:04
dmsimardsounds like fun01:05
dmsimardsensu gets a lot of hate but I like the flexibility it provides01:06
harlowjawell i think its just ummm, not what i would want reacting to events01:07
harlowjabut sending them somewhere, sureeee01:07
harlowjait seems people also try to use remediation scripts01:07
harlowjabut i'd rather not have sensu trying to do that (but something orchestration-or-other)01:08
harlowjaremeeidation usually requires somewhat of knowing the bigger picture :-/01:08
harlowja*usually* (not always)01:10
*** Saravejo has joined #ara04:17
openstackgerritMerged openstack/ara feature/1.0: Delete IncludeRole object from result object for include_role tasks  https://review.openstack.org/50958005:11
openstackgerritMerged openstack/ara feature/1.0: Pin flask to >=0.11  https://review.openstack.org/50481205:11
openstackgerritMerged openstack/ara feature/1.0: Add support for Ansible 2.4  https://review.openstack.org/50958105:12
openstackgerritMerged openstack/ara feature/1.0: Ansible 2.4: Properly load the configuration file parser  https://review.openstack.org/50958705:12
openstackgerritMerged openstack/ara master: Ansible 2.4: Properly load the configuration file parser  https://review.openstack.org/50957205:12
*** tbielawa has joined #ara12:38
*** Saravejo has quit IRC12:42
*** rattboi has quit IRC12:52
*** rattboi has joined #ara13:05
tbielawaso weird. after updating to the latest ara hotness due to the 'cannot import name load_config_file' error my httpd config file for the wsgi seems to be ignoring 'SetEnv ANSIBLE_CONFIG /var/www/ara/ansible.cfg'15:53
tbielawaI've got local_tmp set in there but the errors are all about 'Unable to create local directories(/usr/share/httpd/.ansible/tmp'15:53
dmsimardtbielawa: I have to step away for a minute but that seems related to https://storyboard.openstack.org/#!/story/200121915:56
dmsimardbrb15:56
tbielawa100% related, def.15:58
dmsimardtbielawa: what version of ara and ansible are you using !16:12
tbielawa ! allow me to double verify16:13
dmsimarder, s/!/?/ silly phone keyboard16:13
tbielawaansible (2.4.0.0) ara (0.14.4)16:13
tbielawadid a fresh pip install -U {ara,ansible} earlier when I saw that bug report about load_config_file on github16:14
dmsimardtbielawa: yeah 2.4 won't work until 2.4.1 and 0.14.5 unfortunately16:19
tbielawa:-) np16:19
tbielawaara is still the best16:19
dmsimardlol16:19
dmsimardtbielawa: is it in some shape or form in openshift-ansible yet ? :p16:20
dmsimardI want to resume packaging work on fedora/centos, maybe once 1.0 is out to avoid breaking people16:20
dmsimardSo paas sig repos could also get the packaged version if necessary eventually16:21
tbielawaa bunch of us devs use it :-) we even have some MoJo doc up about how to get it started16:21
tbielawaI think we even have a trello card open to integrate it into our CI environments too, but you know how things go, the real useful stuff always gets pushed to the bottom16:23
dmsimardlol16:26
*** tbielawa is now known as tbielawa|lunch16:41
*** tbielawa|lunch is now known as tbielawa|mtg17:40
*** tbielawa|mtg is now known as tbielawa17:53
*** tbielawa is now known as tbielawa|mtg18:00
*** tbielawa|mtg is now known as tbielawa19:17
*** Persistent_ has joined #ara21:23
*** tbielawa has quit IRC22:52

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