Friday, 2023-02-10

dmsimardjrosser: o/ could you remind me what was that branch about ara downloading sqlite databases ? noonedeadpunk and I chatted about it recently :p02:16
*** chandankumar is now known as chkumar|rover05:07
noonedeadpunkdmsimard: well, I looked at the proposed code and I was thinking it was a bit different when I talked to you :D08:55
noonedeadpunkAs for some reason, I thought that it was providing path to the database during runtime and not during wsgi startup08:56
noonedeadpunkbut it was this commit https://github.com/jrosser/ara/commit/f9af69eaef4ea1228f4fc641e36b9d8df5adbaaa08:57
noonedeadpunklet me spend some time on it first - and I will return back to you :)08:58
noonedeadpunkAs I can recall providing DB to Django at least during runtime with POST or smth... But it was years ago, so can't really recall details09:03
dmsimardah, yes, I half remember now11:12
dmsimardif we're going to do something that resembles what we talked about, it should be generic and not tightly coupled to zuul11:13
dmsimardI don't know what this would look like in practice but it seems you have an idea so just let me know :p11:15
noonedeadpunkyes, totally, I don't wanna do smth zuul specific11:21
noonedeadpunkWhat I had in mind is give ARA path/url as GET? request, so it could load it and render content.11:25
dmsimardyes, I still think there are security implications (download and run this arbitrary file from this arbitrary location) so it should definitely be hidden under some toggle that defaults to off11:28
dmsimardbut we can try and find out if we can come up with something that makes sense11:28
noonedeadpunkyeah, totally11:30
dmsimardit would probably be a specific backend like remote_dswlit11:47
dmsimarderr, mobile typing11:47
dmsimardremote_sqlite instead of distributed_sqlite11:47
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_nova master: Install openvswith repo for Nova  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/87336813:25
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_nova master: Install openvswitch repo for RDO scenario  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/87336813:25
jrossernoonedeadpunk: part of the thing with ARA retrieving the sqlite was having to convert the build uuid (or even change no. + revision) into the sqlite swift URL, so whilst it can be as simple as GET?sqlite=<some_url> there needs to be some other zuul specific code17:14
jrosser*zuul specific code somewhere17:15
noonedeadpunkjrosser: I think with artifacts that's not a big deal?17:19
jrosseroh possibly not - idk about that17:20
noonedeadpunkOr well, at least zuul is aware about it's relative URL of where some artifact is stored on swift. built docs are good example kind of17:20
noonedeadpunkBut dunno, maybe some issue will raise if I decide to prefix ARA server URL in the beginning...17:21
noonedeadpunkbut yes, instead of simply storing it in logs, I was thinking to make an artifact out of it17:23
jrosserit's like we also want to lodge a URL as an artifact too17:23
jrosserto just click and it take you to ARA with the right ?<blah> on the end17:23
noonedeadpunkyep17:24
noonedeadpunkwell.. maybe it will be harder then I imagine...17:25
noonedeadpunkwill see....17:25
noonedeadpunkI think you can provide any arbitrary data as artifact url. 17:25
noonedeadpunkit's just a matter of how to get a relative path to uploaded file. As upload artifact and push artifact URL to zuul - are 2 different things17:26
noonedeadpunkSo you can upload stuff and as return get URL, and then prefix it and push as artifact17:27
noonedeadpunkAt least it works like that in my head :D17:27
noonedeadpunkwe did smth like that on our local zuul, but it's way older that what we have in opendev17:28
opendevreviewMerged openstack/openstack-ansible master: Install curl by defining binary that is provided  https://review.opendev.org/c/openstack/openstack-ansible/+/87289623:37

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!