Monday, 2017-01-30

boxrick1dmsimard: A small bug in ARA, if you cancel a run mid way through with control + c. It shows in ARA as running forever.11:45
dmsimardboxrick1: forever ? That probably shouldn't happen. An interrupted playbook is actually an explicitely handled case, it's even in our integration tests :(12:46
dmsimardThe playbook should be marked as incomplete12:46
boxrick1I wonder if it was a funny edge case12:47
dmsimardWhat's "forever" ? You mean the duration or something ?12:47
boxrick1Oh it shows end n/a and duration 0 and shows the little running exclamation12:48
dmsimardboxrick1: does it show like that second playbook here ? http://logs.openstack.org/32/425932/4/check/gate-ara-integration-latest-ubuntu-xenial/c38d80e/logs/build/12:50
boxrick1dmsimard: Yes12:52
dmsimardIf you have ideas how we can do better I'm all ears :)12:53
boxrick1I assume its hard to distinguish between an incomplete and a "still running"?12:56
dmsimardboxrick1: I could be pedantic and say that a still running playbook is incomplete :p13:01
dmsimardBut maybe there is a way to distinguish them, I don't have any ideas right now13:01
boxrick1I wonder if we could just have a timeout value set somewhere13:03
dmsimardboxrick1: timeout as in duration since the last task was recorded or something ?13:42
boxrick1Yea, or could it be done on a per  task?13:43
dmsimardI'll file a bug so we can eventually do something about it. We can probably differentiate between in progress vs incomplete.13:52
dmsimardThanks for the input13:52
dmsimardboxrick1: I glanced at https://github.com/boxrick/ara_install and I like it -- there's also https://github.com/chaitanyaenr/ansible-role-ara15:14
dmsimardboxrick1: would you be okay if I created a home for a generic ara role upstream ?15:15
boxrick1Ahh I need to push my changes, I made another pass at it. It installs in a client / server mode now.15:15
boxrick1Please do anyway.15:15
dmsimardjrist: fyi two problems I could use your infinite wisdom on https://review.openstack.org/#/c/426575/15:27
dmsimardnot an emergency by any means15:27
dmsimardhttp://logs.openstack.org/75/426575/1/check/gate-ara-integration-latest-centos-7/872d779/logs/build/15:27
dmsimardSee how the dividers on top-right don't extend down to the bottom15:27
dmsimardand also how the body isn't pushed down and hidden under the top navbar15:28
jristdmsimard: will look15:28
dmsimardgranted I didn't spend a lot of time on this but this is where I left off the last time15:28
dmsimardjrist: note that I ended up figuring out that SVG thing15:28
dmsimardit turned out to be an issue with the format I exported the SVG in, you need some specific stuff in it15:29
dmsimardI think it was.. integrated instead of css .. and had to check off responsive15:29
dmsimardor something like that, I forget15:29
jristah yes15:38
jristthat makes sense15:38
jristdmsimard: had to set up git review, few more minutes15:39
dmsimardnp15:39
jristdmsimard: ah, so how can I test this15:40
jristi.e. fire it up15:40
jristit's all templated15:40
dmsimardsec15:40
dmsimardjrist: hm, basically clone the repo and check out the review -> git clone https://git.openstack.org/openstack/ara.git; git fetch https://git.openstack.org/openstack/ara refs/changes/75/426575/1 && git checkout FETCH_HEAD15:46
jristwhy not just git review -d :)15:47
jristwhich is what I did15:47
dmsimardthat works too15:47
* dmsimard doesn't use git review -d15:47
jristhow do I use it though?15:47
jristlike15:47
jristall I see is{% import "macros.html" as macros %} {% block scripts %} {% endblock %} {% block stylesheets %} {% endblock %} {% include "navbar.html" %} {% block content %} {% endblock %}15:47
jristetc15:47
dmsimardjrist: install it in a virtualenv, then you can download the database here: http://logs.openstack.org/75/426575/1/check/gate-ara-integration-latest-centos-7/872d779/logs/ansible.sqlite15:47
jristgot it15:48
jristthanks15:48
dmsimardand then do something like " ARA_DATABASE=sqlite:////tmp/ansible.sqlite ara-manage runserver "15:48
dmsimardand it'll fire up the dev server on 127.0.0.1:500015:48
dmsimardYou need to restart the dev server when you do templating changes, I think there's a way for flask to auto detect changes but it's not implemented15:49
dmsimardah, well TEMPLATES_AUTO_RELOAD = True15:49
dmsimardthat's easy15:49
dmsimardI should probably add that.15:49
jristok15:54
*** Ravi_ has joined #ara16:57
*** Ravi_ has quit IRC17:52
*** jrist has quit IRC23:13
*** jrist has joined #ara23:29

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