Monday, 2017-03-20

*** openstackgerrit has quit IRC09:02
spietteIs there a way to see the diffs of file changes in ara?13:50
dmsimardspiette: maybe one day, but not right now13:51
spiettedmsimard: is it because ansible output don't provides it?13:51
dmsimardspiette: no, ARA stores every files involved in a playbook -- there's just no feature to diff files across playbook runs13:52
spiettedmsimard: i guess i was not clear, i meant the same kind of output than --diff gives13:52
dmsimardThe general feature of doing a "diff" between playbook runs is something that's been requested a few times, it just doesn't exist yet13:52
dmsimardspiette: I haven't really used --diff ? Can you show an example ?13:53
spietteansible-playbook -i inventory site.yml --check --diff13:53
spietteyou never used --check --diff?13:53
dmsimardnope :/13:53
spietteomg!13:53
spiette: D13:54
dmsimardI've managed to survive without it :p13:54
* dmsimard looks13:54
spietteI guess you mostly use ansible on pristine machines then13:54
spietteso you don't give a **** about the diffs13:54
dmsimardSo dry-run and attempt to print what would be the diff simulated from the run ?13:56
dmsimardI've known about --check, just not --diff13:56
dmsimardHm, now that you mention it, I wonder if ARA is even triggered by Ansible under --check and/or --diff13:56
dmsimardIs it? :D13:57
spietteit is13:57
dmsimardOkay, and you'd expect the diff to be in the task result output I guess ?13:57
spiettebut the details are mostly unexistant13:57
spietteomg, YES :D13:57
dmsimardlet me see13:57
dmsimardspiette: looks like there /is/ a hook for that https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/callback/__init__.py#L36713:58
dmsimardbut we don't currently use it in ARA so that's probably why we're missing out on the actual diff results13:59
dmsimardsounds 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 now13:59
dmsimardspiette: https://storyboard.openstack.org/#!/story/200092914:01
*** tbielawa has joined #ara14:04
spiettedmsimard: amazing!14:05
*** openstackgerrit has joined #ara15:35
openstackgerritDavid Moreau Simard proposed openstack/ara master: Unit tests: properly dispose/teardown flask app context  https://review.openstack.org/44755115:35
openstackgerritDavid Moreau Simard proposed openstack/ara master: Stop creating the app in CLI bootstrap  https://review.openstack.org/44755215:35
openstackgerritDavid Moreau Simard proposed openstack/ara master: Filter empty generation warnings by default  https://review.openstack.org/44755315:35
tbielawaheh, i think I managed to destroy my ARA database by loading up the ARA env config params and then trying to augment the path17:48
tbielawaANSIBLE_CALLBACK_PLUGINS=/usr/share/ansible_plugins/callback_plugins:${ANSIBLE_CALLBACK_PLUGINS}17:48
tbielawagot some fun errors there. woooooweeeeeee17:48
*** themurph has quit IRC17:49
dmsimardtbielawa: can you file a bug against humans please18:02
dmsimard:p18:02
tbielawalol18:02
dmsimardtbielawa: sorry there's no issue tracker on https://github.com/humans18:04
tbielawai see ur trollin'18:04
dmsimardsorry in a bad mood hunting down silly issues :)18:04
tbielawanp. at least you're honest about it18:05
tbielawai like a good harmless troll anyway18:05
dmsimardusually I keep that for fridays18:05
tbielawawow, this is surprising. I must have corrupted the heck of it it.18:10
tbielawa$ stat -c '%s' .ara/ansible.sqlite | bitmath --from-stdin18:11
tbielawa88.34765625 MiB18:11
tbielawabuuuuuuuuuuuuuuut only 1 table. alembic_foo18:11
tbielawalol18:11
tbielawamore like, alembic_booooooo18:11
dmsimardtbielawa: sqlite doesn't vacuum automatically to reclaim free space from deleted things18:11
dmsimardhow did you end up deleting things ?18:11
tbielawaif 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 report18:12
tbielawadmsimard: 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
tbielawathen my callback wasn't in the path, so the playbook failed18:12
tbielawaso I augmented (as shown in the export above ^^^^^^^^ ) the callback plugins path with my known plugins path.18:13
tbielawathen my plugin ran correctly, for custom stdout formatting, but ara got sadface irl.18:13
dmsimardnow I need to ask jrist to draft a sad parrot logo18:13
tbielawa:)18:14
tbielawadmsimard: apuimedo was telling me earlier that he got a new logo for kuryr (some openstack thing for networking and stuff?)18:15
tbielawaand he said it looks like a dead platypus18:15
tbielawahttps://i.ytimg.com/vi/ovbK5kk5AZ0/hqdefault.jpg18:15
dmsimardlol18:16
dmsimardyeah18:16
dmsimardOpenStack foundation went out and drafted logos for all the projects18:16
dmsimardprojects had to vote on a natural thing or animal for their logo18:16
tbielawaanimals are natural. except for the platypus, of course. that's some kind of unnatural chimera18:17
tbielawai do want to point out that the FireFox SQLite Manager plugin is still my goto for inspecting sqlite3 DBs18:19
tbielawait's pretty dang good18:19
dmsimardI'm old school -- I use sqlite3 cli :)18:20
dmsimardIf I do need a gui there's this gtk thing18:20
boxrick1dmsimard: Ansible 2.3 doesn't seem to like ARA18:35
dmsimardboxrick1: quite possible, haven't had the chance to personally test the release candidate yet -- I think BlessJah tried it out successfully though18:36
boxrick1Its possible its just a package missing or something odd.18:36
dmsimardI need to test all three release candidates for 2.1.x, 2.2.x and 2.318:36
boxrick1TypeError: get_config() got an unexpected keyword argument 'type_value' <-- is the specific error18:37
dmsimardhuh, that rings a bell18:37
dmsimardboxrick1: is that on 0.12.3 ?18:38
dmsimardbelieve that was fixed18:38
dmsimardby https://github.com/openstack/ara/commit/3e076701a1370eec506dff6ba2bc439d6c1404d718:38
boxrick1Ah ok that makes sense then18:38
*** tbielawa is now known as tbielawa|lunch19:07
*** tbielawa|lunch is now known as tbielawa19:08
*** tbielawa is now known as tbielawa|lunch19:23
jristdmsimard: haha for failures?19:29
*** BlessJah_ has joined #ara20:18
*** jmccrory_ has joined #ara20:22
*** tbielawa|lunch is now known as tbielawa20:23
*** jmccrory has quit IRC20:29
*** BlessJah has quit IRC20:29
*** jmccrory_ is now known as jmccrory20:29
*** boxrick1 has quit IRC20:31
*** boxrick1 has joined #ara20:32
*** BlessJah_ is now known as BlessJah20:33
*** jparrill has quit IRC20:40
*** jparrill has joined #ara20:40
*** themurph has joined #ara21:21
*** themurph has quit IRC21:35
*** jparrill has quit IRC21:36

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