Thursday, 2021-12-30

kleinijrosser_: that was easy but still there are a lot of packages outdated in newly created containers. how can I upgrade them in the container base image?08:34
jrosser_kleini: it depends what release you are on I think08:40
kleinistill bionic08:40
kleiniW on bionic08:40
jrosser_there is a script which prepares the container roots in the lxc_hosts role08:40
jrosser_hmmm W08:41
jrosser_kleini: i'm not sure how things are being out of date, because on W the rootfs should be built from scratch with this command https://github.com/openstack/openstack-ansible-lxc_hosts/blob/stable/wallaby/vars/ubuntu-18.04.yml#L1608:46
jrosser_in previous releases a tarball was downloaded so that could easily be out of date08:47
jrosser_would be worth checking that the new way of building with debootstrap is actually working for you08:47
kleiniI saw the debootstrap process during lxc-hosts with cache refresh: true08:48
kleiniso it works08:48
jrosser_i wonder if it doesnt have the right apt repos configured inside the chroot?08:48
kleinibut especially with debootstrap it depends on the repository URLs, how actual the newly created image is. normally updates and security fixes are not part of debootstrap08:49
jrosser_i have to go now for today but hopefully this gives a starting point08:50
kleini_ /bin/sh /usr/sbin/debootstrap --variant minbase bionic /var/lib/machines/ubuntu-bionic-amd6408:50
kleinijrosser_: thanks, that's a good starting point. will look on from there08:51
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-python_venv_build master: Fix wheel build alert condition  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/82319911:28
noonedeadpunkjrosser_: jamesdenton really silly mistake has been made ^11:29
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-python_venv_build stable/xena: Verify that wheels are built while running against multiple hosts  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/82313711:33
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-python_venv_build stable/xena: Verify that wheels are built while running against multiple hosts  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/82313711:33
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-python_venv_build stable/wallaby: Verify that wheels are built while running against multiple hosts  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/82313811:33
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-python_venv_build stable/victoria: Verify that wheels are built while running against multiple hosts  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/82313911:33
jamesdentonnoonedeadpunk whoops!13:37
jrosser_noonedeadpunk: what about https://opendev.org/openstack/openstack-ansible-os_tempest/src/branch/master/tasks/tempest_install.yml#L4313:52
jrosser_feels like the wrong condition somehow13:52
noonedeadpunkit shouldn't hit :D https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/os-tempest-install.yml#L2313:53
jrosser_maybe replicating the venv_build_host condition to there is better13:56
noonedeadpunkum, not sure I got what you mean13:58
noonedeadpunkcheck if no build host is present?13:59
noonedeadpunkSo what I was trying to do is to fail when wheels are not used when role is run across multiple hosts - like computes upgrade. Whatever why - build hosts not present or os-nova-install.yml launched with -e venv_wheel_build_enable=false14:01
noonedeadpunkat least until we sort out the way how to properly have multiple os repo containers...14:02
noonedeadpunk(probably with haproxy ACLs)14:02
jrosser_yep ok14:03
noonedeadpunkas now it's really easier to just disable wheels while upgrading OS rather then sort out way with repo container :( and I bet ppl don't think to what consequences that might lead (ie opendev dos)14:05
jrosser_I will think about how we can do this better14:09
noonedeadpunkThe only idea I had were really ACLs... As we have specific path per distro, and we know what backend what version is running...14:10
noonedeadpunkit would be still mess with lsyncd though...14:10
opendevreviewJames Denton proposed openstack/openstack-ansible-os_neutron master: Change os_region to region_name  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/82316923:42

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