*** jpward has joined #ara | 00:14 | |
*** jpward has quit IRC | 00:27 | |
*** vincent- has quit IRC | 02:12 | |
*** jpward has joined #ara | 03:12 | |
*** jpward has quit IRC | 03:13 | |
*** vincent- has joined #ara | 03:31 | |
*** sshnaidm has joined #ara | 03:43 | |
*** openstackgerrit has joined #ara | 03:53 | |
openstackgerrit | Tristan Cacqueray proposed recordsansible/ara feature/1.0: Add APIRoot index https://review.opendev.org/656914 | 03:53 |
---|---|---|
openstackgerrit | Tristan Cacqueray proposed recordsansible/ara feature/1.0: Add missing license headers https://review.opendev.org/656915 | 03:59 |
*** altlogbot_2 has quit IRC | 08:03 | |
*** altlogbot_2 has joined #ara | 08:03 | |
*** gvincent has joined #ara | 08:15 | |
*** gvincent has quit IRC | 08:17 | |
*** gvincent has joined #ara | 08:17 | |
*** gvincent has quit IRC | 08:28 | |
*** gvincent has joined #ara | 08:29 | |
openstackgerrit | Merged recordsansible/ara feature/1.0: Add missing license headers https://review.opendev.org/656915 | 13:57 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara feature/1.0: Make API server deps optional, move them to extras https://review.opendev.org/656950 | 14:06 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara feature/1.0: Make API server deps optional, move them to extras https://review.opendev.org/656950 | 14:07 |
dmsimard | vincent-, krion: ^ settled on this approach instead of standalone packages, I think it is a good middle ground | 14:08 |
dmsimard | pip install ara -> ansible plugins only, pip install ara[server] would pull in the server deps | 14:08 |
krion | hum | 14:13 |
krion | what's the goal of ara without server ? | 14:13 |
krion | of if you got multiple ansible instance or deported ansible instance ? | 14:14 |
krion | but you need both to be able to use ara right ? | 14:14 |
dmsimard | krion: the api server does not need to run locally | 14:17 |
dmsimard | it can be a remote api server | 14:17 |
dmsimard | i.e, https://api.demo.recordsansible.org/api/v1/ is a standalone api server | 14:17 |
dmsimard | and https://web.demo.recordsansible.org/ "feeds" from the api server | 14:17 |
krion | yes yes, in my case I install it all onto my workstation | 14:17 |
dmsimard | there is a valid use case in only installing the callback dependencies so it can send data to a remote server | 14:17 |
krion | sure | 14:18 |
dmsimard | I would had probably preferred the reverse | 14:19 |
dmsimard | as in pip install ara installs everything and pip install ara[plugins] doesn't install the server deps | 14:19 |
dmsimard | but it doesn't look like that's a thing | 14:19 |
*** etienne has joined #ara | 14:22 | |
*** sshnaidm has quit IRC | 14:29 | |
openstackgerrit | David Moreau Simard proposed recordsansible/ara feature/1.0: Add support for API authentication in the client https://review.opendev.org/651569 | 14:37 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara feature/1.0: Add support for API authentication in the client https://review.opendev.org/651569 | 14:37 |
*** sshnaidm|ptg has joined #ara | 15:17 | |
*** etienne has quit IRC | 15:44 | |
*** vincent- has quit IRC | 16:16 | |
*** zbr has joined #ara | 17:21 | |
*** sshnaidm|ptg has quit IRC | 18:20 | |
openstackgerrit | Merged recordsansible/ara feature/1.0: Add support for API authentication in the client https://review.opendev.org/651569 | 19:06 |
*** sshnaidm|ptg has joined #ara | 19:28 | |
openstackgerrit | David Moreau Simard proposed recordsansible/ara feature/1.0: Make API server deps optional, move them to extras https://review.opendev.org/656950 | 19:56 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara feature/1.0: WIP: Add tests for postgresql https://review.opendev.org/657023 | 19:56 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara feature/1.0: Make API server deps optional, move them to extras https://review.opendev.org/656950 | 20:01 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara feature/1.0: WIP: Add tests for postgresql https://review.opendev.org/657023 | 20:01 |
dmsimard | apollo13: btw noticed while testing postgre that env vars work but settings.yaml don't, probably due to the dynaconf roundtrip. They supposedly improved that in dynaconf 2.0.0 but we need to change settings.py a bit: https://dynaconf.readthedocs.io/en/latest/guides/django.html | 20:03 |
dmsimard | since settings is defined at the end of the file by dynaconf, we'll need to drop all our settings.get and probably just set actual defaults instead and let dynaconf do the rest | 20:04 |
ara-slack | abcde0: if the jenkins server distributes job runs to slave nodes, ARA would need to be installed on all slave nodes instead of the master right? | 20:05 |
dmsimard | @abcde0: what matters is where ansible runs from | 20:05 |
dmsimard | if you end up running ansible in N places, then ara should be installed wherever ansible is running from | 20:09 |
ara-slack | abcde0: if that's the case, my concern is the same job would have ARA info on separate slave nodes and we won't get a consolidated report | 20:15 |
dmsimard | because the data would be stored on a local sqlite database by default | 20:16 |
dmsimard | if you need to aggregate data, mysql and postgre can be used as well | 20:16 |
dmsimard | sqlite is just the default backend | 20:16 |
dmsimard | aggregation from multiple places will hopefully be easier in the upcoming 1.0 with the addition of the API | 20:17 |
ara-slack | abcde0: that's good to know. thanks much | 20:18 |
dmsimard | @abcde0 there are instructions for mysql and postgre here: https://ara.readthedocs.io/en/stable/configuration.html#ara-database | 20:19 |
ara-slack | abcde0: cool, i'll check it out. thanks | 20:25 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara feature/1.0: Add APIRoot index https://review.opendev.org/656914 | 20:32 |
ara-slack | abcde0: i have both Jenkins and ARA installed on an AWS EC-2 instance. if i 'ana-manage runserver -h <local ip>, the command works but obviously i can access the web interface thru the local ip. if i use the public ip, ana-manage failed with 'socket.error: [Errno 99] Cannot assign requested address'. any advice on how to access the web interface of ARA in an AWS instance? | 20:41 |
ara-slack | abcde0: meant to say 'can't access the web interface' instead of 'can' | 20:42 |
dmsimard | -h 0.0.0.0 | 20:43 |
dmsimard | it will make the process listen on all available interfaces | 20:43 |
*** etienne has joined #ara | 20:43 | |
ara-slack | abcde0: <public ip>:9191 returned 'This site can’t be reached....ERR_CONNECTION_TIMED_OUT' in the browser | 20:47 |
dmsimard | The port might not be opened in your server firewall or in your EC2 security groups | 20:49 |
*** etienne has quit IRC | 21:13 | |
*** mgariepy has quit IRC | 21:18 | |
*** gundalow has quit IRC | 21:43 | |
*** med_ has quit IRC | 21:43 | |
*** gvincent has quit IRC | 21:49 | |
*** gundalow has joined #ara | 22:08 | |
*** sshnaidm|ptg has quit IRC | 22:21 | |
*** sshnaidm|ptg has joined #ara | 22:47 | |
*** openstackstatus has quit IRC | 22:47 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!