Friday, 2019-05-03

*** jpward has joined #ara00:14
*** jpward has quit IRC00:27
*** vincent- has quit IRC02:12
*** jpward has joined #ara03:12
*** jpward has quit IRC03:13
*** vincent- has joined #ara03:31
*** sshnaidm has joined #ara03:43
*** openstackgerrit has joined #ara03:53
openstackgerritTristan Cacqueray proposed recordsansible/ara feature/1.0: Add APIRoot index  https://review.opendev.org/65691403:53
openstackgerritTristan Cacqueray proposed recordsansible/ara feature/1.0: Add missing license headers  https://review.opendev.org/65691503:59
*** altlogbot_2 has quit IRC08:03
*** altlogbot_2 has joined #ara08:03
*** gvincent has joined #ara08:15
*** gvincent has quit IRC08:17
*** gvincent has joined #ara08:17
*** gvincent has quit IRC08:28
*** gvincent has joined #ara08:29
openstackgerritMerged recordsansible/ara feature/1.0: Add missing license headers  https://review.opendev.org/65691513:57
openstackgerritDavid Moreau Simard proposed recordsansible/ara feature/1.0: Make API server deps optional, move them to extras  https://review.opendev.org/65695014:06
openstackgerritDavid Moreau Simard proposed recordsansible/ara feature/1.0: Make API server deps optional, move them to extras  https://review.opendev.org/65695014:07
dmsimardvincent-, krion: ^ settled on this approach instead of standalone packages, I think it is a good middle ground14:08
dmsimardpip install ara -> ansible plugins only, pip install ara[server] would pull in the server deps14:08
krionhum14:13
krionwhat's the goal of ara without server ?14:13
krionof if you got multiple ansible instance or deported ansible instance ?14:14
krionbut you need both to be able to use ara right ?14:14
dmsimardkrion: the api server does not need to run locally14:17
dmsimardit can be a remote api server14:17
dmsimardi.e, https://api.demo.recordsansible.org/api/v1/ is a standalone api server14:17
dmsimardand https://web.demo.recordsansible.org/ "feeds" from the api server14:17
krionyes yes, in my case I install it all onto my workstation14:17
dmsimardthere is a valid use case in only installing the callback dependencies so it can send data to a remote server14:17
krionsure14:18
dmsimardI would had probably preferred the reverse14:19
dmsimardas in pip install ara installs everything and pip install ara[plugins] doesn't install the server deps14:19
dmsimardbut it doesn't look like that's a thing14:19
*** etienne has joined #ara14:22
*** sshnaidm has quit IRC14:29
openstackgerritDavid Moreau Simard proposed recordsansible/ara feature/1.0: Add support for API authentication in the client  https://review.opendev.org/65156914:37
openstackgerritDavid Moreau Simard proposed recordsansible/ara feature/1.0: Add support for API authentication in the client  https://review.opendev.org/65156914:37
*** sshnaidm|ptg has joined #ara15:17
*** etienne has quit IRC15:44
*** vincent- has quit IRC16:16
*** zbr has joined #ara17:21
*** sshnaidm|ptg has quit IRC18:20
openstackgerritMerged recordsansible/ara feature/1.0: Add support for API authentication in the client  https://review.opendev.org/65156919:06
*** sshnaidm|ptg has joined #ara19:28
openstackgerritDavid Moreau Simard proposed recordsansible/ara feature/1.0: Make API server deps optional, move them to extras  https://review.opendev.org/65695019:56
openstackgerritDavid Moreau Simard proposed recordsansible/ara feature/1.0: WIP: Add tests for postgresql  https://review.opendev.org/65702319:56
openstackgerritDavid Moreau Simard proposed recordsansible/ara feature/1.0: Make API server deps optional, move them to extras  https://review.opendev.org/65695020:01
openstackgerritDavid Moreau Simard proposed recordsansible/ara feature/1.0: WIP: Add tests for postgresql  https://review.opendev.org/65702320:01
dmsimardapollo13: 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.html20:03
dmsimardsince 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 rest20:04
ara-slackabcde0: 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 from20:05
dmsimardif you end up running ansible in N places, then ara should be installed wherever ansible is running from20:09
ara-slackabcde0: 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 report20:15
dmsimardbecause the data would be stored on a local sqlite database by default20:16
dmsimardif you need to aggregate data, mysql and postgre can be used as well20:16
dmsimardsqlite is just the default backend20:16
dmsimardaggregation from multiple places will hopefully be easier in the upcoming 1.0 with the addition of the API20:17
ara-slackabcde0: that's good to know. thanks much20:18
dmsimard@abcde0 there are instructions for mysql and postgre here: https://ara.readthedocs.io/en/stable/configuration.html#ara-database20:19
ara-slackabcde0: cool, i'll check it out. thanks20:25
openstackgerritDavid Moreau Simard proposed recordsansible/ara feature/1.0: Add APIRoot index  https://review.opendev.org/65691420:32
ara-slackabcde0: 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-slackabcde0: meant to say 'can't access the web interface' instead of 'can'20:42
dmsimard-h 0.0.0.020:43
dmsimardit will make the process listen on all available interfaces20:43
*** etienne has joined #ara20:43
ara-slackabcde0: <public ip>:9191 returned 'This site can’t be reached....ERR_CONNECTION_TIMED_OUT' in the browser20:47
dmsimardThe port might not be opened in your server firewall or in your EC2 security groups20:49
*** etienne has quit IRC21:13
*** mgariepy has quit IRC21:18
*** gundalow has quit IRC21:43
*** med_ has quit IRC21:43
*** gvincent has quit IRC21:49
*** gundalow has joined #ara22:08
*** sshnaidm|ptg has quit IRC22:21
*** sshnaidm|ptg has joined #ara22:47
*** openstackstatus has quit IRC22:47

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