*** jlozadad[m] has quit IRC | 00:09 | |
*** Bakey has quit IRC | 00:22 | |
*** myoung_ has joined #ara | 02:01 | |
*** weshay_ has joined #ara | 02:01 | |
*** weshay has quit IRC | 02:03 | |
*** weshay has joined #ara | 02:03 | |
*** myoung has quit IRC | 02:05 | |
*** weshay_ has quit IRC | 02:06 | |
*** myoung_ has quit IRC | 02:07 | |
*** myoung has joined #ara | 02:08 | |
*** andymccr has quit IRC | 04:05 | |
*** andymccr has joined #ara | 04:05 | |
*** jlozadad[m] has joined #ara | 05:06 | |
*** bcoca has quit IRC | 05:09 | |
*** gvincent has quit IRC | 06:48 | |
*** gvincent has joined #ara | 07:40 | |
*** gnupyx has joined #ara | 08:35 | |
*** gnupyx has quit IRC | 09:21 | |
*** gvincent has quit IRC | 10:38 | |
*** gvincent has joined #ara | 11:35 | |
*** gvincent has quit IRC | 12:18 | |
*** gvincent has joined #ara | 12:20 | |
*** gvincent has quit IRC | 12:33 | |
*** gvincent has joined #ara | 12:35 | |
*** tbielawa has joined #ara | 12:42 | |
*** tbielawa has quit IRC | 12:47 | |
*** bcoca has joined #ara | 12:52 | |
*** bcoca has joined #ara | 12:52 | |
*** tbielawa has joined #ara | 12:59 | |
*** gvincent has quit IRC | 13:15 | |
*** gvincent has joined #ara | 13:18 | |
*** gvincent has quit IRC | 13:25 | |
*** jparrill_ has joined #ara | 14:10 | |
*** jparrill has quit IRC | 14:13 | |
dmsimard|off | o/ | 14:20 |
---|---|---|
dmsimard|off | I'm stepping in momentarily from PTO to try and ship the new release :D | 14:20 |
*** Laverne has left #ara | 14:21 | |
*** tbielawa is now known as tbielawa|brb | 14:23 | |
*** dmsimard|off is now known as dmsimard | 14:23 | |
*** gvincent has joined #ara | 14:26 | |
*** tbielawa|brb is now known as tbielawa | 14:28 | |
*** openstackgerrit has joined #ara | 14:32 | |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Fix logging and add some basic verbosity https://review.openstack.org/560069 | 14:32 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Handle race condition where playbook file may not exist https://review.openstack.org/560998 | 14:36 |
*** ssbarnea has joined #ara | 14:49 | |
ssbarnea | dmsimard: hi! do you have a moment? | 14:58 |
dmsimard | ssbarnea: o/ I'm here for a while still, what's up | 14:58 |
ssbarnea | dmsimard: https://github.com/pycontribs/ara/issues/3 | 14:59 |
ssbarnea | i am trying to re-test ARA for possible introduction downstream. | 14:59 |
ssbarnea | mainly I am not sure how to isolate it in a safe way | 14:59 |
ssbarnea | i think that an export ARA_DIR=. could work. | 15:00 |
dmsimard | ssbarnea: When using sqlite, you can easily customize where the database located. In a Jenkins-based environment, this could mean putting the database in ${WORKSPACE}/${JOB_NAME}/ara.sqlite for example. | 15:01 |
dmsimard | I believe I have an example of this.. hang on | 15:01 |
ssbarnea | and more important than this is : final html generation. one example would be great. | 15:01 |
dmsimard | ssbarnea: https://github.com/rdo-infra/ci-config/blob/master/jenkins/jobs/scripts/create-vm.sh#L32-L38 | 15:01 |
dmsimard | ssbarnea: if you keep your job's playbooks in an "isolated" database, generating the HTML report would provide a static report of all the playbooks that ran in that one job | 15:02 |
dmsimard | if you want to generate a report for a specific playbook, you can do that with the generate command (although note I haven't addressed a bug with argument ordering, see comment here: https://storyboard.openstack.org/#!/story/2001013 ) | 15:03 |
ssbarnea | dmsimard: that was what I was interested about for start. | 15:03 |
dmsimard | For retrieving the playbook ID, there's a way, hang on | 15:04 |
dmsimard | ssbarnea: a gist I wrote to someone a while back https://gist.github.com/dmsimard/0335667e69539c1dd22a169cbd43e616 | 15:04 |
dmsimard | That reminds me it would probably be useful to document that -- let me know if you'd like to take a stab at it :) | 15:05 |
dmsimard | ssbarnea: I think it'd be a good idea to provide an Ansible fact that'd return the ID of the playbook within the scope of the run | 15:06 |
dmsimard | but right now you can retrieve it with ara_record and ara_read https://ara.readthedocs.io/en/latest/usage.html#using-the-ara-record-module | 15:06 |
dmsimard | You can see what records look like here: http://logs.openstack.org/98/560998/6/check/ara-integration-debian-py27-2.4.3.0/c4c0c1d/logs/build/reports/857a8bd6-3bff-4e1d-a8b0-f0dbe2ade616.html (expand the records tab) | 15:07 |
ssbarnea | is there a magic command that i can use to perform a "ara generate html <all>"? | 15:07 |
ssbarnea | nevermind, found `ara playbook list -c ID -f value` | 15:08 |
dmsimard | "ara generate html" generates a static report for all the playbooks in the database by default | 15:08 |
dmsimard | For example, this is "ara report html": http://logs.openstack.org/98/560998/6/check/ara-integration-debian-py27-2.4.3.0/c4c0c1d/logs/build/ | 15:09 |
dmsimard | and this is "ara report html" but with a --playbook parameter: http://logs.openstack.org/98/560998/6/check/ara-integration-debian-py27-2.4.3.0/c4c0c1d/logs/build-playbook/ | 15:09 |
dmsimard | ssbarnea: yes, the ARA CLI backend is currently the same as the OpenStack client (cliff) | 15:10 |
dmsimard | so you can also export to json, yaml, etc. | 15:10 |
ssbarnea | dmsimard: which is great, i was able to have progress on that. hopefully i will endup with one line of bash doing what I want. | 15:10 |
dmsimard | ssbarnea: if you're interested in looking at ara downstream, maybe you can talk with sshnaidm -- he's been doing cool stuff with it | 15:10 |
dmsimard | ssbarnea: they have an ara module that's able to ship ansible metrics to influxdb (and graphite?) which provides statistics on key metrics: https://review.rdoproject.org/grafana/dashboard/db/tripleo-ci?orgId=1 | 15:12 |
dmsimard | ssbarnea: you might also be interested in: http://superuser.openstack.org/articles/scaling-ara-ansible/ | 15:13 |
ssbarnea | dmsimard: i have very simple reqs: just looking for a way to improve browsing the ansible logs of a single build, nothing more. | 15:13 |
*** nhicher has joined #ara | 15:13 | |
dmsimard | ssbarnea: that's what we do in the upstream OpenStack CI for all of our 300 000+ monthly jobs :) | 15:13 |
dmsimard | so I'm very intimate and knowledgeable with the use case | 15:14 |
dmsimard | ssbarnea: btw there's a new feature in 0.15.0 (that I'm working on to release this week) that might be interesting to you | 15:23 |
dmsimard | https://github.com/openstack/ara/commit/001ed74273e95a650b80ea5a14a41a1ca94fac7d | 15:23 |
dmsimard | It's up on the latest version of the docs https://ara.readthedocs.io/en/latest/configuration.html | 15:23 |
*** tbielawa is now known as tbielawa|brb | 15:28 | |
*** tbielawa|brb is now known as tbielawa|lunch | 15:42 | |
*** resmo has quit IRC | 16:01 | |
*** harlowja has joined #ara | 16:23 | |
*** tbielawa|lunch is now known as tbielawa | 16:41 | |
openstackgerrit | Merged openstack/ara master: Fix logging and add some basic verbosity https://review.openstack.org/560069 | 16:43 |
*** harlowja has quit IRC | 16:52 | |
*** harlowja has joined #ara | 16:57 | |
ara-slack | <bavdicev> what are rules with Ansible specific quesitons here. nothing related to Ara. Is that frowned upon here? | 17:07 |
*** harlowja has quit IRC | 17:20 | |
openstackgerrit | Merged openstack/ara master: Handle race condition where playbook file may not exist https://review.openstack.org/560998 | 17:23 |
*** sshnaidm is now known as sshnaidm|off | 17:50 | |
*** sshnaidm|off has quit IRC | 17:54 | |
*** tbielawa is now known as tbielawa|brb | 18:55 | |
*** tbielawa|brb is now known as tbielawa | 19:10 | |
*** harlowja has joined #ara | 19:50 | |
ara-slack | <dmsimard> @bavdicev I don't think it's frowned upon but there are probably better channels to ask for help in :slightly_smiling_face: | 20:01 |
ara-slack | <dmsimard> The places I know about are #ansible and #ansible-devel on freenode or the mailing lists. /r/ansible is also surprisingly active and helpful on reddit too. | 20:03 |
ara-slack | <dmsimard> r/ansible is not an "official" place though | 20:04 |
*** tbielawa has quit IRC | 20:21 | |
ara-slack | <dbpiv> “official” is all relative. | 20:27 |
*** sshnaidm|off has joined #ara | 20:41 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!