Wednesday, 2018-08-22

*** harlowja has quit IRC00:23
*** sshnaidm|afk is now known as sshnaidm07:17
*** evrardjp has joined #ara07:26
sshnaidmdoes ara have RPM?09:41
*** ssbarnea|ruck has quit IRC12:13
*** tbielawa has joined #ara14:00
*** jrist has joined #ara14:45
*** openstackgerrit has quit IRC15:31
dmsimardsshnaidm: yes and no16:22
sshnaidmdmsimard, ?16:23
dmsimardsshnaidm: there is packaging for ARA in Fedora rawhide (but it's currently failing to build from source due to lack of time/maintenance)16:23
dmsimardsshnaidm: there is also packaging for ARA in software factory (in their repo)16:23
dmsimardIt's not available in CentOS/EPEL due to mismatch in dependencies so it'd need to be packaged in a SIG (like RDO)16:23
sshnaidmdmsimard, would be nice to have it in delorean repos..16:23
dmsimardsshnaidm: ++16:23
dmsimardsshnaidm: lack of time and priority for me, I would not turn down someone who would like to take care of it16:24
dmsimardsshnaidm: https://src.fedoraproject.org/cgit/rpms/ara.git/tree/16:24
sshnaidmdmsimard, ok, will look16:25
dmsimardsshnaidm: the other thing is that things will change drastically with 1.0 and I would have much rather wait for it to be released but due to this same lack of time, it's been in limbo16:25
sshnaidmdmsimard, mmm... so drastically that it will affect RPM specs?16:26
dmsimardsshnaidm: yeah, like switching from flask to django16:27
sshnaidmdmsimard, django o_O16:27
dmsimarddjango solely for django-rest-framework16:27
sshnaidmwhat's bad in flask restapi, it has 216:27
dmsimardWhich is infinitely better than flask REST libraries16:27
dmsimardsshnaidm: https://github.com/flask-restful/flask-restful vs https://github.com/encode/django-rest-framework has a bit of a contrast in contributors and activity16:28
dmsimardFWIW https://github.com/openstack/ara/tree/feature/1.0 is what had been written with flask-restful and it was pretty far along (>100 commits, thousands of lines of rewrite)16:29
dmsimardhttps://github.com/openstack/ara-server is the 1.0 django/django-rest-framework backend16:29
sshnaidmdo you use rest so heavy?16:30
sshnaidmdmsimard, I see.. I used it mostly locally, without servers16:31
dmsimardThe problem with 0.x is that everything talks to the database directly -- if you look through the code, you'll see sql queries and stuff all over the place16:31
dmsimardwhich makes it harder to do things because you need to know how the model works, etc.16:31
dmsimard1.0 won't require you to spin up an API server16:31
dmsimardthe default "pip install ara; export ANSIBLE_CALLBACK_PLUGINS=...; ansible-playbook playbook.yml" is staying16:31
dmsimard*but*, you will also be able to spin up an API server and do things with it16:32
dmsimardto query playbook execution results for alerting, graphing or whatever16:32
dmsimardif you want to test to see what it looks like in practice16:33
dmsimardyou can clone ara-server and then run "tox -e ansible-integration"16:34
sshnaidmdmsimard, nice.. so we can have for example one server and CI jobs reporting there16:35
dmsimardit'll retrieve ara-clients, ara-plugins, run a test playbook and then do some validations using the API client16:35
dmsimardsshnaidm: yes, there is an "offline" API client right now which is able to do POST/GET/etc without the API server running16:36
dmsimardbut there will also be an "online" API client to query a remote API server16:36
dmsimardThis is the new 1.0 callback: https://github.com/openstack/ara-plugins/blob/master/ara/plugins/callback/ara_default.py16:37
dmsimardWhich will be able to tell which client to use (offline, online, or even something else entirely in the future perhaps)16:38
dmsimardThe offline and online clients (and the API, whether it's offline or through the API server) have the exact same interface and implement the same methods so the code is the same and the differences are abstracted by the clients16:38
sshnaidmdmsimard, seems very promising16:39
dmsimardi.e, self.play = self.client.post('/api/v1/plays', name=play.name, playbook=self.playbook['id'])16:39
dmsimardwould result in the same thing regardless of offline or online16:39
dmsimardThe offline client/API doesn't actually do any http calls or traffic16:40
dmsimardWhat's probably the largest part missing from 1.0 is the new web interface16:40
dmsimardWe'd like a pure and stateless javascript frontend and writing stuff in React quickly frustrates me :)16:41
dmsimardWith that in mind, I might end up releasing 1.0 without a frontend of a CLI and see if people show up to help16:42
*** tbielawa is now known as tbielawa|mtg16:43
sshnaidmdmsimard, do you have some tasks list or roadmap for it, so that other people could do some tasks and contribute?16:47
*** tbielawa|mtg is now known as tbielawa|lunch17:05
dmsimardsshnaidm: nothing that is up to date right now, but I could write something.17:09
*** themurph_ has quit IRC17:25
*** Naphta has quit IRC17:25
*** openstackgerrit has joined #ara17:52
openstackgerritMerged openstack/ansible-role-ara master: use become: true when reloading systemctl daemon  https://review.openstack.org/58071517:52
openstackgerritMerged openstack/ansible-role-ara master: Dump the role configuration to /etc/ara  https://review.openstack.org/58071617:52
*** tbielawa|lunch is now known as tbielawa|mtg18:12
*** ChanServ has quit IRC18:16
*** ChanServ has joined #ara18:22
*** barjavel.freenode.net sets mode: +o ChanServ18:22
*** tbielawa|mtg is now known as tbielawa18:31
*** tbielawa is now known as tbielawa|brb19:36
*** tbielawa|brb has quit IRC19:41
*** themurph has joined #ara19:48
*** harlowja has joined #ara20:42
*** BlessJah has joined #ara21:47
*** BlessJah has left #ara22:01
*** ChanServ has quit IRC22:49
*** ChanServ has joined #ara23:03
*** barjavel.freenode.net sets mode: +o ChanServ23:03
*** _KaszpiR_ has quit IRC23:04
*** _KaszpiR_ has joined #ara23:06

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