/srv/irclogs.ubuntu.com/2024/05/03/#ubuntu-server.txt

=== LarsErik1 is now known as LarsErikP
=== patrick_ is now known as patrick
MmikeHi, all. Is there a subiquity irc channel? I'm trying to use autoinstall to set up my kvm instances with virt-install, but I can't figure out how to pull ssh keys from launchpad/github. If I add 'user-data' section then autoinstal won't start, and I don't see option to import ssh keys in the 'identity' section. 13:11
MmikeAlso, where/how can I find logs for the autoinstaller (to see why autoinstall won't start when I add 'user-data' section) ?13:12
rbasakMmike: if this is for KVM, is there a reason you're not using our cloud images? No need to run an installer then.13:35
dbungertMmike: it is worth thinking about preinstalled images.  If you've ruled that out, you should do a 'ssh-import-id' then include the results of that, those authorized_keys lines, as the strings in autoinstall.ssh.authorized-keys14:54
dbungertlogs can be found at /var/log/installer/subiquity-server-debug.log, which is verbose but should show what's going on14:55
=== patrick_ is now known as patrick
=== patrick_ is now known as patrick
=== peer is now known as remote_host
=== remote_host is now known as peer
Guest0Seeking input on why my netplan config isn't adding the ipv6 route on Ubuntu 22.04. The ipv6 gateway and address are on the same subnet.16:37
Guest0I have confirmed manually adding the same route, gateway, and global-link ipv6 works and can successfully be pinged remotely using:16:37
Guest0sudo ip -6 route add default via <ipv6>::1 dev <interface>16:37
Guest0Ideally all networking is done via netplan to make it persistent over reboots. The rest of the config works as intented after netplan generate, netplan apply. Any input is appreciated. Here's the docs: https://netplan.readthedocs.io/en/stable/examples/#how-to-use-a-directly-connected-gateway16:37
Guest0~~~16:37
Guest0network:16:37
Guest0Need input on why my netplan ipv6 route won't apply: https://dpaste.com/4E7PPVCKD16:39
patdk-laphmm, I'm lazy, and using RA and dont define a route16:42
Guest0?16:43
Guest0RA is disabled16:44
Guest0Oh I see, you are talking about your own uses16:44
patdk-lapya, I'm just using ra currently16:45
patdk-lapand my routers just do the ra failover as needed16:46
Guest0Yeah, in this use case I need static IPs16:46
patdk-laphmm, I'm using static16:47
patdk-lapra has nothing to do with dynamic or static16:47
patdk-lapra != dhcp/slaac16:48
Guest0Oh, interesting16:48
patdk-lapif your doing slaac you NEED ra though16:48
patdk-lapbut ra can be a security issue if you just let anyone on your network broadcast it16:49
patdk-lapbut same for dhcp server16:49
patdk-laphave to lock it down on the switch, if you want to be secure16:49
patdk-lapor dont use it at all16:49
Guest0Setting up networking on host machine for kolla ansible openstack install, running it over ipv6 family.16:51
Guest0I don't believe I16:52
Guest0need slaac for this16:52
Guest0I was able to fix it by removing the /64 from the gateway address. Thanks :)17:01
=== y0sh- is now known as y0sh_
Mmikerbasak, yes - cloud images sometimes don't have what I need, or I need to install it there, and ubuntu server iso image is 'plain server' which I often see on hardware installed. 22:13
MmikeI mean, I do use cloud images a lot locally, but there are situations where I just would like to have plain old installer (I miss debian installer, tbh, but I'm just old :D )22:13
Mmikedbungert, so, there is no way to include ssh_import_key via user-data?  I suppose I could create a template which is populated 'on the fly' when I wish to figre up plain old  (ok, not that old!) installer.... Just wanted to make sure I'm not missing something.22:15
Mmikerbasak, for instance, installing maas/juju locally to work on openstack always started with installing ubuntu server in one kvm image, then installing maas, then enlisting 'other' kvm  machines, and so on... That maas server was always installed using iso image because that's what customers would use.22:16
dbungertMmike: yes, cloud-init supports ssh-import-id directly, that's also an option22:22
dbungerthttps://cloudinit.readthedocs.io/en/latest/reference/modules.html#users-and-groups22:23
Mmikeyup, and I use that for cloud images. but it doesn't work with autoinstall, but... I'm trying again because it just might be PEBKAC :)22:26
dbungertMmike: this problem maybe? https://canonical-subiquity.readthedocs-hosted.com/en/latest/explanation/cloudinit-autoinstall-interaction.html22:33
Mmikedbungert, I am aware of that, yes, but... if I include user-data: section then autoinstall won't start. Subiquity starts, asks me for language, keyboard, and all those things... 22:46
cpete_Mmike: Are you just putting user-data: underneath autoinstall: ? Sounds like subiquity didn't get any autoinstall from what you describe23:03
cpete_https://canonical-subiquity.readthedocs-hosted.com/en/latest/tutorial/providing-autoinstall.html23:03
=== trekkie1701c_ is now known as trekkie1701c
=== ice9_ is now known as ice9
=== p3lim3 is now known as p3lim
Mmikecpete_, in the same level as 'identity:' 23:11
Mmikeaaaa23:12
Mmike#cloud-config header!23:12
Mmikeman! :)23:12
Mmikewhy is that a header, beginning with a hash? :D 23:12
cpete_glad you got it sorted :)23:13
=== fastidio1 is now known as fastidious

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