*** openstackgerrit has quit IRC | 09:02 | |
spiette | Is there a way to see the diffs of file changes in ara? | 13:50 |
---|---|---|
dmsimard | spiette: maybe one day, but not right now | 13:51 |
spiette | dmsimard: is it because ansible output don't provides it? | 13:51 |
dmsimard | spiette: no, ARA stores every files involved in a playbook -- there's just no feature to diff files across playbook runs | 13:52 |
spiette | dmsimard: i guess i was not clear, i meant the same kind of output than --diff gives | 13:52 |
dmsimard | The general feature of doing a "diff" between playbook runs is something that's been requested a few times, it just doesn't exist yet | 13:52 |
dmsimard | spiette: I haven't really used --diff ? Can you show an example ? | 13:53 |
spiette | ansible-playbook -i inventory site.yml --check --diff | 13:53 |
spiette | you never used --check --diff? | 13:53 |
dmsimard | nope :/ | 13:53 |
spiette | omg! | 13:53 |
spiette | : D | 13:54 |
dmsimard | I've managed to survive without it :p | 13:54 |
* dmsimard looks | 13:54 | |
spiette | I guess you mostly use ansible on pristine machines then | 13:54 |
spiette | so you don't give a **** about the diffs | 13:54 |
dmsimard | So dry-run and attempt to print what would be the diff simulated from the run ? | 13:56 |
dmsimard | I've known about --check, just not --diff | 13:56 |
dmsimard | Hm, now that you mention it, I wonder if ARA is even triggered by Ansible under --check and/or --diff | 13:56 |
dmsimard | Is it? :D | 13:57 |
spiette | it is | 13:57 |
dmsimard | Okay, and you'd expect the diff to be in the task result output I guess ? | 13:57 |
spiette | but the details are mostly unexistant | 13:57 |
spiette | omg, YES :D | 13:57 |
dmsimard | let me see | 13:57 |
dmsimard | spiette: looks like there /is/ a hook for that https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/callback/__init__.py#L367 | 13:58 |
dmsimard | but we don't currently use it in ARA so that's probably why we're missing out on the actual diff results | 13:59 |
dmsimard | sounds easy enough to fix, I'll write it down and have a look when I have a chance -- trying to finish a patch that's driving me nuts right now | 13:59 |
dmsimard | spiette: https://storyboard.openstack.org/#!/story/2000929 | 14:01 |
*** tbielawa has joined #ara | 14:04 | |
spiette | dmsimard: amazing! | 14:05 |
*** openstackgerrit has joined #ara | 15:35 | |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Unit tests: properly dispose/teardown flask app context https://review.openstack.org/447551 | 15:35 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Stop creating the app in CLI bootstrap https://review.openstack.org/447552 | 15:35 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Filter empty generation warnings by default https://review.openstack.org/447553 | 15:35 |
tbielawa | heh, i think I managed to destroy my ARA database by loading up the ARA env config params and then trying to augment the path | 17:48 |
tbielawa | ANSIBLE_CALLBACK_PLUGINS=/usr/share/ansible_plugins/callback_plugins:${ANSIBLE_CALLBACK_PLUGINS} | 17:48 |
tbielawa | got some fun errors there. woooooweeeeeee | 17:48 |
*** themurph has quit IRC | 17:49 | |
dmsimard | tbielawa: can you file a bug against humans please | 18:02 |
dmsimard | :p | 18:02 |
tbielawa | lol | 18:02 |
dmsimard | tbielawa: sorry there's no issue tracker on https://github.com/humans | 18:04 |
tbielawa | i see ur trollin' | 18:04 |
dmsimard | sorry in a bad mood hunting down silly issues :) | 18:04 |
tbielawa | np. at least you're honest about it | 18:05 |
tbielawa | i like a good harmless troll anyway | 18:05 |
dmsimard | usually I keep that for fridays | 18:05 |
tbielawa | wow, this is surprising. I must have corrupted the heck of it it. | 18:10 |
tbielawa | $ stat -c '%s' .ara/ansible.sqlite | bitmath --from-stdin | 18:11 |
tbielawa | 88.34765625 MiB | 18:11 |
tbielawa | buuuuuuuuuuuuuuut only 1 table. alembic_foo | 18:11 |
tbielawa | lol | 18:11 |
tbielawa | more like, alembic_booooooo | 18:11 |
dmsimard | tbielawa: sqlite doesn't vacuum automatically to reclaim free space from deleted things | 18:11 |
dmsimard | how did you end up deleting things ? | 18:11 |
tbielawa | if I can come up with a decent reproducer and can confirm that I'm not trying to do something stupid, I will file a nice detailed bug report | 18:12 |
tbielawa | dmsimard: I was running a playbook w/ ansible.cfg settings set to use a specific stdout callback. and i said, "oh snap, I'd love to have ARA logs for this" so I did my usual ara init (set env vars) | 18:12 |
tbielawa | then my callback wasn't in the path, so the playbook failed | 18:12 |
tbielawa | so I augmented (as shown in the export above ^^^^^^^^ ) the callback plugins path with my known plugins path. | 18:13 |
tbielawa | then my plugin ran correctly, for custom stdout formatting, but ara got sadface irl. | 18:13 |
dmsimard | now I need to ask jrist to draft a sad parrot logo | 18:13 |
tbielawa | :) | 18:14 |
tbielawa | dmsimard: apuimedo was telling me earlier that he got a new logo for kuryr (some openstack thing for networking and stuff?) | 18:15 |
tbielawa | and he said it looks like a dead platypus | 18:15 |
tbielawa | https://i.ytimg.com/vi/ovbK5kk5AZ0/hqdefault.jpg | 18:15 |
dmsimard | lol | 18:16 |
dmsimard | yeah | 18:16 |
dmsimard | OpenStack foundation went out and drafted logos for all the projects | 18:16 |
dmsimard | projects had to vote on a natural thing or animal for their logo | 18:16 |
tbielawa | animals are natural. except for the platypus, of course. that's some kind of unnatural chimera | 18:17 |
tbielawa | i do want to point out that the FireFox SQLite Manager plugin is still my goto for inspecting sqlite3 DBs | 18:19 |
tbielawa | it's pretty dang good | 18:19 |
dmsimard | I'm old school -- I use sqlite3 cli :) | 18:20 |
dmsimard | If I do need a gui there's this gtk thing | 18:20 |
boxrick1 | dmsimard: Ansible 2.3 doesn't seem to like ARA | 18:35 |
dmsimard | boxrick1: quite possible, haven't had the chance to personally test the release candidate yet -- I think BlessJah tried it out successfully though | 18:36 |
boxrick1 | Its possible its just a package missing or something odd. | 18:36 |
dmsimard | I need to test all three release candidates for 2.1.x, 2.2.x and 2.3 | 18:36 |
boxrick1 | TypeError: get_config() got an unexpected keyword argument 'type_value' <-- is the specific error | 18:37 |
dmsimard | huh, that rings a bell | 18:37 |
dmsimard | boxrick1: is that on 0.12.3 ? | 18:38 |
dmsimard | believe that was fixed | 18:38 |
dmsimard | by https://github.com/openstack/ara/commit/3e076701a1370eec506dff6ba2bc439d6c1404d7 | 18:38 |
boxrick1 | Ah ok that makes sense then | 18:38 |
*** tbielawa is now known as tbielawa|lunch | 19:07 | |
*** tbielawa|lunch is now known as tbielawa | 19:08 | |
*** tbielawa is now known as tbielawa|lunch | 19:23 | |
jrist | dmsimard: haha for failures? | 19:29 |
*** BlessJah_ has joined #ara | 20:18 | |
*** jmccrory_ has joined #ara | 20:22 | |
*** tbielawa|lunch is now known as tbielawa | 20:23 | |
*** jmccrory has quit IRC | 20:29 | |
*** BlessJah has quit IRC | 20:29 | |
*** jmccrory_ is now known as jmccrory | 20:29 | |
*** boxrick1 has quit IRC | 20:31 | |
*** boxrick1 has joined #ara | 20:32 | |
*** BlessJah_ is now known as BlessJah | 20:33 | |
*** jparrill has quit IRC | 20:40 | |
*** jparrill has joined #ara | 20:40 | |
*** themurph has joined #ara | 21:21 | |
*** themurph has quit IRC | 21:35 | |
*** jparrill has quit IRC | 21:36 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!