Monday, 2019-01-14

*** dougbtv has quit IRC01:02
*** gvincent has joined #ara07:52
*** themroc has joined #ara08:11
*** ssbarnea|rover has joined #ara08:54
*** herald85 has joined #ara08:57
*** herald85 has quit IRC10:07
*** sshnaidm|off is now known as sshnaidm10:27
ara-slackguillaume.lunik: @guillaume.lunik has joined the channel15:09
openstackgerritGuillaume Vincent proposed openstack/ara-web master: WIP Move playbook details page in a dedicated page  https://review.openstack.org/62845115:28
openstackgerritGuillaume Vincent proposed openstack/ara-web master: Fix 404 config.json issue  https://review.openstack.org/63070415:28
openstackgerritDavid Moreau Simard proposed openstack/ara-infra master: WIP: New ARA 1.0 integration jobs  https://review.openstack.org/63030315:30
*** herald85 has joined #ara15:39
openstackgerritMerged openstack/ara-plugins master: Implement support for naming playbooks  https://review.openstack.org/62992715:49
openstackgerritMerged openstack/ara-plugins master: Implement support for setting host aliases  https://review.openstack.org/62992815:49
openstackgerritDavid Moreau Simard proposed openstack/ara-infra master: WIP: New ARA 1.0 integration jobs  https://review.openstack.org/63030315:50
openstackgerritMerged openstack/ara-web master: Fix 404 config.json issue  https://review.openstack.org/63070415:58
*** etienne has joined #ara16:05
openstackgerritGuillaume Vincent proposed openstack/ara-web master: Move playbook details page in a dedicated page  https://review.openstack.org/62845116:12
openstackgerritGuillaume Vincent proposed openstack/ara-web master: Move playbook details page in a dedicated page  https://review.openstack.org/62845116:19
openstackgerritGuillaume Vincent proposed openstack/ara-web master: Move playbook details page in a dedicated page  https://review.openstack.org/62845116:21
*** themroc has quit IRC16:46
*** herald85 has quit IRC16:52
openstackgerritGuillaume Vincent proposed openstack/ara-web master: Move playbook details page in a dedicated page  https://review.openstack.org/62845119:18
openstackgerritDavid Moreau Simard proposed openstack/ara-infra master: WIP: New ARA 1.0 integration jobs  https://review.openstack.org/63030319:35
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Serialize the value provided by ara_record  https://review.openstack.org/62994619:38
dmsimardgvincent: added a comment in https://review.openstack.org/#/c/628451/19:56
gvincentdmsimard,19:57
gvincentLooking at the API, I see that we don't currently have support for "/api/v1/results?task=<:id>" so I'll add that.19:57
gvincentthis will not be interesting19:57
gvincentI need to get all tasks for a given playbook19:57
dmsimardgvincent: tasks and results already support a playbook param19:58
dmsimarddo you need something else ?19:58
gvincentif for every task I need to get results, it will be too long to display some informations19:58
dmsimardyes, agree19:58
gvincentok so I will get results?playbook=... then19:58
dmsimardresults are likely the biggest possible calls19:59
dmsimardhmm19:59
gvincentI see that20:00
dmsimardif you do a call to get all tasks and then a call to get all results20:00
dmsimardyou need something to associate the results back to the tasks ?20:00
dmsimardresults are "children" of tasks20:00
gvincentthere is one result per host right?20:01
gvincentfor a given task20:01
openstackgerritDavid Moreau Simard proposed openstack/ara-infra master: WIP: New ARA 1.0 integration jobs  https://review.openstack.org/63030320:01
dmsimardyes20:01
dmsimardone task that runs on one host: one result, one task taht runs on 10 hosts: 10 results20:01
gvincentin ara 0.x we get all results for a given playbook when we click on tasks20:01
dmsimardyes, it's loaded more or less asynchronously20:02
gvincentso I will do my POC on ara v1 with /results20:03
gvincent /results?playbook=:id&status=failed20:03
dmsimardyeah would work, both playbook and status are available for search20:03
gvincentIMO result.content should only be on results/:id20:04
dmsimard+120:04
dmsimardsame thing for file content20:04
gvincent /results should also have nested host20:04
gvincentinstead of host id20:05
dmsimardsure20:06
gvincentdmsimard, do you want me tomorrow to work on /playbooks on the api?20:07
gvincentto get the nb_hosts, nb_plays, nb_files, nb_tasks and nb_records20:07
gvincentand remove files arguments and hosts ?20:08
gvincentnb_arguments*20:08
dmsimardgvincent: I was writing it down but by all means feel free to pick that up -- I'm trying to standardize the integration tests between 0.x and 1.x because ara-plugins and ara-clients aren't tested right now -- it's also the same test suite I'll use to populate the demo that I also need to update automatically20:09
gvincentack I will work on this, except if apollo13 want to work on this20:10
* apollo13 is swamped with other work20:10
gvincentnp20:10
apollo13but at least I am working with ansible :)20:11
gvincentI will do it20:11
dmsimardfwiw another thing I have to do is write a blog post for a general status update and formalize the short term backlog better than in an etherpad20:11
dmsimardwe have other potential contributors that are interested but docs and the to-do list are lacking20:11
dmsimardgood news is that integration test work has picked up an actual bug so that's great :p20:14
gvincent\o/20:14
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Serialize the value provided by ara_record  https://review.openstack.org/62994620:15
openstackgerritDavid Moreau Simard proposed openstack/ara-infra master: WIP: New ARA 1.0 integration jobs  https://review.openstack.org/63030320:18
dmsimardapollo13: no hard feelings <320:20
dmsimardIn completely unrelated news, the fact that ara 0.x is helping me troubleshoot the 1.0 integration jobs is just awesome20:23
apollo13haha20:24
dmsimardhttp://logs.openstack.org/03/630303/6/check/ara-integration-ubuntu-2.6.11/418bc1f/ara-report/20:24
dmsimardThat's a report of Zuul running 0.x integration tests on 1.0 (with a minimal delta)20:25
dmsimardoh yeah there's another bug I need to figure out.. gotta write it down20:26
dmsimardthere's something weird when the callback posts stats at the end20:27
apollo13apropros callbacks and so20:33
apollo13is there a way to disable play recap?20:33
apollo13also the unixy stdout_callback is nice20:34
dmsimardnot sure20:34
apollo13oh I just need to override https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/callback/unixy.py#L16820:36
dmsimardYou'd need to carry a patched version in tree20:43
dmsimardOverriding it in another callback isn't going to prevent that from running20:44
dmsimardActually since it's a stdout callback, there can only be one20:44
apollo13dmsimard: yes, I am fine with putting it into my source20:47
apollo13dmsimard: that said, "patching" is relative, I can import it and just override that method, so it is rather clean20:48
dmsimardimport ?20:55
apollo13sure21:00
apollo13from ansible.plugins.callback import unixy21:00
apollo13and then class CallbackModule(unixy.CallbackModule): and override the functions as needed21:00
openstackgerritDavid Moreau Simard proposed openstack/ara-infra master: WIP: New ARA 1.0 integration jobs  https://review.openstack.org/63030321:02
dmsimardapollo13: you can do that at runtime ?21:03
dmsimardI guess I never tried21:03
apollo13well it is just python21:03
dmsimardyeah but by the time you try to patch it, is it not already loaded in another memory context ?21:04
apollo13I am not trying to patch the unixy plugin21:04
apollo13I set stdout_callback to my_plugin21:04
dmsimardohhhhh21:04
apollo13and then create callback_plugins/my_plugin.py in my playbook folder21:04
dmsimardsure21:04
apollo13but it is "nice" in the sense that I do not have much duplication21:04
openstackgerritMerged openstack/ara-server master: Serialize the value provided by ara_record  https://review.openstack.org/62994622:56
openstackgerritDavid Moreau Simard proposed openstack/ara-infra master: WIP: New ARA 1.0 integration jobs  https://review.openstack.org/63030323:02

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