Tuesday, 2018-04-17

*** jlozadad[m] has quit IRC00:09
*** Bakey has quit IRC00:22
*** myoung_ has joined #ara02:01
*** weshay_ has joined #ara02:01
*** weshay has quit IRC02:03
*** weshay has joined #ara02:03
*** myoung has quit IRC02:05
*** weshay_ has quit IRC02:06
*** myoung_ has quit IRC02:07
*** myoung has joined #ara02:08
*** andymccr has quit IRC04:05
*** andymccr has joined #ara04:05
*** jlozadad[m] has joined #ara05:06
*** bcoca has quit IRC05:09
*** gvincent has quit IRC06:48
*** gvincent has joined #ara07:40
*** gnupyx has joined #ara08:35
*** gnupyx has quit IRC09:21
*** gvincent has quit IRC10:38
*** gvincent has joined #ara11:35
*** gvincent has quit IRC12:18
*** gvincent has joined #ara12:20
*** gvincent has quit IRC12:33
*** gvincent has joined #ara12:35
*** tbielawa has joined #ara12:42
*** tbielawa has quit IRC12:47
*** bcoca has joined #ara12:52
*** bcoca has joined #ara12:52
*** tbielawa has joined #ara12:59
*** gvincent has quit IRC13:15
*** gvincent has joined #ara13:18
*** gvincent has quit IRC13:25
*** jparrill_ has joined #ara14:10
*** jparrill has quit IRC14:13
dmsimard|offo/14:20
dmsimard|offI'm stepping in momentarily from PTO to try and ship the new release :D14:20
*** Laverne has left #ara14:21
*** tbielawa is now known as tbielawa|brb14:23
*** dmsimard|off is now known as dmsimard14:23
*** gvincent has joined #ara14:26
*** tbielawa|brb is now known as tbielawa14:28
*** openstackgerrit has joined #ara14:32
openstackgerritDavid Moreau Simard proposed openstack/ara master: Fix logging and add some basic verbosity  https://review.openstack.org/56006914:32
openstackgerritDavid Moreau Simard proposed openstack/ara master: Handle race condition where playbook file may not exist  https://review.openstack.org/56099814:36
*** ssbarnea has joined #ara14:49
ssbarneadmsimard: hi! do you have a moment?14:58
dmsimardssbarnea: o/ I'm here for a while still, what's up14:58
ssbarneadmsimard: https://github.com/pycontribs/ara/issues/314:59
ssbarneai am trying to re-test ARA for possible introduction downstream.14:59
ssbarneamainly I am not sure how to isolate it in a safe way14:59
ssbarneai think that an export ARA_DIR=. could work.15:00
dmsimardssbarnea: 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
dmsimardI believe I have an example of this.. hang on15:01
ssbarneaand more important than this is : final html generation. one example would be great.15:01
dmsimardssbarnea: https://github.com/rdo-infra/ci-config/blob/master/jenkins/jobs/scripts/create-vm.sh#L32-L3815:01
dmsimardssbarnea: 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 job15:02
dmsimardif 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
ssbarneadmsimard: that was what I was interested about for start.15:03
dmsimardFor retrieving the playbook ID, there's a way, hang on15:04
dmsimardssbarnea: a gist I wrote to someone a while back https://gist.github.com/dmsimard/0335667e69539c1dd22a169cbd43e61615:04
dmsimardThat 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
dmsimardssbarnea: 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 run15:06
dmsimardbut right now you can retrieve it with ara_record and ara_read https://ara.readthedocs.io/en/latest/usage.html#using-the-ara-record-module15:06
dmsimardYou 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
ssbarneais there a magic command that i can use to perform a "ara generate html <all>"?15:07
ssbarneanevermind, 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 default15:08
dmsimardFor 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
dmsimardand 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
dmsimardssbarnea: yes, the ARA CLI backend is currently the same as the OpenStack client (cliff)15:10
dmsimardso you can also export to json, yaml, etc.15:10
ssbarneadmsimard: 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
dmsimardssbarnea: if you're interested in looking at ara downstream, maybe you can talk with sshnaidm -- he's been doing cool stuff with it15:10
dmsimardssbarnea: 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=115:12
dmsimardssbarnea: you might also be interested in: http://superuser.openstack.org/articles/scaling-ara-ansible/15:13
ssbarneadmsimard: 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 #ara15:13
dmsimardssbarnea: that's what we do in the upstream OpenStack CI for all of our 300 000+ monthly jobs :)15:13
dmsimardso I'm very intimate and knowledgeable with the use case15:14
dmsimardssbarnea: btw there's a new feature in 0.15.0 (that I'm working on to release this week) that might be interesting to you15:23
dmsimardhttps://github.com/openstack/ara/commit/001ed74273e95a650b80ea5a14a41a1ca94fac7d15:23
dmsimardIt's up on the latest version of the docs https://ara.readthedocs.io/en/latest/configuration.html15:23
*** tbielawa is now known as tbielawa|brb15:28
*** tbielawa|brb is now known as tbielawa|lunch15:42
*** resmo has quit IRC16:01
*** harlowja has joined #ara16:23
*** tbielawa|lunch is now known as tbielawa16:41
openstackgerritMerged openstack/ara master: Fix logging and add some basic verbosity  https://review.openstack.org/56006916:43
*** harlowja has quit IRC16:52
*** harlowja has joined #ara16: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 IRC17:20
openstackgerritMerged openstack/ara master: Handle race condition where playbook file may not exist  https://review.openstack.org/56099817:23
*** sshnaidm is now known as sshnaidm|off17:50
*** sshnaidm|off has quit IRC17:54
*** tbielawa is now known as tbielawa|brb18:55
*** tbielawa|brb is now known as tbielawa19:10
*** harlowja has joined #ara19: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 though20:04
*** tbielawa has quit IRC20:21
ara-slack<dbpiv> “official” is all relative.20:27
*** sshnaidm|off has joined #ara20:41

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