Thursday, 2020-01-23

*** spiette has quit IRC00:25
*** spiette has joined #ara00:29
*** cweeks has quit IRC02:41
*** cweeks has joined #ara02:43
*** evrardjp has quit IRC05:34
*** evrardjp has joined #ara05:34
*** TKersten has joined #ara06:30
Arrfabdmsimard: well, building ara has : BuildRequires:  python3-%{srcname}-server06:41
Arrfabso it requires itself .. how have you bootstrapped it to then be able able to require himself ?06:42
Arrfabseems to be for the -doc pkg, so build it without first, then build it again with doc added ?06:44
Arrfabas it seems RDO team is actively building also plently of pkgs in the06:59
Arrfabcloud8-openstack-ussuri-candidate06:59
Arrfabtag , I'll see if we couldn't just have most of the ara [Build]Requires deps built already there, so just "tag-build" in other tag to be able to build ara too07:00
*** irclogbot_0 has quit IRC08:04
*** irclogbot_0 has joined #ara08:04
*** openstackstatus has quit IRC08:48
*** sshnaidm|afk is now known as sshnaidm10:16
*** mgariepy has joined #ara12:22
dmsimardArrfab: I don't think python3-ara-server was originally in BR because some test dependencies were not packaged yet and so %check was disabled12:32
dmsimardI'd expect ussuri to have pbr12:33
dmsimardVersion of django probably too old though12:33
dmsimardOh, yeah.. I remember for the doc package12:35
dmsimardIt's because there are command outputs in the docs through sphinx programoutput12:36
dmsimardWhich was also added only relatively recently12:37
*** dbpiv has joined #ara13:18
*** dbpiv has quit IRC13:23
Arrfabdmsimard: so I'll try to have a bootstrap version somehow, but later13:29
Arrfabcurrently at Brussels airport waiting for my flight :)13:29
*** dbpiv has joined #ara13:32
dmsimardArrfab: here's a simplified spec with the docs, tests and API server deps taken out: https://gist.github.com/dmsimard/ad156bca4e11796f56f02d1805c7d0e514:01
*** mgariepy has quit IRC14:10
*** mgariepy has joined #ara14:12
*** mgariepy has quit IRC14:30
*** mgariepy has joined #ara14:43
*** TKersten has left #ara14:52
dmsimardArrfab: under what tag would you build it in cbs ?  I guess the cfg mgmt sig never took off15:31
*** ara-slack has quit IRC16:03
*** evrardjp has quit IRC17:34
*** evrardjp has joined #ara17:34
dmsimardArrfab: I've updated the fedora spec with conditionals to allow for building only the main package and it works with epel8: https://koji.fedoraproject.org/koji/taskinfo?taskID=4092332417:46
dmsimardspec diff: https://src.fedoraproject.org/rpms/ara/c/7b84b52598d88dbf626cae389c44ccc5d1b226be?branch=master17:47
dmsimardGot an official epel8 build and submitted it for update: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2c94efa8d218:09
dmsimardsshnaidm, zbr: ^ fyi18:11
dmsimardalso WIP for inclusion in RDO deps https://review.rdoproject.org/r/#/c/24650/18:12
sshnaidmdmsimard++18:12
zbrcool18:12
dmsimardsshnaidm, zbr: It's only for the callback and API clients for now (API server is harder to package) but it would allow el8 hosts to use the callback to send data to a remote API server18:13
zbrdmsimard: that is the most useful part ATM18:13
zbrfor services, containers are more useful than rpms18:14
sshnaidmdmsimard, can it still write stats to local sqlite?18:14
dmsimardsshnaidm: not without the API server deps18:14
zbr:(18:14
dmsimardso the package is only to send data to a remote api server over http18:15
sshnaidmdmsimard, and how does it work in openstack-infra?18:15
dmsimardzbr: I've successfully tested the API server with buildah/podman: https://review.opendev.org/#/c/687905/3/contrib/containers/ara-api-container-fedora.sh18:15
dmsimardsshnaidm: openstack-infra or zuul ? subtle distinction between the two but they'd likely use the package from pypi which includes the API server deps18:17
dmsimardI have a task to set up a dedicated ARA API deployment so anyone in RDO/TripleO/SF can use it18:17
sshnaidmdmsimard, I mean they ara stats in jobs18:17
sshnaidmdmsimard, that's nice18:18
dmsimardsshnaidm: openstack-infra and zuul are largely still on 0.x and it's in my todo list to address that18:19
sshnaidmdmsimard, I think I'll look how I can tweak it for local db..18:19
sshnaidmdmsimard, I see18:19
dmsimardsshnaidm: can use sqlite if you can install from pypi with the server deps -- I just don't have the bandwidth to get into the rabbit hole of packaging the missing EL8 deps in the near future18:20
sshnaidmdmsimard, maybe this container you mentioned can be used, then we can pull sqlite from there18:21
dmsimardsshnaidm: yes, it could be a good alternative18:21
dmsimardsay, run the api server container on the undercloud and have ansible with the ara callback configured to send data to it18:22
dmsimards/undercloud/wherever appropriate/18:22
sshnaidmyeah, kind of18:22
sshnaidmdmsimard, can you point me to the code that actually runs http requests with stats?18:23
dmsimardsshnaidm: define http requests with stats18:23
sshnaidmdmsimard, I mean requests to API server18:24
sshnaidmthat send stats of tasks actually18:24
sshnaidmI suppose it's in callback somewhere..18:24
dmsimardsshnaidm: so there's two API clients18:24
dmsimardone offline (requires API server deps), one http18:24
dmsimardthis is instanciated by the callback here: https://github.com/ansible-community/ara/blob/741f5fe770d765e492102f1650f44ea85162e925/ara/plugins/callback/ara_default.py#L166-L17318:25
dmsimardyou can look for instances of "self.client.post" or "self.client.patch" for examples of how it sends the data18:25
dmsimardthe client itself is quite simple: https://github.com/ansible-community/ara/blob/master/ara/clients/http.py18:26
sshnaidmdmsimard, ack, thanks18:27
sshnaidm CALLBACK_TYPE = "awesome"18:28
sshnaidm:)18:28
dmsimard:D18:28
dmsimardWhen running in verbose, it'll actually say something to the effect of "Loaded callback ara_default of type awesome"18:28
dmsimardansible in verbose*18:28
*** openstackgerrit has quit IRC18:51
*** openstackstatus has joined #ara20:07
*** ChanServ sets mode: +v openstackstatus20:07
*** sshnaidm is now known as sshnaidm|afk20:09
*** cweeks has quit IRC21:18
*** harlowja has quit IRC21:18
*** Jmainguy has quit IRC21:19
*** yeled has quit IRC21:19
*** openstackstatus has quit IRC21:20
*** irclogbot_0 has quit IRC21:24
*** irclogbot_0 has joined #ara21:24
*** mgariepy has quit IRC21:43
*** openstackgerrit has joined #ara22:01
*** cweeks has joined #ara22:01
*** harlowja has joined #ara22:01
*** Jmainguy has joined #ara22:01
*** yeled has joined #ara22:01
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: WIP: Refactor integration tests  https://review.opendev.org/70311222:23
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: Add EL8 support for ara_api and ara_frontend_nginx roles  https://review.opendev.org/70299622:49
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: WIP: Refactor integration tests  https://review.opendev.org/70311223:31
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: ara_api role: Add variable to control no_log usage  https://review.opendev.org/70408923:31
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: Add EL8 support for ara_api and ara_frontend_nginx roles  https://review.opendev.org/70299623:32

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