Thursday, 2017-03-02

*** karimb has quit IRC01:30
openstackgerritDavid Moreau Simard proposed openstack/ara master: Complete user interface rewrite  https://review.openstack.org/43811801:40
openstackgerritDavid Moreau Simard proposed openstack/ara master: Complete user interface rewrite  https://review.openstack.org/43811801:49
openstackgerritDavid Moreau Simard proposed openstack/ara master: Complete user interface rewrite  https://review.openstack.org/43811802:24
openstackgerritDavid Moreau Simard proposed openstack/ara master: Complete user interface rewrite  https://review.openstack.org/43811802:28
openstackgerritDavid Moreau Simard proposed openstack/ara master: Complete user interface rewrite  https://review.openstack.org/43811802:37
openstackgerritDavid Moreau Simard proposed openstack/ara master: Complete user interface rewrite  https://review.openstack.org/43811802:46
openstackgerritMerged openstack/ara master: Complete user interface rewrite  https://review.openstack.org/43811802:55
*** themurph has quit IRC10:37
*** themurph has joined #ara14:21
*** themurph has quit IRC14:27
*** themurph has joined #ara14:53
*** tbielawa has joined #ara15:38
*** karimb has joined #ara18:05
*** tbielawa is now known as tbielawa|lunch18:33
-dmsimard- 0.12.0 which includes proper WSGI support as well as the UI rewrite was just tagged and released to pypi18:46
dmsimardRelease notes: https://github.com/openstack/ara/releases/tag/0.12.018:47
*** dmsimard changes topic to "ARA - Ansible Run Analysis: Making playbook runs easier to visualize, understand and troubleshoot | Git: https://github.com/openstack/ara - Docs: https://ara.readthedocs.io/en/latest/ - Latest version: 0.12.0: https://github.com/openstack/ara/releases/tag/0.12.0 | This channel is logged: http://eavesdrop.openstack.org/irclogs/%23ara/"18:47
*** dmsimard changes topic to "ARA - Ansible Run Analysis: Making playbook runs easier to visualize, understand and troubleshoot | Git: https://github.com/openstack/ara - Docs: https://ara.readthedocs.io/en/latest/ - Latest version: 0.12.0: https://github.com/openstack/ara/releases/tag/0.12.0 | This channel is logged: http://eavesdrop.openstack.org/irclogs/%23ara/"18:47
*** tbielawa|lunch is now known as tbielawa19:34
tbielawaooooooo20:12
tbielawanew ara you say20:12
dmsimardyessir20:14
dmsimardtbielawa: some sample reports in my email here http://lists.openstack.org/pipermail/openstack-dev/2017-March/113181.html20:14
tbielawahm20:16
tbielawaexample report is confusing me at first.20:16
tbielawaclicking the playbook path brings a modal, heh.20:17
* tbielawa keeps poking around20:17
* tbielawa looking for single page run report view20:19
dmsimardtbielawa: what do you mean by single page run report view ?20:22
tbielawadmsimard: .11 i could click a playbook on the runs list and it brought me to a new page that had all that functionality we see now, but on its own page.20:22
tbielawadmsimard: let me rephrase20:22
tbielawadmsimard: how does one provide a direct link to a playbook analysis now?20:22
tbielawaa single one, like you might want to see after your CI runs $jobs20:23
tbielawareport for jenkins #1337 [ARA Analysis Link]20:23
dmsimardtbielawa: how were you generating those links in the first place ?20:24
dmsimardare you using ara in a central/aggregated fashion and then linking to the specific report of the job ?20:24
tbielawadmsimard: in .11 i open up http://127.0.0.1:9009/ and click the playbook name/path under the "Playbook" column20:24
tbielawathis is me running locally. what i was trying to convey w/ my example is that being able to link to a specific report from anywhere is valuable20:25
dmsimardRight, so there is a new parameter which is not exposed everywhere yet20:25
dmsimardhttp://ara.readthedocs.io/en/latest/configuration.html#ara-playbook-override20:26
tbielawafront page: https://gyazo.com/eb41bcf35dfe1930743e09be134945dd then click that top playbook link and it brings you to https://gyazo.com/fe54df67ce6569498f8191c53dbb0d1420:26
tbielawaa unique page20:26
tbielawalinkable20:26
* tbielawa looks @ doclink20:26
dmsimardARA_PLAYBOOK_OVERRIDE will load the web app with only the specified (comma delimited) list of playbooks20:26
tbielawahm20:26
tbielawaI see20:27
tbielawasoooooooooo, from this I can know that directly linking to one of the playbooks available through the server view is no longer a feature?20:28
tbielawarather, one must generate html w/ a parameter for a playbook?20:28
dmsimardultimately it's a parameter recognized by the web app20:28
dmsimardso you can use it if you run the local dev server and it'll work too20:28
dmsimardBut yes, I recognize I had to do some tradeoffs with "permalinkability" -- that said, maybe I could expose that override parameter over a GET param in the URL or something. Need to think a little bit about it.20:29
tbielawadmsimard: and to be expressly clear, in 0.12 I can not directly link to a playbook report unless I use gen html with a playbook ID and that parameter20:29
dmsimardtbielawa: not currently, no.20:29
tbielawadmsimard: thank you for clearing that up. I understand it better now :)20:29
tbielawai like the things you did implement though that aren't related to that. Like we tlaked about before, the sorting is a much desired feature i've wanted :)20:30
dmsimardtbielawa: The problem with "permalink" ability that was all over the place before (for playbooks, for hosts, for tasks, for task results, for files, everything) is that you could easily end up with thousands of file to render when generating static pages -- this was not just slow but it was heavy20:30
tbielawadmsimard: oh man20:30
tbielawai think i wound up with almost 200MiB of html pages when I generated HTML before for a single run of the openshift installer :)20:31
dmsimardI explained some of the rationale behind the UI changes in the changelog https://github.com/openstack/ara/releases/tag/0.12.020:31
dmsimardand I'll dig a little bit deeper in an upcoming blog post20:31
* tbielawa click20:31
tbielawaLOL20:32
tbielawaI see you noticed that too in the report. the openstack-ansible one anyway. we have about as many tasks and results in our runs. that long time there20:32
tbielawaheh20:32
tbielawaand those are your gzipped sizes@!20:32
*** rteague has joined #ara20:32
dmsimardSo that one has 1500something tasks20:33
dmsimardand 1700 or so results20:33
dmsimardbut they have this one series of playbooks that has over 7500 results20:33
tbielawayeah, my last playbook run (10 minutes ago) says 807 OK, 46 Changed, 0 failed, and 1421 skipped20:33
dmsimardnow, I'm not overoptimizing for their use case but I struck some decent middle ground20:33
tbielawathat's a lotta results20:33
tbielawayeah I think this is a good step forward. Not sure if I'll update to this release yet, I really like the direct-link feature too much to change right now. I can more easily compare run results if i just open a report in a different tab20:34
tbielawawe're doing actual analysis of our overhaul/refactoring right now so having that available is pretty important to me.20:34
dmsimardI think you'll like not only the fact that the tables are sortable now but you can also search things20:35
tbielawactrl+f? heh20:35
dmsimardyou can search hosts based on some limited amount of facts or tasks based on their results20:35
dmsimardbefore this UI revamp, it wasn't possible to see an aggregated list of host results20:35
dmsimardyou could only see all the tasks and then only the task results for a specific host20:35
dmsimardnow they're all available in that single table20:36
tbielawai did enjoy that feature. i found it useful to open the 'CHANGED' results tab for a host to compare between versions. We're trying to get more idempotent so that was my biggest use case.20:36
tbielawai suppose though I could always just open two tabs up now20:37
tbielawaand then go to each playbook thing and get similar results20:37
tbielawaI understand from the docs you linked how I can get similar functionality, just different looking :)20:37
tbielawasad about the no direct-link stuff, but, ya know, change happens20:37
tbielawaand there's work-arounds20:38
dmsimardI hear you, for the time being you can pin to 0.11 while I figure something out20:38
rteagueFWIW, I liked the last 10 runs view.  I upgraded to .12 and after several minutes it never returned when clicking on Playbooks.  I've got 770+ runs recorded.  I guess it was taking a while to pull them all from the DB.20:44
tbielawa:D20:45
dmsimardrteague: interesting, are things not paginated ? Should only have those 10 latest playbooks in the first page20:45
rteaguedmsimard: well, it never returned, so I didn't realize it should be paginated.  I guess it could be something else.20:46
dmsimardrteague: yeah, for example here there's 14 playbooks in all http://logs.openstack.org/24/396324/9/check/gate-openstack-ansible-openstack-ansible-ceph-centos-7-nv/f811e1a/logs/ara/reports/index.html20:47
rteagueI reverted back to .11 for now.  I'll give .12 a go again to see if something else was up.20:47
dmsimardthe extra 4 are on the second page20:47
dmsimardrteague: ack, let me know if you figure it out20:47
*** karimb has quit IRC21:37
*** karimb has joined #ara21:38
tbielawadmsimard: here's a perfect example of what i'm using the single-page view for: https://github.com/openshift/openshift-ansible/pull/3517#issuecomment-28379281921:48
dmsimardtbielawa: so use case is diffing ?21:49
tbielawadmsimard: um. more like an illustration/example of what I was describing earlier. What I found valuable about the easy-to-get individual result views from 0.11.21:49
dmsimardfair, I get requests for being able to diff two playbook runs often which is why I asked :)21:50
tbielawa:D21:51
tbielawaoh21:51
tbielawai never thought of that as a first-class feature21:51
tbielawathat person is on point!21:51
tbielawapersons21:51
dmsimardyeah, it'll be complicated to implement, I don't know how I will do it yet21:52
tbielawadmsimard: curious, do you get excited (in a nerdy way) like I do about interesting problems like that?21:52
dmsimardbut it's probably going to be the next big feature21:52
dmsimardtbielawa: haha, it depends .. I'm excited until it gets frustrating :p21:53
dmsimardI lose patience fast on some things21:53
tbielawalol21:53
dmsimardlike the recursive function that we need to show files properly in the new UI21:53
dmsimardguess what, 0.12 shipped without it21:53
* tbielawa scratches chin21:54
tbielawadmsimard: the recursive function, right? it didn't ship?21:56
dmsimardyeah, I gave up and wrote a literal TODO in the UI21:56
dmsimardhttp://i.imgur.com/Cz2V9RK.png21:57
tbielawai admit that when I saw that panel there I went 'ick', that needs to move. i only read the first three bullets. i'm glad I held my toungue21:59
tbielawahaha21:59
tbielawai had no idea why it was shaped like that. haha.21:59
dmsimardtbielawa: I want to do something like that: https://www.patternfly.org/pattern-library/widgets/#bootstrap-tree-view22:00
dmsimardbut it's not straightforward to build the structure it needs22:00
tbielawaslick22:00
tbielawadmsimard: see ya later22:07
*** tbielawa has quit IRC22:08
*** joa_ has joined #ara22:23
joa_Hi22:23
dmsimardo/22:24
*** joa_ has left #ara22:25
*** karimb has quit IRC23:59

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