Monday, 2019-07-22

-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 201906: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-infra06:21
*** gvincent has joined #ara07:11
*** herald85 has joined #ara07:52
*** zbr|out is now known as zbr08:22
*** herald85 has quit IRC10:14
*** herald85 has joined #ara10:17
ara-slackjulian.daly: @julian.daly has joined the channel10:17
*** irclogbot_1 has quit IRC12:39
*** irclogbot_1 has joined #ara12:42
*** dbpiv has joined #ara12:52
*** dbpiv_ has joined #ara13:32
*** dbpiv has quit IRC13:33
*** herald85 has quit IRC13:49
*** jungleslow has quit IRC13:57
dmsimardnahun: what is slow ? Azure ? :p13:59
dmsimard@lionel.bakala api.ara.example.org needs to be replaced by a working ARA API server14:03
nahunApparently so, heh. So far I'm not sure how to tune up an "app service"14:06
dmsimardnahun: is it just a VM with postgresql on it ?14:07
nahunNo its just a container. Runs gunicorn. They wrap a service around the container so you don't mess with a VM14:11
nahunThe postgres server is also a service, no VM14:11
nahunI don't think it's the db that's slow, but could be14:12
nahunStill need to investigate more14:12
dmsimardnahun: something to consider when looking at performance is latency -- between the callback and the API server and between the API server and the database server14:16
*** dbpiv_ has quit IRC14:16
dmsimardsince 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 hosts14:17
nahunCould 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 azure14:26
dmsimardok, let us know if you find any issues, happy to help14:27
nahunThanks!14:30
*** dbpiv has joined #ara14:36
*** dbpiv has quit IRC15:03
*** dbpiv has joined #ara15:17
*** dbpiv has quit IRC15:35
dmsimardAn unexpected side effect of the work to add a simple built-in web interface is that it'll also work with the distributed sqlite driver15:50
dmsimardFree feature parity with 0.x15:50
apollo13hello15:50
apollo13how are you doing dmsimard?15:50
apollo13sidenote: holidays are nice ;)15:50
dmsimardapollo13: o/15:50
dmsimardI'm probably due for a holiday :)15:51
dmsimarddoing alright15:51
dmsimardapollo13: 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 :D15:53
dmsimardresults 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 well15:54
dmsimardI feel like the URL/link handling is kinda hacky15:55
dmsimardif/else on index in the templates, using relative paths and suffixing fake ".html" to the URLs15:56
dmsimardit works but probably not as clean as it could be15:56
apollo13well 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.html15:57
dmsimardtried to extend {% url %} to something like {% static_url %} (to avoid the if/else in many places) and failed miserably15:57
dmsimardapollo13: ah, yeah, that's actually how 0.x does it through flask-frozen but the export ends up containing too many directories for nothing15:58
dmsimardtaking up inodes etc15:58
apollo13Ah right you mentioned that15:58
apollo13what issues do you ran into with extending {% url %}?15:58
dmsimardI don't think I was doing it properly16:02
dmsimardiirc I tried to create a new tag which would take the input and pass it to url16:03
dmsimardbut url expected an urlnode ? or something like that16:03
apollo13yeah tags often return nodes16:05
apollo13and you most likely will have to subclass URLNode as well16:05
dmsimardyeah, that was my understanding as well16:05
apollo13so yeah, copy the url tag verbatim and return StaticURLNode from there16:06
apollo13then let StaticURLNode subclass URLNode and override render()16:06
dmsimarderror 500's and unicorns on github :(16:09
apollo13yeah major outage16:10
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: distributed_sqlite tests: query /api/v1/ instead of the root  https://review.opendev.org/67208016:15
*** Marbug has quit IRC18:02
*** dbpiv has joined #ara18:16
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: Add a simple built-in web interface  https://review.opendev.org/67059719:40
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: Add an "ara-manage generate" command to export to static HTML  https://review.opendev.org/67174719:40
ara-slackdmsimard: @aron.pedersen sorry about missing your message, did you end up figuring out the issue ?19:42
*** dbpiv has quit IRC20:27
openstackgerritMerged recordsansible/ara master: distributed_sqlite tests: query /api/v1/ instead of the root  https://review.opendev.org/67208021:39
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: Change default for ARA_DISTRIBUTED_SQLITE_PREFIX to /ara-report  https://review.opendev.org/67218121:45
openstackgerritMerged recordsansible/ara master: Add a simple built-in web interface  https://review.opendev.org/67059722:11
openstackgerritMerged recordsansible/ara master: Add an "ara-manage generate" command to export to static HTML  https://review.opendev.org/67174722:11

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