16:01:21 #startmeeting openstack_ansible_meeting 16:01:22 Meeting started Tue Jul 28 16:01:21 2020 UTC and is due to finish in 60 minutes. The chair is noonedeadpunk. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:01:23 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:01:25 The meeting name has been set to 'openstack_ansible_meeting' 16:01:37 #topic office hours 16:02:02 o\ 16:03:08 hello 16:06:00 Hey, I'm from phone at the moment, so... 16:06:27 I guess we've backported most of the things for centos8 16:06:51 Except Murano (which start timeouting) 16:07:15 And zun which I'm taking look at (maybe just few several things) 16:08:21 Don't have really much things to share as was doing mostly some personal stuff:( 16:09:06 similar, we just need to keep on top of the backports and get everything merged 16:09:31 But I hope I'll be more productive and less lazy this week, and we should do final release I guess on 2 weeks? Due date was 10th of August iirc 16:10:31 And I'd love to finish bind-to-mgmt thing 16:11:11 And also work on ci things, to get upgrade jobs finally merged 16:11:25 (I mean their fix) 16:11:27 yes, been so busy i've kind of paged-out where we were up to with bind-to-mgmt 16:11:50 I think on db from utility still 16:12:33 And need to patch every role for that 16:14:37 oh yes thats it 16:14:44 that does not sound like a job for U 16:19:04 Uh, it was planned a different way, but yeah... 16:19:24 I think a have a lot of time on my hands at the moment anyway:) 16:20:53 BTW, dmsimard (sorry for misspelling) gave great suggestion to allow users to deploy Ara with OSA 16:21:13 To keep track on playbook execution in better way than just logs 16:21:26 And I think that's really great idea:) 16:22:17 if you want to bash on bind-to-mgmt thats cool 16:22:43 \o 16:23:47 if you're interested there's an ansible role to deploy the API server here: https://github.com/ansible-community/ara-collection or docker images: https://hub.docker.com/r/recordsansible/ara-api 16:24:59 happy to help otherwise point you in the right direction or answer questions 16:25:34 Oh, so we can even just include the role 16:25:52 During ansible bootstrap or something 16:26:38 you can take inspiration from the playbook used to deploy the live demo: https://github.com/ansible-community/ara-infra/blob/master/playbooks/live-demo.yaml 16:26:38 jrosser, yeah, I was about to do that right tomorrow, but as I was not so deep in that topic I might ping you 16:27:00 note that ara-web isn't required (and is neglected right now) 16:27:43 noonedeadpunk: the role sets up the API server, there needs to be a part on the ansible control node where you install the ara callback and set it up to point to the api server 16:28:12 which should be easy enough, something like pip install ara; export ANSIBLE_CALLBACK_PLUGINS=$(python3 -m ara.setup.callback_plugins) 16:28:41 oh, and then export ARA_API_CLIENT=http and ARA_API_SERVER=http://api-server 16:28:51 Sounds neat. Does role deploy web UI as well? 16:28:54 noonedeadpunk: sure just ask as it's really not that far off 16:29:14 the API server comes with a built-in UI, this one: https://api.demo.recordsansible.org/ 16:29:32 noonedeadpunk: i think what i was working towards in a AIO was this https://review.opendev.org/#/c/733408/ 16:29:39 the CLI will be bundled with the main 'ara' package 16:30:07 it's not released yet but it's in master 16:30:23 Ok, will try to take a look a bit later that week, and will ping you for sure:) 16:30:34 sure, you know where to find me 16:30:40 Yeah:) 16:31:19 I think we should probably add a separate inventory group for Ara API and Ara web 16:32:08 And by default offer to set it to deploy host? Oh, BTW, is there any possibility to restrict access? 16:32:17 sure -- for ara-web this is https://web.demo.recordsansible.org/ and I can't quite recommend it yet so don't bother with it for now :p 16:32:44 It makes sense to create an inventory group, sure 16:33:17 by default everything is opened read/write without authentication but you can turn on authentication only for writes or for both read/write, this is explained here: https://ara.readthedocs.io/en/latest/api-security.html 16:34:01 There is no concept of permission granularity/RBAC/groups/etc -- either you have access or you don't 16:35:56 I mean I'm not sure if we can/should put Ara under our haproxy and deploy it in container, or just independent web server on deploy host or in container on private ips... 16:36:36 But yeah, that are details:) 16:36:42 I don't have a strong opinion as my experience with OSA is limited 16:37:09 another thing to consider is where to store the data -- by default this is in a sqlite database but the role supports mysql/postgresql as well 16:37:17 That's totally fine, I'm probably thinking out loud 16:38:07 Ok, I think that should be in our infra stuff then - we have a galera cluster which might work just nice for that 16:38:42 BTW, can it work under uwsgi? 16:38:42 that might lead to some chicken/egg if ansible tries to use ara before mysql is setup 16:39:07 Oh, that's good point 16:39:08 surely ? would love to have support for it in the role, there's only gunicorn right now 16:40:00 should be simple enough to add, the role was structured to eventually support uwsgi/mod_wsgi 16:40:08 I just don't know uwsgi a lot :) 16:40:50 Hm, but how ansible role does setup Ara without chicken/egg situation? 16:41:15 I mean I think plugins are set during role execution? 16:41:53 But yeah, I see what you mean, that we'll setup Ara only after launching massive amount of roles 16:42:13 So we'd miss data for them 16:42:15 if ansible is setup to use ara with ANSIBLE_CALLBACK_PLUGINS but ara hasn't been installed yet, it will just skip it 16:42:30 i.e, nothing to load, moving on 16:42:45 there might be a warning but it's not fatal and has no impact 16:43:04 Oh, I think then we're ok 17:30:41 #endmeeting