/srv/irclogs.ubuntu.com/2017/11/24/#cloud-init.txt

smosericee: hm... dns should work at that point.14:21
smoseri'm not aware of that bug.14:21
smoserbut artful transitioned over to systemd-resolve and somet hings have been less than perfect.14:22
iceesmoser: systemd-resolved is definitely not running, and /etc/resolv.conf is a symlink to the systemd-resolved thing that is not there16:31
smoserhm.16:31
iceethe rescue shell opens and i'm able to open it and poke around.. and if i remove that symlink and add a 'nameserver 4.2.2.1' file to the cloud image it all works16:31
smoserrescue shell ?16:32
smoserhm.. i can try to reproduce.16:32
iceeyah, on console it tells me to hit ctrl-d to continue to boot, or enter to get a shell16:32
smosercould you open a bug with what you're doing ?16:32
iceeso i hit enter and poke around in the quasi-single-user-mode16:32
iceei opened a bug16:32
smoserlink ?16:33
iceeuhhh heh let me try and figure that out sec16:33
iceehttps://bugs.launchpad.net/cloud-init/+bug/173416716:33
ubot5Launchpad bug 1734167 in cloud-init "DNS doesn't work in no-cloud as launched by ubuntu" [Undecided,New]16:33
iceejust added a command line with the entire command lines16:35
iceeer16:35
iceecomment with the entire command lines :P16:35
iceesorry i'm half awake :P16:35
iceeso i guess it's of note that i'm bypassing initrd, too16:36
iceesmoser: interesting.  it's also broken without my own kernel.  But i don't get the rescue shell to troubleshoot :P16:43
smosericee: yeah. verified.17:13
iceesmoser: cool, thanks :D17:13
iceei don't understand the rescue shell thing17:13
iceewhere exactly it comes from, etc... it's really, really nice :P17:14
smosericee: i suspect you're missing something in kernel that is required and seeing the fallout that way.17:37
smoserbut, dont know.17:38
smoseranyway, i put some more information there and pinged our systemd people.17:38
iceewell, with correct dns in the image i get a login prompt and all works :P17:41
iceeso there's something baffling/magical-- the default failure behavior is different :P17:41
smoserwell i verified fail on artful and bionic17:43
smosernot tried xenial17:43
smoseri'm kind of holding out hope on that17:43
smoserbut yeah, broken by default :-(17:43
iceexenial works17:44
iceei've been using it17:45
iceesystemd makes me cranky.  i tried to jiggle the dependencies around myself to make this work and just couldn't in 20 minutes of fooling around17:45
smoser"systemd makes me cranky."17:46
smoser+2117:46
smoser(the 2 there was a typo, but it isnt really wrong)17:46
iceehaha17:48
iceesmoser: thanks for all your help with getting this properly reported and marshalled17:53
smoserthanks for reporting17:53
smosercurious why you are using artful17:53
smoser(perfectly fine to do that, just most people pick the lts and thus things like this dont get seen)17:54
iceesmoser: so i'm doing automated testing of kernel functionality, and i'd like to do it with non-ancient userlands too18:45
iceenot that 17.10 is really so bleeding edge, but..18:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!