/srv/irclogs.ubuntu.com/2023/02/16/#cloud-init.txt

SuperLag🤬02:18
SuperLagback to where I was before... it validates, but I get the same error as above02:26
holmanbSuperLag: got a reproducer? more info required to help03:04
SuperLagholmanb: sorry, had left for a bit. It looks as if the GPG key for the repo gets installed in /etc/apt/trusted.gpg.d, but the repo doesn't end up getting installed, so I must have the repo syntax wrong somehow05:12
SuperLagsource: 'deb [signed-by=$KEYFILE] https://apt.releases.hashicorp.com $RELEASE main'05:12
SuperLagis $KEYFILE a default var?05:16
SuperLagI'm trying pointing to the location where the key ended up getting installed. --> [signed-by=/etc/apt/trusted.gpg.d/hashicorpsource.gpg]05:21
SuperLagmight be a chicken egg scenario, but easy experiment05:21
SuperLag💥05:23
=== nikolay_ is now known as hjckr
holmanbSuperLag: figure it out?17:48
SuperLagyessir18:00
meenaholmanb: thanks for all the help with that is_virtual pr18:08
holmanbmeena: no problem18:09
meenaI promise the next one will be much worse18:10
holmanblol18:11
minimalI'm working on a is_virtual PR currently for Alpine18:11
meenaminimal: are you using a helper, or doing it from scratch?18:12
minimalI'm using virt-what18:13
holmanbminimal: sounds good18:13
meenawhat happened to the eatmydata bug?18:14
holmanbminimal:  at some point we may want to make an openrc mixin if there is stuff that could also be useful for gentoo et al, but that can always be refactored out later18:14
minimalhttps://people.redhat.com/~rjones/virt-what/18:14
holmanbmeena: it got filed on LP https://bugs.launchpad.net/cloud-init/+bug/200740018:14
-ubottu:#cloud-init- Launchpad bug 2007400 in cloud-init "eatmydata enabled by default results in apt packages not correctly installed" [Undecided, Incomplete]18:14
minimalholmanb: not sure. Gentoo seems to the the only distro using OpenRC that I'm aware of. I had a look at their bugtracker for cloud-init issues, not much there. Plus I think it is complicated by Gentoo being a "build it yourself" distro plus it supporting both systemd and OpenRC18:15
meenaand systemd being the default18:16
holmanbmeena: actually openrc is more widely used / default in gentoo18:17
minimalah, Arch is OpenRC too, isn't it? and it is supports by c-i18:17
holmanbminimal: I think that the gentoo distro should maybe be split into two different implementations or something, haven't put that much thought into it18:17
minimalholmanb: yeah that would make sense18:18
holmanbminimal: arch is systemd18:18
minimalholmanb: right, it is officially systemd but OpenRC is also available. Their "arch-boxes" repo is using systemd with cloud-init18:19
holmanbminimal: huh, TIL18:19
minimalthis is the Gentoo c-i bug list I was looking at: https://bugs.gentoo.org/buglist.cgi?quicksearch=app-emulation%2fcloud-init18:21
minimalQuestion: are DataSources checked strictly in the order they are listed? (e.g. in cloud.cfg or the default list)18:22
holmanbminimal: yes18:23
minimalok, I might raise another PR then ;-) Was talking to someone recently who was using/fudging around with ConfigDrive for DigitalOcean....I was surprised as there is a DS for DO's metadata server (added to c-i in 2014) but as ConfigDrive comes before DigitalOcean in list I guess it checks that first (and I assume DO still provide ISO)18:25
minimalsearching online all the DO docs I find about c-i seems to be from around 2018 and only refer to ConfigDrive, found no DO doc referring to their metadata server DS18:26
minimalplus saw some historical bugs where DO's ConfigDrive files were not fully compatible with OpenStack.18:27
minimalSo thinking of raising a PR to move DigitalOcean before ConfigDrive in default list18:27
holmanbminimal: Ahh, interesting. Might be  a potential ds-identify issue too, would need to look at the implementation to know18:30
minimalit's weird DigitalOcean themselves don't seem to publish any docs about using their DS rather than ConfigDrive18:31
holmanbagreed18:31
minimalor that they don't stop providing ConfigDrive ISOs so it then skips onto their own DS. I guess they keep that for backward compatibility18:34
SuperLagholmanb: one weird *cosmetic* issue. No colored bash prompt like normal.18:34
SuperLagobviously, no big deal... but I wonder why18:34
SuperLagon first login, it's there. after first reboot, it's gone18:35
minimalholmanb: re the is_virtual for Alpine, don't hold back 23.1 release waiting for that, I can just patch the change into the Alpine package regardless of whether the (to be submitted) PR makes the release or not18:51
holmanb+118:53
minimalany idea of realistic timescale for 23.1?19:16
meenaminimal: as soon as my horrible patches are done :P19:32
meenahttps://github.com/canonical/cloud-init/pull/2003 a week or six19:32
-ubottu:#cloud-init- Pull 2003 in canonical/cloud-init "move get_ib_* functions to cloudinit.distros.networking" [Open]19:32
holmanbSuperLag: sounds out of scope for a cloud-init problem, but it sounds like you should be able to figure out the contents of your shell profile / configs by comparing your environment before and after19:53
holmanbmeena: pr/2003 will probably have to go into 23.219:55
holmanbminimal: a couple of cleanup / test fix PRs and getting last minute stuff we want in merged right now, so soon :)19:58

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