*** spiette has quit IRC | 00:25 | |
*** spiette has joined #ara | 00:29 | |
*** cweeks has quit IRC | 02:41 | |
*** cweeks has joined #ara | 02:43 | |
*** evrardjp has quit IRC | 05:34 | |
*** evrardjp has joined #ara | 05:34 | |
*** TKersten has joined #ara | 06:30 | |
Arrfab | dmsimard: well, building ara has : BuildRequires: python3-%{srcname}-server | 06:41 |
---|---|---|
Arrfab | so it requires itself .. how have you bootstrapped it to then be able able to require himself ? | 06:42 |
Arrfab | seems to be for the -doc pkg, so build it without first, then build it again with doc added ? | 06:44 |
Arrfab | as it seems RDO team is actively building also plently of pkgs in the | 06:59 |
Arrfab | cloud8-openstack-ussuri-candidate | 06:59 |
Arrfab | tag , 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 too | 07:00 |
*** irclogbot_0 has quit IRC | 08:04 | |
*** irclogbot_0 has joined #ara | 08:04 | |
*** openstackstatus has quit IRC | 08:48 | |
*** sshnaidm|afk is now known as sshnaidm | 10:16 | |
*** mgariepy has joined #ara | 12:22 | |
dmsimard | Arrfab: I don't think python3-ara-server was originally in BR because some test dependencies were not packaged yet and so %check was disabled | 12:32 |
dmsimard | I'd expect ussuri to have pbr | 12:33 |
dmsimard | Version of django probably too old though | 12:33 |
dmsimard | Oh, yeah.. I remember for the doc package | 12:35 |
dmsimard | It's because there are command outputs in the docs through sphinx programoutput | 12:36 |
dmsimard | Which was also added only relatively recently | 12:37 |
*** dbpiv has joined #ara | 13:18 | |
*** dbpiv has quit IRC | 13:23 | |
Arrfab | dmsimard: so I'll try to have a bootstrap version somehow, but later | 13:29 |
Arrfab | currently at Brussels airport waiting for my flight :) | 13:29 |
*** dbpiv has joined #ara | 13:32 | |
dmsimard | Arrfab: here's a simplified spec with the docs, tests and API server deps taken out: https://gist.github.com/dmsimard/ad156bca4e11796f56f02d1805c7d0e5 | 14:01 |
*** mgariepy has quit IRC | 14:10 | |
*** mgariepy has joined #ara | 14:12 | |
*** mgariepy has quit IRC | 14:30 | |
*** mgariepy has joined #ara | 14:43 | |
*** TKersten has left #ara | 14:52 | |
dmsimard | Arrfab: under what tag would you build it in cbs ? I guess the cfg mgmt sig never took off | 15:31 |
*** ara-slack has quit IRC | 16:03 | |
*** evrardjp has quit IRC | 17:34 | |
*** evrardjp has joined #ara | 17:34 | |
dmsimard | Arrfab: 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=40923324 | 17:46 |
dmsimard | spec diff: https://src.fedoraproject.org/rpms/ara/c/7b84b52598d88dbf626cae389c44ccc5d1b226be?branch=master | 17:47 |
dmsimard | Got an official epel8 build and submitted it for update: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2c94efa8d2 | 18:09 |
dmsimard | sshnaidm, zbr: ^ fyi | 18:11 |
dmsimard | also WIP for inclusion in RDO deps https://review.rdoproject.org/r/#/c/24650/ | 18:12 |
sshnaidm | dmsimard++ | 18:12 |
zbr | cool | 18:12 |
dmsimard | sshnaidm, 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 server | 18:13 |
zbr | dmsimard: that is the most useful part ATM | 18:13 |
zbr | for services, containers are more useful than rpms | 18:14 |
sshnaidm | dmsimard, can it still write stats to local sqlite? | 18:14 |
dmsimard | sshnaidm: not without the API server deps | 18:14 |
zbr | :( | 18:14 |
dmsimard | so the package is only to send data to a remote api server over http | 18:15 |
sshnaidm | dmsimard, and how does it work in openstack-infra? | 18:15 |
dmsimard | zbr: I've successfully tested the API server with buildah/podman: https://review.opendev.org/#/c/687905/3/contrib/containers/ara-api-container-fedora.sh | 18:15 |
dmsimard | sshnaidm: openstack-infra or zuul ? subtle distinction between the two but they'd likely use the package from pypi which includes the API server deps | 18:17 |
dmsimard | I have a task to set up a dedicated ARA API deployment so anyone in RDO/TripleO/SF can use it | 18:17 |
sshnaidm | dmsimard, I mean they ara stats in jobs | 18:17 |
sshnaidm | dmsimard, that's nice | 18:18 |
dmsimard | sshnaidm: openstack-infra and zuul are largely still on 0.x and it's in my todo list to address that | 18:19 |
sshnaidm | dmsimard, I think I'll look how I can tweak it for local db.. | 18:19 |
sshnaidm | dmsimard, I see | 18:19 |
dmsimard | sshnaidm: 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 future | 18:20 |
sshnaidm | dmsimard, maybe this container you mentioned can be used, then we can pull sqlite from there | 18:21 |
dmsimard | sshnaidm: yes, it could be a good alternative | 18:21 |
dmsimard | say, run the api server container on the undercloud and have ansible with the ara callback configured to send data to it | 18:22 |
dmsimard | s/undercloud/wherever appropriate/ | 18:22 |
sshnaidm | yeah, kind of | 18:22 |
sshnaidm | dmsimard, can you point me to the code that actually runs http requests with stats? | 18:23 |
dmsimard | sshnaidm: define http requests with stats | 18:23 |
sshnaidm | dmsimard, I mean requests to API server | 18:24 |
sshnaidm | that send stats of tasks actually | 18:24 |
sshnaidm | I suppose it's in callback somewhere.. | 18:24 |
dmsimard | sshnaidm: so there's two API clients | 18:24 |
dmsimard | one offline (requires API server deps), one http | 18:24 |
dmsimard | this is instanciated by the callback here: https://github.com/ansible-community/ara/blob/741f5fe770d765e492102f1650f44ea85162e925/ara/plugins/callback/ara_default.py#L166-L173 | 18:25 |
dmsimard | you can look for instances of "self.client.post" or "self.client.patch" for examples of how it sends the data | 18:25 |
dmsimard | the client itself is quite simple: https://github.com/ansible-community/ara/blob/master/ara/clients/http.py | 18:26 |
sshnaidm | dmsimard, ack, thanks | 18:27 |
sshnaidm | CALLBACK_TYPE = "awesome" | 18:28 |
sshnaidm | :) | 18:28 |
dmsimard | :D | 18:28 |
dmsimard | When running in verbose, it'll actually say something to the effect of "Loaded callback ara_default of type awesome" | 18:28 |
dmsimard | ansible in verbose* | 18:28 |
*** openstackgerrit has quit IRC | 18:51 | |
*** openstackstatus has joined #ara | 20:07 | |
*** ChanServ sets mode: +v openstackstatus | 20:07 | |
*** sshnaidm is now known as sshnaidm|afk | 20:09 | |
*** cweeks has quit IRC | 21:18 | |
*** harlowja has quit IRC | 21:18 | |
*** Jmainguy has quit IRC | 21:19 | |
*** yeled has quit IRC | 21:19 | |
*** openstackstatus has quit IRC | 21:20 | |
*** irclogbot_0 has quit IRC | 21:24 | |
*** irclogbot_0 has joined #ara | 21:24 | |
*** mgariepy has quit IRC | 21:43 | |
*** openstackgerrit has joined #ara | 22:01 | |
*** cweeks has joined #ara | 22:01 | |
*** harlowja has joined #ara | 22:01 | |
*** Jmainguy has joined #ara | 22:01 | |
*** yeled has joined #ara | 22:01 | |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: WIP: Refactor integration tests https://review.opendev.org/703112 | 22:23 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: Add EL8 support for ara_api and ara_frontend_nginx roles https://review.opendev.org/702996 | 22:49 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: WIP: Refactor integration tests https://review.opendev.org/703112 | 23:31 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: ara_api role: Add variable to control no_log usage https://review.opendev.org/704089 | 23:31 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: Add EL8 support for ara_api and ara_frontend_nginx roles https://review.opendev.org/702996 | 23:32 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!