Wednesday, 2019-01-02

*** gvincent has joined #ara08:24
*** jungleslow has quit IRC08:39
ssbarneadmsimard: https://review.openstack.org/#/c/627882/ is ready, contains all fixed needed for making all jobs pass08:42
openstackgerritSorin Sbarnea proposed openstack/ara master: Eliminate use of ansible include  https://review.openstack.org/62787509:26
*** sshnaidm is now known as sshnaidm|afk11:48
*** sshnaidm|afk is now known as sshnaidm12:43
*** dougbtv has joined #ara13:20
*** jrist has joined #ara15:17
*** jrist has quit IRC15:22
*** jrist has joined #ara15:26
dmsimardssbarnea: lgtm, thanks for those15:51
ssbarneadmsimard: consider it my cheap xmas present15:53
dmsimardI'd love to chat with tripleo folks about ara 1.0 at some point in the near future15:53
dmsimardI don't have any plans for supporting the backend/API on python 2 (just die already) but the callback can be made py2 without much effort -- especially the one that uses requests to send stuff over http15:54
ssbarneasure. i suspect it involves some breaking changes or is just marketing?15:54
dmsimard1.0 is a nothing short of a full rewrite15:55
ssbarneaoops...15:55
*** spiette has quit IRC15:56
dmsimardssbarnea: I need to update the live demo (and in fact, I need to write a role to automatically redeploy it) but https://api.demo.recordsansible.org/api/v1/15:56
ssbarneaif the api is still compatible it should not be big dead, AFAIK we only it call it few times so no reason to worry. but I am sure we will do it with py2 for a longer time.15:56
dmsimardno such thing as an API for 0.x, everything talks to the database directly15:57
ssbarneafor me 0,x api == cli usage, is still an api.15:57
dmsimardsure15:57
dmsimardssbarnea: the new API allows you to do stuff like this though: https://ara-server.readthedocs.io/en/latest/using_api_clients.html#example-api-usage15:58
dmsimardwhich I'm pretty excited about15:59
*** spiette has joined #ara16:00
openstackgerritMerged openstack/ara master: Fix testing warnings and makes future one treated as errors  https://review.openstack.org/62788216:07
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: WIP: Run a CI job that builds and publishes the web dashboard  https://review.openstack.org/62566616:12
ssbarneadmsimard: if you can also make a release with the recent changes it would be great. last one was back in september.16:16
dmsimardssbarnea: yes, we're due for a 0.16.216:17
dmsimardThere was also a deprecation fix from the ara generate html command that landed16:17
dmsimardI was supposed to spend some time on ara during the holidays but ended up doing other (still productive!) things unrelated to ara :p16:18
openstackgerritMerged openstack/ara master: Eliminate use of ansible include  https://review.openstack.org/62787516:19
ssbarneadmsimard: do you happen to know what caused https://bugs.launchpad.net/tripleo/+bug/1792622 ?17:17
openstackLaunchpad bug 1792622 in tripleo "Ara fails to install in some of tripleo jobs with ImportError: 'module' object has no attribute 'check_specifier'" [Medium,Fix released] - Assigned to Rafael Folco (rafaelfolco)17:17
ssbarneanevermind, i found17:18
dmsimardssbarnea: never seen that error before :p17:19
ssbarneadmsimard: is caused by very old setuptools, in case you...17:20
dmsimardssbarnea: the 1.0 implementation might look similar to the current middleware approach in 0.x -- except the web interface has an API client and expects an API endpoint and I have absolutely no interest in rewriting all the API logic in javascript :p17:55
dmsimardso what might end up happening is: 1) save database 2) write middleware for a "central" API backend to arbitrarily load those databases (not unlike what we have right now for /ara-report/) 3) have a static interface query that API with that database loaded (it doesn't matter where the interface is hosted, it's stateless)17:57
ssbarneadmsimard: having one server would be a good enough solution for the time being. if we endup with someone with extensive js skills, they are welcome to redoit in pure js.17:57
ssbarneayep, you just described what I was trying to say.17:57
dmsimardso the challenge is figuring out how to get the backend to load these arbitrary databases in a remotely safe and secure way17:58
dmsimardRight now it looks like this: https://github.com/openstack/ara/blob/master/ara/wsgi_sqlite.py17:59
dmsimardbut it also relies on the database being located on the same filesystem as the application17:59
dmsimardIf we're sending databases to swift, though, we'd need to download them first ?18:00
ssbarneaobviously, download them and cache them. is unlikely that they will change.18:00
dmsimardA clever hack would be to trick the application into thinking the database is actually on the same server with something like S3QL18:01
dmsimardWhich "mounts" swift as a filesystem18:01
ssbarneaara related but unrelated to this, https://review.openstack.org/#/c/606182/618:02
ssbarneasshnaidm: ^18:02
*** sshnaidm is now known as sshnaidm|afk18:05

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