-openstackstatus- NOTICE: Due to a failure on the logs.openstack.org volume, old logs are unavailable while partition is recovered. New logs are being stored. ETA for restoration probably ~Mon Jul 22 12:00 UTC 2019 | 06:01 | |
*** ChanServ changes topic to "Due to a failure on the logs.openstack.org volume, old logs are unavailable while partition is recovered. New logs are being stored. ETA for restoration probably ~Mon Jul 22 12:00 UTC 2019" | 06:01 | |
*** ChanServ changes topic to "ARA Records Ansible: Making playbook runs easier to visualize, understand and troubleshoot | https://ara.recordsansible.org | Git: https://github.com/ansible-community/ara | Changelog: https://github.com/ansible-community/ara/releases | This channel is logged: http://eavesdrop.openstack.org/irclogs/%23ara/"" | 06:21 | |
-openstackstatus- NOTICE: logs.openstack.org volume has been restored. please report any issues in #openstack-infra | 06:21 | |
*** gvincent has joined #ara | 07:11 | |
*** herald85 has joined #ara | 07:52 | |
*** zbr|out is now known as zbr | 08:22 | |
*** herald85 has quit IRC | 10:14 | |
*** herald85 has joined #ara | 10:17 | |
ara-slack | julian.daly: @julian.daly has joined the channel | 10:17 |
---|---|---|
*** irclogbot_1 has quit IRC | 12:39 | |
*** irclogbot_1 has joined #ara | 12:42 | |
*** dbpiv has joined #ara | 12:52 | |
*** dbpiv_ has joined #ara | 13:32 | |
*** dbpiv has quit IRC | 13:33 | |
*** herald85 has quit IRC | 13:49 | |
*** jungleslow has quit IRC | 13:57 | |
dmsimard | nahun: what is slow ? Azure ? :p | 13:59 |
dmsimard | @lionel.bakala api.ara.example.org needs to be replaced by a working ARA API server | 14:03 |
nahun | Apparently so, heh. So far I'm not sure how to tune up an "app service" | 14:06 |
dmsimard | nahun: is it just a VM with postgresql on it ? | 14:07 |
nahun | No its just a container. Runs gunicorn. They wrap a service around the container so you don't mess with a VM | 14:11 |
nahun | The postgres server is also a service, no VM | 14:11 |
nahun | I don't think it's the db that's slow, but could be | 14:12 |
nahun | Still need to investigate more | 14:12 |
dmsimard | nahun: something to consider when looking at performance is latency -- between the callback and the API server and between the API server and the database server | 14:16 |
*** dbpiv_ has quit IRC | 14:16 | |
dmsimard | since there is a lot of queries between the callback, the server and the database, even a little bit of latency can add up if you're running a lot of tasks against many hosts | 14:17 |
nahun | Could be. Even the web interface for the API is pretty damn slow though. But yeah still database queries between that. Might try sqlite to eliminate the db as an option. Though postgres was actually easier to get working with azure | 14:26 |
dmsimard | ok, let us know if you find any issues, happy to help | 14:27 |
nahun | Thanks! | 14:30 |
*** dbpiv has joined #ara | 14:36 | |
*** dbpiv has quit IRC | 15:03 | |
*** dbpiv has joined #ara | 15:17 | |
*** dbpiv has quit IRC | 15:35 | |
dmsimard | An unexpected side effect of the work to add a simple built-in web interface is that it'll also work with the distributed sqlite driver | 15:50 |
dmsimard | Free feature parity with 0.x | 15:50 |
apollo13 | hello | 15:50 |
apollo13 | how are you doing dmsimard? | 15:50 |
apollo13 | sidenote: holidays are nice ;) | 15:50 |
dmsimard | apollo13: o/ | 15:50 |
dmsimard | I'm probably due for a holiday :) | 15:51 |
dmsimard | doing alright | 15:51 |
dmsimard | apollo13: I've been iterating on https://review.opendev.org/#/c/670597/ and https://review.opendev.org/#/c/671747/ -- it's still not 100% done, namely need to fix distributed sqlite thingie and probably not always use the offline client .. would certainly appreciate a review when you have time to kill :D | 15:53 |
dmsimard | results in static exports i.e, http://logs.openstack.org/47/671747/5/check/ansible-role-ara-api-fedora-2.8/551ac4a/logs/static/ and the equivalent being exposed in the webapp as well | 15:54 |
dmsimard | I feel like the URL/link handling is kinda hacky | 15:55 |
dmsimard | if/else on index in the templates, using relative paths and suffixing fake ".html" to the URLs | 15:56 |
dmsimard | it works but probably not as clean as it could be | 15:56 |
apollo13 | well if you want to keep the urls the same there is usually the trick of making it a folder and then write it as index.html | 15:57 |
dmsimard | tried to extend {% url %} to something like {% static_url %} (to avoid the if/else in many places) and failed miserably | 15:57 |
dmsimard | apollo13: ah, yeah, that's actually how 0.x does it through flask-frozen but the export ends up containing too many directories for nothing | 15:58 |
dmsimard | taking up inodes etc | 15:58 |
apollo13 | Ah right you mentioned that | 15:58 |
apollo13 | what issues do you ran into with extending {% url %}? | 15:58 |
dmsimard | I don't think I was doing it properly | 16:02 |
dmsimard | iirc I tried to create a new tag which would take the input and pass it to url | 16:03 |
dmsimard | but url expected an urlnode ? or something like that | 16:03 |
apollo13 | yeah tags often return nodes | 16:05 |
apollo13 | and you most likely will have to subclass URLNode as well | 16:05 |
dmsimard | yeah, that was my understanding as well | 16:05 |
apollo13 | so yeah, copy the url tag verbatim and return StaticURLNode from there | 16:06 |
apollo13 | then let StaticURLNode subclass URLNode and override render() | 16:06 |
dmsimard | error 500's and unicorns on github :( | 16:09 |
apollo13 | yeah major outage | 16:10 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: distributed_sqlite tests: query /api/v1/ instead of the root https://review.opendev.org/672080 | 16:15 |
*** Marbug has quit IRC | 18:02 | |
*** dbpiv has joined #ara | 18:16 | |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: Add a simple built-in web interface https://review.opendev.org/670597 | 19:40 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: Add an "ara-manage generate" command to export to static HTML https://review.opendev.org/671747 | 19:40 |
ara-slack | dmsimard: @aron.pedersen sorry about missing your message, did you end up figuring out the issue ? | 19:42 |
*** dbpiv has quit IRC | 20:27 | |
openstackgerrit | Merged recordsansible/ara master: distributed_sqlite tests: query /api/v1/ instead of the root https://review.opendev.org/672080 | 21:39 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: Change default for ARA_DISTRIBUTED_SQLITE_PREFIX to /ara-report https://review.opendev.org/672181 | 21:45 |
openstackgerrit | Merged recordsansible/ara master: Add a simple built-in web interface https://review.opendev.org/670597 | 22:11 |
openstackgerrit | Merged recordsansible/ara master: Add an "ara-manage generate" command to export to static HTML https://review.opendev.org/671747 | 22:11 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!