Friday, 2020-01-10

*** zbr|rover has quit IRC01:11
*** zbr has joined #ara01:20
*** zbr has quit IRC01:24
*** zbr has joined #ara01:26
*** zbr has quit IRC02:16
*** zbr_ has joined #ara02:17
*** zbr_ has quit IRC02:17
*** zbr has joined #ara02:29
*** evrardjp has quit IRC05:33
*** evrardjp has joined #ara05:34
*** TKersten has joined #ara06:34
*** micisuta has joined #ara08:33
*** harlowja has quit IRC08:48
*** harlowja has joined #ara08:51
*** jungleslow has joined #ara09:18
*** zbr is now known as zbr|rover09:19
*** jungleslow has quit IRC11:00
*** sshnaidm is now known as sshnaidm|off11:52
*** mgariepy has joined #ara12:41
dmsimardnahun: I would need to check but it's probably easiest to host it at the root of a domain (or subdomain)13:13
dmsimardOtherwise, it's a django app so I'd search for how to do that with django13:13
Arrfabthat reminds me that I should find an easy way to have it working in a .el8 container, while ansible itself being running from a .el7 node13:28
dmsimardArrfab: are there el8 container images yet ? There's still no cloud image :p14:01
dmsimardIf a fedora container works, building and running an API container would look a bit like https://review.opendev.org/#/c/687905/2/contrib/containers/fedora-rawhide-ara-api.sh14:04
dmsimardDoesn't need to be rawhide anymore, can be 3114:05
dmsimardOn el8 you'd need to install off of pypi14:06
*** dbpiv has joined #ara14:13
Arrfabdmsimard: containers were pushed some time ago, yes14:32
Arrfabdmsimard: that sounds like something I can consider a pet-side project for week-end: thanks a lot :-)14:34
Arrfabso ansible + ara client on .el7 node, posting to localhost:8000 exposed by podman14:34
ArrfabI should have a way to build directly that container14:34
Arrfabdmsimard: stupid question : *if* ansible as callback tries to reach ara api through http, but that it's not started ?14:35
Arrfabin fact, let me try to work on this today, between other things, as that would solve one of my current problems :)14:35
dmsimardArrfab: it would time out. It wouldn't fail the playbook but it would slow it down significantly14:37
Arrfabdmsimard: can have an assert first in master playbook if/when using ara, to check that localhost:8000 is reachable :)14:39
Arrfabwondering what's the best place to host built containers those days14:39
Arrfabquay.io ?14:39
Arrfabdmsimard: working on a PoC container for this , thanks for the idea :à14:52
dmsimardArrfab: dockerhub and quay.io are the two most popular places I suppose15:00
Arrfabdmsimard: I confirm that I built a c8 container with ara[server] ..15:06
Arrfabtime to see how to properly invoke podman with port and volume to mount and give it a try15:07
ArrfabI don't remember what's the default path in ara for sqlite, etc :)15:07
dmsimardArrfab: most settings can be controlled via env vars: https://ara.readthedocs.io/en/latest/api-configuration.html15:08
dmsimardArrfab: what kind of load will you be throwing at it ? if you expect high concurrency you might bump into sqlite concurrency bottlenecks15:08
Arrfabargh, I forgot that "port bindings are not yet supported by rootless containers" ...15:09
dmsimardworks well at a small-medium scale though15:09
Arrfabdmsimard: centos infra is small enough for this kind of workload I guess15:09
dmsimardcool15:10
*** TKersten has left #ara15:26
*** micisuta has quit IRC16:27
*** evrardjp has quit IRC17:33
*** evrardjp has joined #ara17:34
*** etienne has joined #ara20:02
*** micisuta has joined #ara20:06
*** etienne has quit IRC21:21
*** dbpiv has quit IRC23:44

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