Friday, 2022-04-22

opendevreviewIan Wienand proposed openstack/diskimage-builder master: containerfile: update test to jammy  https://review.opendev.org/c/openstack/diskimage-builder/+/83898104:50
opendevreviewMaksim Malchuk proposed openstack/diskimage-builder master: Revert "Fallback to persistent netifs names with systemd"  https://review.opendev.org/c/openstack/diskimage-builder/+/83886306:27
opendevreviewMaksim Malchuk proposed openstack/diskimage-builder master: Revert "Fallback to persistent netifs names with systemd"  https://review.opendev.org/c/openstack/diskimage-builder/+/83886307:34
ianwthe containerfile elements in the gate look broken due to a podman point release07:46
ianwi've filed https://github.com/containers/podman/issues/1396807:46
opendevreviewMaksim Malchuk proposed openstack/diskimage-builder master: Revert "Fallback to persistent netifs names with systemd"  https://review.opendev.org/c/openstack/diskimage-builder/+/83886308:34
*** Guest2246 is now known as prometheanfire13:54
opendevreviewClark Boylan proposed openstack/diskimage-builder master: DNM trying to verify dhcp-all-interfaces fails with bullseye  https://review.opendev.org/c/openstack/diskimage-builder/+/83907915:46
opendevreviewClark Boylan proposed openstack/diskimage-builder master: Trigger dhcp-all-interfaces on udev move events  https://review.opendev.org/c/openstack/diskimage-builder/+/83908015:48
clarkbrpittau: ianw I left a comment on 838863 explaining these last two chagnes and proposing a path forward15:55
clarkbhopefully that all makes esnse?15:55
opendevreviewClark Boylan proposed openstack/diskimage-builder master: Trigger dhcp-all-interfaces on udev move events  https://review.opendev.org/c/openstack/diskimage-builder/+/83908018:10
clarkbdoing this testing has exposed what might be a latent bug in the debuntu impleentation of dhcp-all-interfaces which that latest push attempts to address. Also, when I remove simple-init from the element list to prevent glean from running that means nothing is generating ssh host keys so ssh fails. But the tcp connections are coming in which makes me confused as to what was18:17
clarkbbroken in the first place18:17
clarkbsince as far as I can tell udev is firing for ens3, trying to run the script (failing due to the latent path bug which hpoefully is now fixed), then ssh can connect18:17
clarkbfungi: you're more familiar with eni than me can you make sense of why https://zuul.opendev.org/t/openstack/build/5fefdfecfd064facbca9d398045e8d51/log/instances/955decc1-7403-4f22-a31c-12a2237540b5/console.log#746 is complaining from this source:19:17
clarkbhttps://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.sh#L79-L9419:17
clarkbalso it looks like itgenerated ssh host keys in that console log so I'm not sure why it is failing. However it definitely apperas that the network is configured because we log that we failed to establish the layer 7 connetion to the lcient but l3 is there19:18
fungiclarkb: where can i find the /etc/network/interfaces file it's parsing there?19:19
clarkbfungi: we'd need to hold a node and copy the file out of the generated test vm image19:20
fungimy guess is that an iface line in there has five parameters, or at least the parser thinks it does19:21
fungimaybe some stray whitespace in one of the tokens?19:21
fungihard to say without seeing what's actually on that line19:22
clarkbok, I'm probably going to look at why ssh is failing there when networking seems to be ocnfigured19:23
clarkbon the client side it says root@172.24.5.59: Permission denied (publickey,password). which matches up with the failures in the server log19:23
clarkbBut importantly I think this is working with predictable interface names?19:24
clarkboh! I think we may be relying on the metadata server to supply the ssh key19:30
clarkband without simple-init that breaks :/19:31
clarkblet me see if I can just bake a key in19:31
clarkbfungi: the bad line 9 of /etc/network/interfaces is "iface ens3 inet6 autodhcp 021:34
clarkbexcept I think there is a tab between auto and dhcp?21:34
clarkbfungi: it is this line https://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.sh#L93 is it missing a \n like https://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.sh#L8921:35
fungiinteresting, yeah, i think for inet6 we want auto, for inet we want dhcp21:40
fungiand i have no idea what the 0 there is fort21:40
fungifor21:40
clarkbfungi: ya looking at the line aboe it seems they want it on a newline tabbed over with a 0 or 1 flag21:41
clarkbI'll try adding the missing \n21:41
fungithat seems likely, i concur21:41
fungithough not sure what the "dhcp 0" line is intended to do21:42
fungiOptions: dhcp int: Use stateless DHCPv6 (0=off, 1=on)21:43
fungiokay, so that's a thing21:43
fungiper the interfaces(5) manpage21:43
fungiand yes, it needs to be on its own line21:43
funginote that indentation is not semantic, it's just for readability21:44
fungibut newlines are important to the parser21:44
opendevreviewClark Boylan proposed openstack/diskimage-builder master: Trigger dhcp-all-interfaces on udev move events  https://review.opendev.org/c/openstack/diskimage-builder/+/83908021:44
clarkbah21:44
clarkbok cool so thats 2 real bugs in the debian implementation of dhcp-all-interfaces I think we've fixed so far :)21:45
clarkbthat said I still havne't seen anything related to udev so not sure why we needed to break predictable interface names. Hopefully getting these jobs to pass will make people comfortable with the revert and these fixups21:45
*** mazzy509881292958085949 is now known as mazzy5098812929580859423:54

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