*** mikel has quit IRC | 00:33 | |
*** themurph has joined #ara | 00:40 | |
*** karimb has quit IRC | 00:43 | |
*** themurph_ has joined #ara | 00:49 | |
*** themurph has quit IRC | 00:50 | |
*** themurph_ has quit IRC | 01:00 | |
*** cuongnv has joined #ara | 01:17 | |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Avoid known bad version of pbr 2.1.0 https://review.openstack.org/458313 | 03:14 |
---|---|---|
openstackgerrit | Merged openstack/ara master: Avoid known bad version of pbr 2.1.0 https://review.openstack.org/458313 | 03:23 |
*** karimb has joined #ara | 07:12 | |
*** mikel has joined #ara | 07:43 | |
*** karimb has quit IRC | 07:45 | |
*** karimb has joined #ara | 08:08 | |
*** permalac has quit IRC | 08:08 | |
*** permalac has joined #ara | 08:13 | |
*** mikel has quit IRC | 08:33 | |
*** mikel has joined #ara | 08:48 | |
*** karimb has quit IRC | 09:02 | |
*** karimb has joined #ara | 09:06 | |
*** mikel has quit IRC | 09:10 | |
*** karimb has quit IRC | 09:41 | |
*** karimb has joined #ara | 09:56 | |
*** karimb has quit IRC | 10:08 | |
*** karimb has joined #ara | 10:09 | |
*** cuongnv has quit IRC | 10:45 | |
*** karimb has quit IRC | 10:57 | |
*** karimb has joined #ara | 11:03 | |
*** karimb has quit IRC | 11:15 | |
*** openstackgerrit has quit IRC | 11:32 | |
*** karimb has joined #ara | 12:09 | |
*** tbielawa has joined #ara | 14:08 | |
*** themurph has joined #ara | 14:21 | |
*** tbielawa is now known as tbielawa|coffeer | 15:16 | |
dmsimard | 0.12.5 tagged and released: https://github.com/openstack/ara/releases/tag/0.12.5 | 15:51 |
*** 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.5: https://github.com/openstack/ara/releases/tag/0.12.5 | This channel is logged: http://eavesdrop.openstack.org/irclogs/%23ara/" | 15:51 | |
*** tbielawa|coffeer is now known as tbielawa | 15:56 | |
leifmadsen | \o/ | 16:08 |
*** karimb has quit IRC | 16:34 | |
*** cliles has quit IRC | 18:04 | |
*** karimb has joined #ara | 18:05 | |
*** cliles has joined #ara | 18:08 | |
*** karimb has quit IRC | 18:08 | |
*** cliles has quit IRC | 18:11 | |
*** cliles has joined #ara | 18:11 | |
*** tbielawa is now known as tbielawa|lunch | 18:40 | |
*** cliles has quit IRC | 18:42 | |
*** cliles has joined #ara | 19:09 | |
*** karimb has joined #ara | 19:22 | |
*** tbielawa|lunch is now known as tbielawa | 20:04 | |
dmsimard | tbielawa: I'm going to work on that permalink thing | 20:47 |
dmsimard | see what I can do about it | 20:47 |
tbielawa | oh cool | 20:47 |
*** tbielawa has quit IRC | 20:50 | |
leifmadsen | permalinks ftw | 21:06 |
dmsimard | soon (tm) http://i.imgur.com/5QZh5zl.png | 21:11 |
dmsimard | it works \o/ | 21:19 |
*** openstackgerrit has joined #ara | 21:22 | |
openstackgerrit | David Moreau Simard proposed openstack/ara master: First iteration of permalinks for modals https://review.openstack.org/458658 | 21:22 |
*** karimb has quit IRC | 21:34 | |
rattboi | woot permalinks | 22:43 |
dmsimard | rattboi: you can try it out here :) http://logs.openstack.org/58/458658/1/check/gate-ara-integration-latest-centos-7/e4173f7/logs/build-playbook/reports/index.html | 23:15 |
dmsimard | Example permalink: http://logs.openstack.org/58/458658/1/check/gate-ara-integration-latest-centos-7/e4173f7/logs/build-playbook/file/05503985-a3d2-4c97-b93d-5d873aec071b/#line-25 | 23:16 |
rattboi | cool :) | 23:16 |
rattboi | how about permalinks to a summary line? | 23:16 |
rattboi | like everything in a specific run? | 23:17 |
rattboi | like if a playbook fails, and I wanted to send it to someone to look at, and reference at a much later date, for example | 23:18 |
dmsimard | rattboi: it'll come eventually, just need to figure out how to do it properly | 23:23 |
rattboi | I was asking in case it was already there and I just didn't notice :) | 23:23 |
dmsimard | rattboi: those permalinks are "free" because those "pages" are already rendered as iframes in the modals | 23:24 |
rattboi | right, that makes sense | 23:24 |
rattboi | so start by having a different render that's not in the "list of playbooks" view, and just renders a specific playbook | 23:24 |
dmsimard | If I add a permalink for each playbook report, it might mean generating 700+ extra pages if you have 700 playbooks in your db | 23:24 |
rattboi | then you can permalink to that render | 23:24 |
rattboi | oh, for static view? | 23:25 |
dmsimard | Yeah | 23:25 |
rattboi | yeah, we aren't using that, so I wasn't considering that | 23:25 |
rattboi | and that's our use-case, btw | 23:25 |
rattboi | http://bastion.opentechsjc.bonnyci.org/ara/reports/ | 23:25 |
rattboi | it's dog-slow right now because it's backed by the default sqlite db | 23:25 |
dmsimard | It was one of the problems with the previous UI, permalinks everywhere led to generation of even a small data set take 6 minutes while now it takes 6 seconds | 23:26 |
dmsimard | A lot of the current design was made with that in mind | 23:26 |
rattboi | moving as much to the client-side rendering makes sense | 23:26 |
rattboi | but I'm not sure how difficult that is. I'm no js master. | 23:27 |
dmsimard | Don't get me wrong, I want permalinks for specific playbooks and even the "backend" functionality to implement it is there | 23:27 |
dmsimard | Just got to figure out how | 23:27 |
dmsimard | This is a first low effort and free implementation, playbooks sometime later when I figure it out :) | 23:28 |
dmsimard | rattboi: you need to upgrade ara, I implemented two performance improvements since 0.12.3 :) | 23:29 |
rattboi | yeah, I'll add that to the changes I'm making. I'm gonna move over to a separate mysql db for backing store anyways | 23:29 |
rattboi | I figured I'd upgrade then | 23:29 |
dmsimard | Should be pretty noticeable at the amount of data you have | 23:29 |
rattboi | oh? | 23:30 |
rattboi | maybe I'll ninja it then | 23:30 |
dmsimard | It's seemless afaik, no migrations or anything | 23:30 |
dmsimard | Check the changelogs if you're interested | 23:30 |
dmsimard | https://github.com/openstack/ara/releases/tag/0.12.4 | 23:31 |
dmsimard | https://github.com/openstack/ara/releases/tag/0.12.5 | 23:31 |
rattboi | gah | 23:32 |
rattboi | 'pip install --upgrade ara', right? | 23:32 |
rattboi | ninja fail | 23:35 |
dmsimard | What happened ? | 23:36 |
rattboi | 2017-04-20 19:58:53,370 - ara - ERROR - No row was found for one() | 23:36 |
rattboi | I was actually getting similar errors using the ara cli prior to the update | 23:36 |
dmsimard | That's odd | 23:36 |
rattboi | it probably has something to do with the sqlite db being 1.9G | 23:36 |
dmsimard | Make a backup of your db just in case, but should work out of the box | 23:37 |
rattboi | http://bastion.opentechsjc.bonnyci.org/ara/ | 23:38 |
rattboi | I was going to get rid of the db anyways. It was too huge, and doing playlist deletes take forever at that size | 23:38 |
dmsimard | How did you set up the database path ? | 23:38 |
rattboi | I have a purge script I'm putting in place to purge old playbook results on a cron job | 23:39 |
rattboi | in ansible.cfg, just using dir = <my path> | 23:39 |
rattboi | anyways, I'll have to come back to it | 23:40 |
rattboi | I need to take a test now | 23:40 |
dmsimard | Ok, let me know if you find an issue ? Happy to look into it. | 23:40 |
rattboi | yeah, seems to be coming from sqlalchemy. I'll see if I can whittle it down to a base case tomorrow | 23:40 |
rattboi | thanks for your help | 23:41 |
rattboi | it's WAY faster now :P | 23:41 |
dmsimard | lol | 23:41 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!