/srv/irclogs.ubuntu.com/2021/06/15/#ubuntu-server.txt

fnordahlmnasiadka: Thank you for reaching out. Starting with wallaby we included ovn in08:04
fnordahlUCA. As soon as Impish is refreshed with a new OVN package we should be able to08:05
fnordahlprovide that to the xena UCA.08:05
BraveheartBSDAnyone have a guide for setting up hardware raid?08:14
webchat7Hi. Can someone help me out with Ubuntu 20 cloud-init based unattended server installation?11:33
webchat7Unattended installation works ... It's just that cloud-init doesn't do anything afterwards, even if I reset it and remove the file that disables network configuration.11:33
rbasakwebchat7: what are you expecting cloud-init to do?11:37
=== masACC is now known as maswan
webchat7I expect cloud-init to initiate again when I attach a coud-init image/drive - some block device with label cidata containing user-data network configuration etc11:40
rbasakI don't think it's designed to do that, sorry.11:40
rbasakThe "installer" is designed to install Ubuntu on a machine permanently. It isn't for making cloneable images.11:41
rbasakYou might be able to hack something together, though.11:42
webchat7on other distibutions it does exactly that. Attach an iso with another configuration, reboot or clean and init and it's doing just fine11:42
webchat7So it's not a hack, when I get it to work11:42
rbasakcloud-init is designed to do that, yes.11:43
rbasakThe installer is not.11:44
webchat7Sure, I'm talking about after the installation11:44
rbasakYou'll see that behaviour work with Ubuntu cloud images. Why are you using the intsaller instead of using cloud images?11:44
webchat7The only way, I figured, was messing around with /etc/cloud/cloud.cfg11:44
rbasakI'd look into what datasource the installer sets up, if you want to hack something together. See https://cloudinit.readthedocs.io/en/latest/topics/datasources.html11:45
rbasakProbably cloud-init is being configured to use a different datasource to your "config drive".11:45
rbasakHowever, I'm still pretty sure that using the installer to achieve this will be a hack. The intended way to get what you want is to use Ubuntu cloud images.11:46
webchat7I'm using the server installer, because I don't always have network access11:46
rbasakYou can boot Ubuntu cloud images without network access.11:46
rbasakYou might need to configure cloud-init not to time out though.11:47
webchat7I need to do a full installation on bare metal as well as VMs completely offline. Some packages I need are not in the cloud images.11:48
rbasakFor the VMs, boot a cloud image somewhere else online, install the packages you want, shut down, and then clone that image.11:49
rbasakI can't help with the bare metal though, sorry. I don't think we currently provide any general mechanism to roll an installer image with additional packages embedded in it. You can hack that together using the same method we use to roll our installer images, of course.11:49
rbasakclone that image> as long as cloud-init sees a different instance-id (eg. you're providing a config drive) then it'll do the right thing there.11:50
webchat7Already added packages to the Ubuntu 18 installer - but since I use d-i preseed there, it works quite well11:51
webchat7I think I'd rather want to reset cloud-init and delete the configuration after Ubuntu 20 setup. Will require some hack, but it'll do the trick11:52
webchat7thanks11:52
rbasakwebchat7: I've been looking for this link. Just found it: https://discourse.ubuntu.com/t/a-tool-to-modify-live-server-isos/2219511:57
rbasakYou might find that useful.11:58
webchat7I'm alredy doing that. The cloud-init config for the unattended installer and the grub config is being added to the ISO in a similar way.12:00
mgedminyou mentioned d-i preseeds, which implies you used the alternative installer12:01
webchat7for Ubuntu 18 I do - and that works12:01
webchat7For Ubuntu 20 I don't12:01
mgedminubuntu 20.04 lts will not have it, and livefs-editor is a tool for customizing the new subiquity installer12:01
webchat7The installation isn't the problem. It's just that cloud-init doesn't do anything after the installation when I attach a cloud-init config12:03
webchat7I already figured the rest of it out, which was quite a bad experience btw. At that time, the Autoinstall Reference said at some points "The snap mentioned above doesn't exist yet"12:07
rbasakwebchat7: specific feedback on improvements welcome please. Fundamentally I think the issue is that your use case isn't currently supported though?12:18
webchat7I'll find my way ;)12:19
webchat7just thanks for confirming, what I already thought12:19
=== marlinc_ is now known as marlinc
shubjerocoreycb: Re: cloud-archive and version control. Any reason why Ubuntu repositories dont keep previous versions for users to target / roll back to? Any idea on how I can obtain Neutron 16.3.0 for bionic from CA?14:58
ograshubjero, deb packages are not really designed for rollback ... if you'd go back to a former one, that might use other dependencies ... these dependencies would have to roll back as well ... other apps depending on them would then have to be rolled back etc etc 15:02
ograthat would create a giant mess in the end 15:02
ograif you want seamless rollback, this is what snap packages were designed for ... they can go back and forth at will 15:03
shubjeroogra: OK but when a package contains a show-stopping bug (like bringing an entire cloud offline).. you need to roll back to a version that previously worked.15:03
shubjeroAnd the dependency chains are usually well respected from my experience15:03
ograno, as a packager you still go forward (you might change the contents of the package to the former ones but you still release a higher version)15:04
shubjeroogra: But if the repository has pruned the previously working version, its a quick way for your users to drop  your product long term15:04
ograthe main archive never prunes anything ... are you sure you are not talking about a PPA ?15:04
shubjeroAs a packager yes, you always move forward. As an operator, you use what works and avoid what doesnt.15:04
tomreynogra: i disagree on "the main archive never prunes anything"15:05
ogratomreyn, well, it is true 🙂15:05
tomreynyou're saying all old package versions are kept?15:06
shubjeroI just did an apt-cache policy openssl-client and I have 1 version available (latest) from the Ubuntu repositories15:06
ogratomreyn, yes15:06
tomreynogra: i'm convinced that's not so.15:06
shubjeroIf i do the same on a 3rd party repository, like zabbix, elastic, mariadb, I  have dozens of versions I can target for use/installation. This is how all repositories should be.15:06
ogratomreyn, here is an example https://launchpad.net/ubuntu/+source/htop/+publishinghistory15:07
tomreynogra: but i see how it's now up to me to proove that, and i don't want to subvert the ongoing discussion, will get bakc to it later.15:07
tomreynogra: oh oyu mean on launchpad, not on archive.u.c15:07
ogralaunchpad *is* archive.u.c 😉 just a different representation of it 15:08
tomreynthere was recently a glibc problem where a newer, boroken package, got published, then pulled a while later, because it introduced new problems. so some ended up with the newer more broken versionn , others with the older, less broken version15:09
ograyeah15:10
shubjeroogra: https://pastebin.ubuntu.com/p/hZXgybGzkg/15:10
* ogra remembers ... there was also some bad timing involved with the Packages.* file generation15:11
tomreynand when those with the newer version tried to install debug packages, they could not, because depednencies could not be resolved.15:11
tomreynat least one of those package version were no longer available on launchpad either15:11
tomreynshubjero: looks like 3rd party packages15:12
ograthat only happens if someone actually manually removed something ...  normally LP does not lose any revision of any packages ever uploaded to the archive 15:12
ograthe libc bug might have been severe enough to do this though15:13
tomreynogra: that may be so. but you originally ruled it out happening at all15:13
ogranormally it does not happen ... if there would be i.e. a bitcoin miner in a libc upload it would definitely be removed to not cause harm though15:13
tomreynwe were just talking about bug 192691815:14
ubottuBug 1926918 in glibc (Ubuntu) "cannot install libc6-dev, requires old libc6 version" [Undecided, In Progress] https://launchpad.net/bugs/192691815:14
tomreynhttps://askubuntu.com/questions/1315906/unmet-dependencies-libc6-the-package-system-is-broken15:14
shubjerotomreyn: Yes, I am trying to convey that many 3rd party repositories keep several versions around, protecting operators by allowing a rollback to a previous version if something bad is discovered in the new package version. It seems like any of the Ubuntu repositories (including cloud-archive).. that's just not possible and from an operator perspective its terrible15:14
ogratomreyn, right, our system assumes that things having been tested in -proposed actually have been tested before moving to -updates 🙂 ... 15:15
ograpeople sometimes make mistakes and automation sometimes fails ... but these are corner cases15:16
tomreynshubjero: okay, i tend to agree to the "everything should be preserved", as debian does it. but if a 'fixed version' (higher version number, previous package) would become instantly available after reggressions are detected, i'd be fine with this, too.15:16
shubjeroAgree with you both. Also, I always test my OpenStack upgrades in our lab with the packages available at that time. If by the time I've scheduled the production roll out, newer packages are available (and untested), I'd still like to be able to install the packages I tested in the lab.. but now I can't because those versions are gone15:17
tomreynogra: IMO that'd be fine if (non packaging-aware) users were able to resolve the sitation on their own. but i don't want you to waste your time on this debate now. ;-)15:18
ograif you preserve everything in archive.u.c it means that (at most voluntary) mirrors will need a lot more resources ... 15:18
shubjeroTurns out that what I tested in my lab was Neutron 16.3.0 and worked great but by the time I rolled out to production only Neutron 16.3.1 was available and contained a show stopping bug that took our entire cloud offline and I had to try and scramble to find an old version of Neutron to install. I managed to find 16.0.0 from Focal which seemed to work but now I'm having many other issues15:19
tomreynyou'd just need one central mirror for that15:19
shubjerowhich could be because I'm having to run an unexpected version of Neutron15:19
shubjeroAnyways, these are operational war stories15:19
tomreynsnapshot.debian.org is actually two mirrror (or maybe 4, 2x ipv4, 2x ipv6)15:20
tomreyni'd assume canonical has more resources at their disposal than a volunteer run project, but then debian has snaphshot.debian.org but ubuntu has not. :-/15:22
tomreynsee also deb.debian.org, https mirrors etc.15:23
* tomreyn quits whining for now15:23
ograwell, Lp is our snapshot.d.net 🙂15:24
tomreynnot if it doesn't preserve everything15:27
tomreyni'd say Lp is Ubuntus tracker.debian.org and buildd.debian.org15:27
tomreyn+ salsa15:28
ilpianistaanyone else is using the latest 20.04 AMI on EKS? I cannot make it work because it's missing the heptio-authenticator-aws binary apparently. The previous AMI works fine15:55
tomreynilpianista: aws seems to no longer recommend heptio's by default, but their own (fork?): https://github.com/kubernetes-sigs/aws-iam-authenticator#aws-iam-authenticator-for-kubernetes16:01
ilpianistayep, but the AMI has neither16:02
tomreynsee also (outdated) https://aws.amazon.com/blogs/opensource/deploying-heptio-authenticator-kops/ vs (current) https://aws.amazon.com/blogs/opensource/deploying-aws-iam-authenticator-kubernetes-kops/16:02
tomreynoh ok16:02
=== halves_ is now known as halves
mwhudsonhttps://discourse.ubuntu.com/t/please-test-wifi-support-in-the-server-installer/2273223:12
sarnoldoo cool23:22

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