Friday, 2025-03-21

noonedeadpunkjrosser: well, capi 0.29.0 is not building properly, as pretty much expected: https://zuul.opendev.org/t/openstack/build/d29defe6767c48dcbeee3c8101731daa/log/job-output.txt#1951812:09
noonedeadpunkapparently we need to add some dependencies for it to succeed12:09
opendevreviewMerged openstack/openstack-ansible-ops master: Define clusterctl_version explicitly  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/94111414:38
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-lxc_hosts stable/2024.2: Use distro-specific SSH service name  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/94522915:30
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-lxc_hosts stable/2024.2: Use distro-specific SSH service name  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/94522915:30
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-lxc_hosts stable/2024.2: Use distro-specific SSH service name  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/94522915:31
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Skip image upload if checksum is provided  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94524818:50
noonedeadpunkjrosser: this is smth we've discussed a while ago about image upload - just managed to look into this (finally) ^18:50
noonedeadpunklike... 2 cycles ago...18:50
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Skip image upload if checksum is provided  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94524818:51
opendevreviewMerged openstack/openstack-ansible-ops master: Store clusterctl and magnum-system namespace dump if cluster create fails  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/93662618:51
jrossernoonedeadpunk: we also had the situation in CI jobs18:58
jrosserwhere the might be a directory (like cache directory location) that  already has downloaded images in, which do need uploading to glance18:58
jrosserbut don't need downloading from the source18:59
noonedeadpunkI think this should be fine?19:04
noonedeadpunkoh, right, I forgot to remove images_with_url as it's not used anywhere now :)19:05
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Skip image upload if checksum is provided  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/94524819:05
noonedeadpunkas initially I wanted to skip uploadf attempt only for ones with url19:05
noonedeadpunkand which are in local cache - let the module decide their destiny19:06
noonedeadpunkbut then realized there's no reason to separate these 2 usecases as checksum is kinda reliable enough to not bother with rest19:06
noonedeadpunkso for this usecase we just define `filename` instead of url19:09
jrosserso its like wanting to define the url to cirros image for example19:29
jrosserthen by magic in a zuul job that is already on the disk so we don't download it again, but just put into glance19:29
jrosserbut in a local AIO it should download it as there won't be an on-disk copy19:29
noonedeadpunkI wonder if we can just override the variable as a whole in zuul? or like define some another var?20:12
noonedeadpunkjust to offload this part from the role to variable defenition?20:12
noonedeadpunkor you wanna detect "file://" as the url?20:16
noonedeadpunkor well, detect in url and the pass either url or path depending on the regex?20:17
jrosserwell i don't know20:17
jrosseri'd also like to avoid repeatedly downloading for no reason20:18
noonedeadpunkyes, that is actually what https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/945248 aims to do20:18
noonedeadpunkI can check what can be done wrt file:// as a url20:19
noonedeadpunkbut it will only wortk if checksum is supplied20:21
jrossermagnum is a similar case but for that the image is not on the disk20:28
jrosserin that case you'd want to download once then cache20:29
jrosser(really sorry but i've not managed to look at this code again for a really long time)20:29
opendevreviewMerged openstack/openstack-ansible-lxc_hosts stable/2024.2: Use distro-specific SSH service name  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/94522921:00

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