*** harlowja has quit IRC | 00:23 | |
*** sshnaidm|afk is now known as sshnaidm | 07:17 | |
*** evrardjp has joined #ara | 07:26 | |
sshnaidm | does ara have RPM? | 09:41 |
---|---|---|
*** ssbarnea|ruck has quit IRC | 12:13 | |
*** tbielawa has joined #ara | 14:00 | |
*** jrist has joined #ara | 14:45 | |
*** openstackgerrit has quit IRC | 15:31 | |
dmsimard | sshnaidm: yes and no | 16:22 |
sshnaidm | dmsimard, ? | 16:23 |
dmsimard | sshnaidm: 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 |
dmsimard | sshnaidm: there is also packaging for ARA in software factory (in their repo) | 16:23 |
dmsimard | It'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 |
sshnaidm | dmsimard, would be nice to have it in delorean repos.. | 16:23 |
dmsimard | sshnaidm: ++ | 16:23 |
dmsimard | sshnaidm: lack of time and priority for me, I would not turn down someone who would like to take care of it | 16:24 |
dmsimard | sshnaidm: https://src.fedoraproject.org/cgit/rpms/ara.git/tree/ | 16:24 |
sshnaidm | dmsimard, ok, will look | 16:25 |
dmsimard | sshnaidm: 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 limbo | 16:25 |
sshnaidm | dmsimard, mmm... so drastically that it will affect RPM specs? | 16:26 |
dmsimard | sshnaidm: yeah, like switching from flask to django | 16:27 |
sshnaidm | dmsimard, django o_O | 16:27 |
dmsimard | django solely for django-rest-framework | 16:27 |
sshnaidm | what's bad in flask restapi, it has 2 | 16:27 |
dmsimard | Which is infinitely better than flask REST libraries | 16:27 |
dmsimard | sshnaidm: https://github.com/flask-restful/flask-restful vs https://github.com/encode/django-rest-framework has a bit of a contrast in contributors and activity | 16:28 |
dmsimard | FWIW 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 |
dmsimard | https://github.com/openstack/ara-server is the 1.0 django/django-rest-framework backend | 16:29 |
sshnaidm | do you use rest so heavy? | 16:30 |
sshnaidm | dmsimard, I see.. I used it mostly locally, without servers | 16:31 |
dmsimard | The 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 place | 16:31 |
dmsimard | which makes it harder to do things because you need to know how the model works, etc. | 16:31 |
dmsimard | 1.0 won't require you to spin up an API server | 16:31 |
dmsimard | the default "pip install ara; export ANSIBLE_CALLBACK_PLUGINS=...; ansible-playbook playbook.yml" is staying | 16:31 |
dmsimard | *but*, you will also be able to spin up an API server and do things with it | 16:32 |
dmsimard | to query playbook execution results for alerting, graphing or whatever | 16:32 |
dmsimard | if you want to test to see what it looks like in practice | 16:33 |
dmsimard | you can clone ara-server and then run "tox -e ansible-integration" | 16:34 |
sshnaidm | dmsimard, nice.. so we can have for example one server and CI jobs reporting there | 16:35 |
dmsimard | it'll retrieve ara-clients, ara-plugins, run a test playbook and then do some validations using the API client | 16:35 |
dmsimard | sshnaidm: yes, there is an "offline" API client right now which is able to do POST/GET/etc without the API server running | 16:36 |
dmsimard | but there will also be an "online" API client to query a remote API server | 16:36 |
dmsimard | This is the new 1.0 callback: https://github.com/openstack/ara-plugins/blob/master/ara/plugins/callback/ara_default.py | 16:37 |
dmsimard | Which will be able to tell which client to use (offline, online, or even something else entirely in the future perhaps) | 16:38 |
dmsimard | The 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 clients | 16:38 |
sshnaidm | dmsimard, seems very promising | 16:39 |
dmsimard | i.e, self.play = self.client.post('/api/v1/plays', name=play.name, playbook=self.playbook['id']) | 16:39 |
dmsimard | would result in the same thing regardless of offline or online | 16:39 |
dmsimard | The offline client/API doesn't actually do any http calls or traffic | 16:40 |
dmsimard | What's probably the largest part missing from 1.0 is the new web interface | 16:40 |
dmsimard | We'd like a pure and stateless javascript frontend and writing stuff in React quickly frustrates me :) | 16:41 |
dmsimard | With that in mind, I might end up releasing 1.0 without a frontend of a CLI and see if people show up to help | 16:42 |
*** tbielawa is now known as tbielawa|mtg | 16:43 | |
sshnaidm | dmsimard, 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|lunch | 17:05 | |
dmsimard | sshnaidm: nothing that is up to date right now, but I could write something. | 17:09 |
*** themurph_ has quit IRC | 17:25 | |
*** Naphta has quit IRC | 17:25 | |
*** openstackgerrit has joined #ara | 17:52 | |
openstackgerrit | Merged openstack/ansible-role-ara master: use become: true when reloading systemctl daemon https://review.openstack.org/580715 | 17:52 |
openstackgerrit | Merged openstack/ansible-role-ara master: Dump the role configuration to /etc/ara https://review.openstack.org/580716 | 17:52 |
*** tbielawa|lunch is now known as tbielawa|mtg | 18:12 | |
*** ChanServ has quit IRC | 18:16 | |
*** ChanServ has joined #ara | 18:22 | |
*** barjavel.freenode.net sets mode: +o ChanServ | 18:22 | |
*** tbielawa|mtg is now known as tbielawa | 18:31 | |
*** tbielawa is now known as tbielawa|brb | 19:36 | |
*** tbielawa|brb has quit IRC | 19:41 | |
*** themurph has joined #ara | 19:48 | |
*** harlowja has joined #ara | 20:42 | |
*** BlessJah has joined #ara | 21:47 | |
*** BlessJah has left #ara | 22:01 | |
*** ChanServ has quit IRC | 22:49 | |
*** ChanServ has joined #ara | 23:03 | |
*** barjavel.freenode.net sets mode: +o ChanServ | 23:03 | |
*** _KaszpiR_ has quit IRC | 23:04 | |
*** _KaszpiR_ has joined #ara | 23:06 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!