boxrick1 | dmsimard: 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 |
---|---|---|
dmsimard | boxrick1: forever ? That probably shouldn't happen. An interrupted playbook is actually an explicitely handled case, it's even in our integration tests :( | 12:46 |
dmsimard | The playbook should be marked as incomplete | 12:46 |
boxrick1 | I wonder if it was a funny edge case | 12:47 |
dmsimard | What's "forever" ? You mean the duration or something ? | 12:47 |
boxrick1 | Oh it shows end n/a and duration 0 and shows the little running exclamation | 12:48 |
dmsimard | boxrick1: 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 |
boxrick1 | dmsimard: Yes | 12:52 |
dmsimard | If you have ideas how we can do better I'm all ears :) | 12:53 |
boxrick1 | I assume its hard to distinguish between an incomplete and a "still running"? | 12:56 |
dmsimard | boxrick1: I could be pedantic and say that a still running playbook is incomplete :p | 13:01 |
dmsimard | But maybe there is a way to distinguish them, I don't have any ideas right now | 13:01 |
boxrick1 | I wonder if we could just have a timeout value set somewhere | 13:03 |
dmsimard | boxrick1: timeout as in duration since the last task was recorded or something ? | 13:42 |
boxrick1 | Yea, or could it be done on a per task? | 13:43 |
dmsimard | I'll file a bug so we can eventually do something about it. We can probably differentiate between in progress vs incomplete. | 13:52 |
dmsimard | Thanks for the input | 13:52 |
dmsimard | boxrick1: I glanced at https://github.com/boxrick/ara_install and I like it -- there's also https://github.com/chaitanyaenr/ansible-role-ara | 15:14 |
dmsimard | boxrick1: would you be okay if I created a home for a generic ara role upstream ? | 15:15 |
boxrick1 | Ahh I need to push my changes, I made another pass at it. It installs in a client / server mode now. | 15:15 |
boxrick1 | Please do anyway. | 15:15 |
dmsimard | jrist: fyi two problems I could use your infinite wisdom on https://review.openstack.org/#/c/426575/ | 15:27 |
dmsimard | not an emergency by any means | 15:27 |
dmsimard | http://logs.openstack.org/75/426575/1/check/gate-ara-integration-latest-centos-7/872d779/logs/build/ | 15:27 |
dmsimard | See how the dividers on top-right don't extend down to the bottom | 15:27 |
dmsimard | and also how the body isn't pushed down and hidden under the top navbar | 15:28 |
jrist | dmsimard: will look | 15:28 |
dmsimard | granted I didn't spend a lot of time on this but this is where I left off the last time | 15:28 |
dmsimard | jrist: note that I ended up figuring out that SVG thing | 15:28 |
dmsimard | it turned out to be an issue with the format I exported the SVG in, you need some specific stuff in it | 15:29 |
dmsimard | I think it was.. integrated instead of css .. and had to check off responsive | 15:29 |
dmsimard | or something like that, I forget | 15:29 |
jrist | ah yes | 15:38 |
jrist | that makes sense | 15:38 |
jrist | dmsimard: had to set up git review, few more minutes | 15:39 |
dmsimard | np | 15:39 |
jrist | dmsimard: ah, so how can I test this | 15:40 |
jrist | i.e. fire it up | 15:40 |
jrist | it's all templated | 15:40 |
dmsimard | sec | 15:40 |
dmsimard | jrist: 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_HEAD | 15:46 |
jrist | why not just git review -d :) | 15:47 |
jrist | which is what I did | 15:47 |
dmsimard | that works too | 15:47 |
* dmsimard doesn't use git review -d | 15:47 | |
jrist | how do I use it though? | 15:47 |
jrist | like | 15:47 |
jrist | all I see is{% import "macros.html" as macros %} {% block scripts %} {% endblock %} {% block stylesheets %} {% endblock %} {% include "navbar.html" %} {% block content %} {% endblock %} | 15:47 |
jrist | etc | 15:47 |
dmsimard | jrist: 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.sqlite | 15:47 |
jrist | got it | 15:48 |
jrist | thanks | 15:48 |
dmsimard | and then do something like " ARA_DATABASE=sqlite:////tmp/ansible.sqlite ara-manage runserver " | 15:48 |
dmsimard | and it'll fire up the dev server on 127.0.0.1:5000 | 15:48 |
dmsimard | You 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 implemented | 15:49 |
dmsimard | ah, well TEMPLATES_AUTO_RELOAD = True | 15:49 |
dmsimard | that's easy | 15:49 |
dmsimard | I should probably add that. | 15:49 |
jrist | ok | 15:54 |
*** Ravi_ has joined #ara | 16:57 | |
*** Ravi_ has quit IRC | 17:52 | |
*** jrist has quit IRC | 23:13 | |
*** jrist has joined #ara | 23:29 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!