*** gvincent has joined #ara | 07:09 | |
*** _KaszpiR_ has quit IRC | 07:42 | |
*** _KaszpiR_ has joined #ara | 07:49 | |
*** mgariepy has quit IRC | 11:06 | |
*** dpawlik4 has joined #ara | 11:40 | |
*** dpawlik4 is now known as dpawlik | 11:42 | |
*** mgariepy has joined #ara | 12:14 | |
*** bwatson has left #ara | 13:33 | |
dmsimard | kodiak_f: re: #ansible, did you know that you could send slack notifications about playbook runs from ara with ansible ? I did this a while ago as a PoC but doesn't mean it's a good idea :p https://github.com/ansible-community/ara/blob/master/contrib/playbooks/slack-notifications.yaml | 14:48 |
---|---|---|
dmsimard | you could use a similar pattern with irc or whatever | 14:48 |
kodiak_f | ha that's wild! | 14:48 |
kodiak_f | I've got ARA current up and running and I'm mostly leaving it alone for now until the new version drops | 14:48 |
kodiak_f | then we're going all-in | 14:48 |
dmsimard | \o/ | 14:49 |
dmsimard | I can't commit but I would like to say two weeks should be enough time to ship | 14:50 |
kodiak_f | I have docker-compose working for bootstrapping a full mariadb-based ARA server, but need to pick a reverse proxy and build that in and test on new version before it'll be worth contributing | 14:50 |
kodiak_f | I've diverted attention at this point to Ansible-CMDB but plan to circle back to ARA after the drop | 14:51 |
dmsimard | nice! re: reverse proxy, if it can help there is some "prior art" in the ansible roles: https://github.com/ansible-community/ara-collection/blob/master/roles/ara_frontend_nginx/templates/ara-api.conf.j2 | 14:52 |
kodiak_f | I'd love to eventually see all 3 projects hit some sort of state of symbiosis between Ansible-ARA, Ansible Semaphore, and Ansible-CMDB. Right now I think I need to run all 3 for my team, AND settle on an execution scheduler (cron, systemd etc) | 14:52 |
kodiak_f | I was torn between snagging the ARA reverse proxy frontend using NGINX or using this as a good excuse to finally run Traefik + Swarm | 14:53 |
dmsimard | fwiw ara has the data that ansible-cmdb presents but has no "optimized" view for it like cmdb does | 14:54 |
dmsimard | maybe one day we'll have something similar :) | 14:54 |
kodiak_f | yep - I see it in the facts. One place where Ansible-CMDB is limited is the level of complexity with introduction of additional columns or custom facts | 14:54 |
dmsimard | I haven't looked at semaphore in forever and didn't realize it was still a thing after awx was open sourced | 14:55 |
kodiak_f | I'd love to be able to essentially feed ARA a YAML file that details what to keep in it's CMDB | 14:55 |
dmsimard | but it should probably work with ara given it's just a regular callback | 14:55 |
kodiak_f | For Semaphore there's been a huge recent push to revive the project | 14:55 |
dmsimard | kodiak_f: can you define "what to keep" ? ara keeps host facts but that's it I guess | 14:56 |
kodiak_f | I'd probably skip Semaphore and run AWX but I see two huge limitations to doing so: 1. Release cadence+complexity of upgrade, and 2. The much bigger problem of AWX moving to a Kubernetes-only production model | 14:56 |
kodiak_f | sorry s/keep/present | 14:56 |
kodiak_f | so we can't ahve a 1000 column CMDB in ARA, but being able to pick and choose from facts to be columns would be perfect | 14:57 |
dmsimard | yeah worth thinking about it when we get there | 14:57 |
kodiak_f | right now to introduce additional columns and facts in CMDB, it's complicated, though I'm grateful for the ability to do so - I've not tried yet but it's on my backlog | 14:58 |
dmsimard | there is a challenge in the database model/API in getting unique hosts but someone is working on it: https://github.com/ansible-community/ara/pull/247 | 14:58 |
dmsimard | I think after that lands (after 1.5.6) we might have a foundation to build on for displaying the latest data we have about a host which would bring it closer to ansible-cmdb | 14:59 |
kodiak_f | That would be very cool | 14:59 |
kodiak_f | I dislike Ansible-CMDB slightly less than a week ago now that I've had time to focus on it, but I still think it's a stale project | 15:00 |
dmsimard | the author has opinions about YAML :) https://github.com/fboender/ansible-cmdb/blob/master/src/ansiblecmdb/ihateyaml.py | 15:04 |
kodiak_f | I've noticed a trend. Most Ops/SRE (like me) love YAML, then most real devs hate it | 15:05 |
kodiak_f | I'm no coder, so I enjoy YAML because I don't hit it's limitations | 15:05 |
kodiak_f | dmsimard - this is your project right? | 15:05 |
kodiak_f | ansible-ara | 15:05 |
dmsimard | it's not "my" project but I'm the author yes :p | 15:08 |
*** mgariepy has quit IRC | 15:09 | |
kodiak_f | ah I get ya. Well, thanks for this project. I didn't see a coffee link | 15:10 |
kodiak_f | def owe coffee | 15:10 |
*** gvincent has quit IRC | 15:13 | |
dmsimard | I don't seek donations or sponsorships but thanks for the offer :D | 15:17 |
kodiak_f | OK well it's highly appreciated as someone who can't afford Tower | 15:18 |
*** JqckB has quit IRC | 15:22 | |
*** JqckB has joined #ara | 15:24 | |
*** mgariepy has joined #ara | 15:29 | |
*** eliv has quit IRC | 15:39 | |
*** eliv has joined #ara | 15:52 | |
*** eliv has quit IRC | 15:59 | |
*** eliv has joined #ara | 16:00 | |
*** sshnaidm is now known as sshnaidm|afk | 16:06 | |
*** ccamacho has quit IRC | 16:25 | |
dmsimard | ok well I appreciate that you appreciate it \o/ | 16:31 |
kodiak_f | On drawback to the non-DB nature of Ansible-CMDB that I could see working around in a reimagining of ARA-CMDB would be to have some history of how facts change on a host over time | 17:47 |
kodiak_f | Every time I cut a new CMDB contents, unless I do something fancy with versioning and symlinking, the prior CMDB contents go into the bit bucket | 17:47 |
dmsimard | I guess we have the data already since host facts are stored uniquely per playbook, the challenge would be in how to display it | 17:49 |
dmsimard | there is also some amount of overlap between tools and functionality -- as in, ara might not be the right tool for this kind of stuff when there are monitoring tools or time series databases | 17:50 |
kodiak_f | Coming from the Splunk world having each fact be a drill-down that takes you to that record over time would work | 17:51 |
kodiak_f | I don't see anyone using a TSDB for fact evolution but that would be swell to see - we use influx | 17:51 |
dmsimard | once upon a time I saw an implementation that dumped data from ara and sent it to influx so you could have stuff like task times in grafana and stuff | 17:52 |
dmsimard | it was neat but it was also developed against 0.x and would likely need some work to make it work with 1.x | 17:53 |
kodiak_f | that's our stack - Telegraf --> InfluxDB1x --> Grafana. I'm terrible at Grafana so I've not done much beyond basic graphs | 17:53 |
dmsimard | 0.x also didn't have an API and 1.x does so the implementation might end up being different | 17:54 |
dmsimard | in case you're curious: https://opendev.org/openstack/ansible-role-collect-logs/src/branch/master/plugins/modules/ara_influxdb.py | 17:54 |
dmsimard | ^ sshnaidm|afk: out of curiosity do you know if that is still used ? | 17:55 |
kodiak_f | interesting - will check it out. I deployed ARA w/ a "real" database from the outset because I'm planning on shipping callbacks 24/7 | 17:56 |
kodiak_f | as such I don't really mind growing the DB constantly with facts | 17:56 |
kodiak_f | Cool that all of this stuff lives within OpenStack repos. Always thought that was the coolest project. Deploying a 10 node Icehouse cluster the hard way was about the most fun project I ever got at work | 17:58 |
dmsimard | ara actually grew up in the openstack community and I have an openstack cloud in my basement :) | 17:58 |
dmsimard | also btw you can keep the database size in check by pruning older playbooks or depending on other criterias: https://ara.readthedocs.io/en/latest/cli.html#ara-playbook-prune | 17:59 |
kodiak_f | I may have to prune but hope I won't. I'd like to keep years of plays | 18:00 |
sshnaidm|afk | dmsimard, not used afaik | 18:07 |
dmsimard | sshnaidm|afk: ok no worries maybe we can revisit it one day :) | 18:11 |
dmsimard | I am generally interested in mechanisms to export data from ara to other things like elasticsearch, influxdb and such | 18:12 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!