ara-slack | <liyuankui> Currently we are building a system to invoke playbooks, and we want to use ara to show the execution result. But we record various other stuff for the playbook execution, such as params, users, etc... So we want to link our record with ara record? I suppose some post-run hook would be helpful. | 06:07 |
---|---|---|
*** resmo has joined #ara | 06:16 | |
*** egonzalez has joined #ara | 08:13 | |
egonzalez | dmsimard, when you around wanted to ask you a few questions about unique hosts identifiers https://storyboard.openstack.org/#!/story/2001159 | 08:14 |
*** egonzalez has quit IRC | 10:06 | |
*** egonzalez has joined #ara | 11:41 | |
dmsimard | egonzalez: hi | 11:54 |
egonzalez | dmsimard, regarding https://storyboard.openstack.org/#!/story/2001159 | 13:03 |
egonzalez | is there any work on it? | 13:03 |
dmsimard | egonzalez: not right now, no. | 13:04 |
dmsimard | egonzalez: I don't think it would make the cut for 1.0 either, there's still a considerable backlog to work through for it | 13:05 |
dmsimard | egonzalez: it's not an easy problem, what's your use case ? | 13:05 |
egonzalez | dmsimard, in our internal work want to use ara data to create usage statistics about success and stuff like that filtered by hosts, but being diff ID per execution cannot match the same data | 13:07 |
dmsimard | egonzalez: so here's the problem... in the ara early days (alpha/beta), hosts were considered unique across playbooks. This allowed you to do things like look at a playbook history for a particular host https://youtu.be/k3qtgSFzAHI?list=PLyLLwe4-L1ETFVoAogQqpn6s5prGKL5Ty&t=23 | 13:09 |
dmsimard | egonzalez: however, ansible doesn't have a similar "handshake" analogous to what puppet agent would do with a puppetmaster for example (certificate signature), so from playbook to playbook, a server called 'webserver' is not necessarily the same machine | 13:10 |
egonzalez | dmsimard, makes sense now | 13:11 |
egonzalez | dmsimard, thanks a lot | 13:11 |
dmsimard | egonzalez: I've discussed this with several folks at the PTG and there are perhaps some paths worth exploring, I've also discussed this with some core Ansible and Tower folks | 13:11 |
dmsimard | egonzalez: I have several ideas to work this out but it's still a lot of work, there's database schema work involved, a lot of frontend, etc. | 13:12 |
dmsimard | 1.1 maybe :) | 13:12 |
* dmsimard needs to get 1.0 out the door | 13:13 | |
dmsimard | egonzalez: if you're crafty, you could probably generate your own persistent IDs and use that | 13:15 |
dmsimard | egonzalez: but that's probably not much different than some awk/grep or ~raw SQL | 13:15 |
egonzalez | dmsimard, many thanks, will think a way to achieve that. Thanks | 13:28 |
*** ara-slack has quit IRC | 13:49 | |
*** ara-slack has joined #ara | 13:49 | |
*** ara-slack has quit IRC | 13:49 | |
*** ara-slack has joined #ara | 13:49 | |
*** ChanServ sets mode: +v ara-slack | 13:49 | |
ara-slack | <dmsimard> @liyuankui hey there, ara_record can be used to attach arbitrary data to your report, yes. Have you looked at the documentation ? http://ara.readthedocs.io/en/latest/usage.html#using-the-ara-record-module | 13:50 |
*** egonzalez has quit IRC | 15:03 | |
*** resmo has quit IRC | 15:42 | |
ara-slack | <jcapps> hmmm is there a way to make diff output show up in ara? (I swear we used to be able to see such diffs in 0.13.3, but now cannot reproduce) | 19:41 |
ara-slack | <jcapps> also... Environment=ARA_LOG_LEVEL=DEBUG does not seem to pump out much info | 19:50 |
ara-slack | <dmsimard> @jcapps not to my knowledge, adding diff support to ara is on the to-do list :slightly_smiling_face: | 19:56 |
ara-slack | <jcapps> oh it is? I will look for that/vote | 19:58 |
ara-slack | <dmsimard> https://storyboard.openstack.org/#!/story/2000929 | 19:59 |
*** jparrill has joined #ara | 22:44 | |
*** jparrill has quit IRC | 22:45 | |
*** weshay|ruck is now known as weshay|PTO | 23:38 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!