*** jlozadad_ has quit IRC | 00:28 | |
*** jlozadad_ has joined #ara | 00:32 | |
*** sshnaidm|bbl is now known as sshnaidm | 07:33 | |
*** sshnaidm is now known as sshnaidm|rover | 09:12 | |
*** weshay is now known as weshay_interview | 11:59 | |
*** dougbtv has joined #ara | 12:22 | |
*** dmsimard is now known as dmsimard|off | 12:58 | |
*** weshay_interview is now known as weshay | 13:01 | |
*** Bakey has joined #ara | 13:14 | |
*** tbielawa has joined #ara | 13:59 | |
*** tbielawa is now known as tbielawa|mtg | 14:25 | |
*** tbielawa|mtg is now known as tbielawa | 14:45 | |
*** bcoca has joined #ara | 15:49 | |
*** bcoca has joined #ara | 15:49 | |
*** tbielawa_ has joined #ara | 17:34 | |
*** tbielawa has quit IRC | 17:35 | |
*** tbielawa_ is now known as tbielawa|lunch | 17:38 | |
*** sshnaidm|rover is now known as sshnaidm|off | 18:07 | |
*** harlowja has joined #ara | 18:12 | |
*** DiggyJr has joined #ara | 18:46 | |
*** tbielawa|lunch is now known as tbielawa | 18:46 | |
DiggyJr | hello, all. picking up from my friday posts, i've installed the latest ara. whenever i run an ansible ad hoc command (e.g. ansible somehost -m ping, etc.), i get the warning in stdout. | 18:52 |
---|---|---|
DiggyJr | I've pasted the output here: https://pastebin.com/wh0y5GzC | 18:52 |
DiggyJr | would appreciate if someone can take a look and help me find a fix. | 18:53 |
_KaszpiR_ | DiggyJr Ansible 2.3.2-2 that's ancient | 19:15 |
DiggyJr | yes, but later versions break a key playbook tied to a centos 5 box (also ancient). update coming soon? | 19:16 |
_KaszpiR_ | update playbooks/modules? | 19:17 |
_KaszpiR_ | and.. what centos 5? | 19:17 |
_KaszpiR_ | dude | 19:17 |
_KaszpiR_ | last time I had to touch centos 5 was pain because it was i386 with some ancient video encoding software which required that system version | 19:18 |
dmsimard|off | DiggyJr: hey | 19:20 |
dmsimard|off | So ARA isn't able to record adhoc commands (yet) | 19:20 |
DiggyJr | @_KaszpiR_ thanks for that bit of shaming :-) . | 19:21 |
_KaszpiR_ | it's more like a empathy, DiggyJr ;D | 19:22 |
DiggyJr | @dmsimard the fact that ARA can't record ad hoc commands yet is no prob. i'm just wondering about the warnings i see in stdout when i run them. | 19:22 |
dmsimard|off | _KaszpiR_: rhel6 is supported for a while still, don't underestimate the speed of certain industries | 19:22 |
DiggyJr | I have a paste of output here: https://pastebin.com/wh0y5GzC | 19:23 |
_KaszpiR_ | well, Centos 5 was EOL in 31Math 2017 | 19:23 |
DiggyJr | i know, already! | 19:23 |
dmsimard|off | DiggyJr: yup I saw, adhoc commands still send callback events and it's likely that ARA doesn't get all the expected data that it would get from a proper playbook | 19:24 |
dmsimard|off | I haven't tested that, do you see errors when running an actual playbook ? | 19:24 |
DiggyJr | @dmsimard so, that's expected behavior/output? | 19:25 |
_KaszpiR_ | DiggyJr can't you convert ad-hoc commands into playbooks? ( It's pretty subjective but I started to avoid ad-hoc commands) | 19:25 |
DiggyJr | no, no warnings when running playbooks. | 19:25 |
DiggyJr | @_KaszpiR why would I want to make a simple ad hoc like "-m ping" into a playbook? | 19:26 |
dmsimard|off | DiggyJr: well, I wouldn't go so far as saying that the warnings are expected but it's definitely not expected to work | 19:26 |
DiggyJr | @dmsimard understood. the warnings are more of an annoyance than anthing. doesn't stop the command from executing. but, definitely related to the callback. | 19:28 |
DiggyJr | if I remove the callback, no issue. | 19:28 |
dmsimard|off | DiggyJr: if you have the ability to only enable the callbacks for playbooks that'd be best for now. I can check how much effort it would be to catch that exception | 19:28 |
Bakey | I just ignore it | 19:29 |
dmsimard|off | Otherwise adhoc recording is only planned for 1.0 with the API and all the other things | 19:29 |
Bakey | it doesn't affect the adhoc command from working | 19:29 |
Bakey | it just slings warnings in your output/logs | 19:29 |
dmsimard|off | Bakey: right but "normal" warnings kind of suck :) | 19:29 |
DiggyJr | @Bakey correct. | 19:29 |
Bakey | eh, you get used to them :D | 19:29 |
* Bakey ignores the server on fire. | 19:29 | |
Bakey | This is fine. | 19:30 |
DiggyJr | no, i never get used to them :-( . | 19:30 |
Bakey | ansible satest01 -m ping | grep -v WARNING | 19:30 |
dmsimard|off | Bakey: lol | 19:31 |
DiggyJr | @dmsimard I've added the ara callback to ansible.cfg. how would i get it to only apply to playbooks? | 19:31 |
Bakey | see, no problem :D | 19:31 |
dmsimard|off | I guess you could go one step further and wrap it in a bash alias/function/script | 19:31 |
Bakey | sure, ansible_ping and ansible_setup | 19:32 |
dmsimard|off | DiggyJr: I don't have any great ideas right now :p | 19:32 |
DiggyJr | @mdsimard np. but, at least the issue is out there. i'd just as soon avoid workarounds, and put up with the warnings for now. | 19:33 |
DiggyJr | operative words - for now. | 19:33 |
Bakey | hey dmsimard|off how do I get my hands on one of those sweet ara stickers | 19:44 |
dmsimard|off | Bakey: haha | 19:54 |
dmsimard|off | Hummmmm, they're rare :D | 19:55 |
dmsimard|off | The ones that exist I've handed them out personally at talks or conferences | 19:55 |
_KaszpiR_ | Bakey you must sign that... paper... don't mind the small text on the bottom mentioning something about yout soul, and oh, you really don't need to sign it with blood, just red pen is enough | 19:55 |
dmsimard|off | Meaningful contributors that have been harder to meet in person got a parcel in the mail :) | 19:55 |
Bakey | _KaszpiR_: he'll have to fight for it | 19:56 |
Bakey | dmsimard|off: not much of a developer, and I didn't go to any conferences this year | 19:57 |
Bakey | probably won't get to next year either | 19:57 |
dmsimard|off | Bakey: what general area of the planet are you ? :) | 20:01 |
dmsimard|off | er, are you in* | 20:02 |
Bakey | Fat jokes huh? | 20:02 |
Bakey | I'm in Birmingham AL | 20:02 |
_KaszpiR_ | TIL, there's Birmingham in USA | 20:03 |
Bakey | bir-ming-ham | 20:03 |
Bakey | not "birming-um" | 20:03 |
Bakey | :D | 20:04 |
_KaszpiR_ | ;) | 20:04 |
dmsimard|off | Bakey: I'm not going anywhere near you in the near future, do you know anyone that's more likely to see me and could bring you some or something ? :D | 20:04 |
dmsimard|off | I'll be in Vancouver next week for the OpenStack summit/Open Dev Conf | 20:04 |
_KaszpiR_ | whoa it's next week already | 20:07 |
dmsimard|off | _KaszpiR_: you're telling me, I'm not anywhere near ready for the stuff I'm doing there :) | 20:10 |
*** sshnaidm|off has quit IRC | 21:16 | |
*** DiggyJr has quit IRC | 21:17 | |
Bakey | can I pipe in playbook runs from a remote host | 21:24 |
Bakey | or do I need to install ARA on the new node I just built | 21:24 |
*** tbielawa has quit IRC | 21:36 | |
dmsimard|off | Bakey: people have typically used a mysql database for aggregating data from remote locations | 21:43 |
Bakey | yeah I should probably look into doing that | 21:44 |
Bakey | does it say which host ran what playbook? | 21:44 |
dmsimard|off | Bakey: not really, but I've seen people use ara_record to identify that | 21:51 |
Bakey | yeah maybe a good thing, but a bunch of backporting to get it "standard" everywhere | 21:52 |
*** harlowja has quit IRC | 21:56 | |
dmsimard|off | Bakey: I think hiroki has a use case where each node self hosts its own ARA reports | 22:00 |
Bakey | yeah that's what I was going to do | 22:00 |
Bakey | it's more scalable that way I think, but you have to know which node did what job | 22:00 |
dmsimard|off | For OpenStack we use the sqlite middleware which allows sharded/distributed data but only one application/web server | 22:01 |
dmsimard|off | i.e, http://ara.readthedocs.io/en/stable/advanced.html | 22:02 |
Bakey | I don't think my use case is nearly that big | 22:02 |
dmsimard|off | Highlighted here: https://dmsimard.com/2018/04/09/scaling-ara-to-a-million-ansible-playbooks-a-month/ | 22:02 |
Bakey | but I'm going to be offloading some ansible playbook runs to a Jenkins server | 22:02 |
Bakey | and it'd be nice to also have ARA for that | 22:03 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!