/srv/irclogs.ubuntu.com/2022/09/29/#ubuntu-server.txt

imiok seems like I managed to use this cloud-localds properly03:14
imiI can log in to my new server03:14
=== xispita_ is now known as xispita
imihi, seems like I managed to use cloud-localds properly. Can I just convert the image to raw and dd to the target machine?12:04
rbasakimi: no, the idea with cloud-localds is that the data source disk needs to remain attached. Otherwise when the VM reboots, it won't know what it is.12:40
imiok so it does not update the rootfs? aqre you sure?12:41
rbasakThe rootfs will be changed on first boot, but I don't think it "locks it in" or anything. The point is that you can clone a VM and it'll do the right thing if it sees a different instance ID.12:41
rbasakIf you want to lock a VM in to its identity and you're in a position to modify the filesystem, then you can use nocloud instead.12:42
rbasakWrite to /var/lib/cloud/seed/nocloud/meta-data and /var/lib/cloud/seed/nocloud/user-data.12:42
rbasakOh sorry, that's inaccurate.12:44
rbasakcloud-localds also uses nocloud12:44
rbasakhttps://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html12:44
ogranot to confuse with mc-cloud ... which is the highlander 🙂12:45
rbasakMaybe it is OK to remove the data source disk then. I'm not sure now, sorry.12:46
imigpg: key 7FF3F408476CF100: new key but contains no user ID - skipped -- that seems like a bug13:21
tewardhas anyone using LXD run into a problem where LXD bridges suddenly for no real reason become "UNAVAILABLE" while multipass, etc. are present?  I ask because my LXD bridges seem busted because I needed multipass for snapcraft, but now my LXD bridges don't work and show as 'unavailable'13:30
ograteward, snap changes ? (did lxd get updated underneath you ?)13:30
tewardogra: it might've but that wouldn't explain why it can't load bridges anymore13:31
tewardunless lxd erased that functionality which makes zero sense13:31
ograoh i somehow thought they were temporary unavailable13:32
tewardogra: they are but they're listed as "UNAVAILABLE".  Reboots, etc. don't return them13:32
ograit should surely not trash them permanently with an update13:32
tewardand i don't think the snap has adequate logging to help me debug that, unless you know where those logs'd be13:32
ograsnap changes ... then snap change <change id>13:33
ograand indeed journalctl ... 13:33
tewardoh this explains it13:33
tewardlooks like the internal dnsmasq is hosed13:33
ograouch13:33
tewardep 29 09:31:45 tau-volantis lxd.daemon[2554]: time="2022-09-29T09:31:45-04:00" level=error msg="Failed initializing network" err="Failed starting: The DNS and DHCP service exited prematurely: Process exited with non-zero value 1 (\"dnsmasq: --auth-server required when an auth zone is defined.\")" network=InternalDHCP project=default13:33
tewardSep 29 09:31:45 tau-volantis lxd.daemon[2554]: time="2022-09-29T09:31:45-04:00" level=error msg="Failed initializing network" err="Failed starting: The DNS and DHCP service exited prematurely: Process exited with non-zero value 1 (\"dnsmasq: --auth-server required when an auth zone is defined.\")" network=static-local project=default13:34
tewardso looks like a major LXD bug/regression in the update13:34
tewardwho do i even yell at about that... stgraber perhaps?13:34
ograor someone from his team. yeah13:35
stgrabersdeziel: does that maybe ring a bell? ^13:49
stgraberWe haven't changed the way we spawn dnsmasq in a long time though I believe we have made a change so that startup failures are better reported now13:50
stgraberteward: can you show `lxc network show static-local` ?13:51
sdezielstgraber: unfortunately, no13:51
tewardstgraber: sdeziel: once i am at my pc again yes.  ft job all hands meeting13:54
tewardso like a couple hours.  the *only* reason i went to the office today >.>13:55
stgraberthe best explanation for the behavior would be a raw.dnsmasq on that particular network which was already causing dnsmasq to crash prior to the update but which is now correctly being reported and so is preventing dependent instances from starting up13:57
tewardstgraber: could be leftover from the old system i'll pull the config down.13:58
tewardonce this meeting is over13:58
tewardstgraber: i wonder, did older LXD with bridges have taw14:04
tewardraw.dnsmasq values entered*?14:04
tewardwhen lxd builds the bridge I mean.14:05
stgraberhmm, no, LXD never sets it itself14:05
tewardthen i bet you it isnt set or if it is its old.14:05
tewardbut we'll find out.  both InternalDHCP (handled by an isc dhcp server in the lxd network) and static-local are lxd born bridges from a while ago so i'll pull both configs and share in a bit14:07
Odd_Blokexnox: Hmm, so prepending a stanza with a decremented Version (i.e. ~test appended) doesn't work: debootstrap uses that stanza to fetch the package and install it in the chroot, after which point `dpkg` sees the version built into the package (which isn't decremented), and so the bug doesn't trigger.15:45
xnoxhmmmm.... but if some other package wants the big version; installing that should fail16:04
xnoxno?16:04
xnoxi.e. if i prepend libext2fs2 1.46.5-2ubuntu1.1~noexistent in the packages file, it should find and use 1.46.5-2ubuntu1.1 version for later one16:05
xnoxin the packages file, instead of failing to download ~nonexistent one16:05
Odd_BlokeOoh, right, let me change Filename too16:10
Odd_BlokeOK, yeah, that's looking more promising, thanks!16:12
Odd_BlokeI'm also running into problems running autopkgtests locally.  I ran `autopkgtest-buildvm-ubuntu-cloud` and then `autopkgtest debootstrap -- qemu autopkgtest-kinetic-amd64.img` and autopkgtest reported 6 tests out of 58: should I be running them differently, somehow?16:14
Odd_Bloke6 tests _failed_16:14
=== EnchanterTim is now known as Linux
tewardstgraber: sdeziel: found that there IS some raw added to dnsmasq but i don't know / remember where it came from.  https://pastebin.ubuntu.com/p/dHbczfdbc2/16:30
tewardnot sure what i need to do to fix that now though.16:31
stgraberteward: per the error, sounds like you need an auth-server key to match that auth-zone entry16:32
tewardi'll have to prod that then, i don't know where auth-zone came from16:35
tewardstgraber: looks like a resurgence of https://github.com/lxc/lxd/issues/8905 which is odd16:37
ubottuIssue 8905 in lxc/lxd "dnsmask process exited prematurely if raw.dnsmasq auth-zone set when using core20 snap" [Closed]16:37
tewardguess i get to unset some things and test.16:37
teward... after food.16:38
tewardstgraber: i unset auth-zone but left the dns loop detection part in and got my bridges back.  We might need to document this because i think this is inner-workings stuff that goes ignored until latest-update / version of the LXD snap.  Might post a note about it on the snap focumrs and such.16:47
stgraberteward: to be clear, we haven't changed what we feed dnsmasq, it just means that until this update, your dnsmasq just crashed immediately and wasn't running at all :)17:06
tewardstgraber: you mean without breaking the bridges and hardfailing them17:30
tewardinteresting though that the errors weren't previously crit-failures so :P17:30
stgraberright, they may have gotten logged but that was it, which definitely would hide some pretty critical stuff, hence the fix in 5.6 :)17:30
tewardright, makes sense.17:32
tewardat least the dns loop detection argument works without breaking xD17:32
imiwhere do the cloud images search for the seed image? can I provide it on an usb pendrive?17:51
tomreynimi: there is #ubuntu-cloud17:53
imithanks17:53
aberranthi all. I am having a problem with a relatively simple rsyslog configuration. It's here: https://gist.github.com/fbb1e10ccd1665cd20503abfc17c7880 - the problem is that daemon.debug messages are still getting logged from hostname "wap1". Any advice?17:55
=== jgee11 is now known as jgee1
Odd_Blokexnox: https://pastebin.ubuntu.com/p/fqHR348szF/ <-- autopkgtest which does what you proposed18:35
evilyodaI'm getting 404s with `apt-get install sagemath` on an ubuntu-20.04 image on Github. Specifically: Err:29 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgs9-common all 9.50~dfsg-5ubuntu4.522:10
evilyoda  404  Not Found [IP: 52.147.219.192 80]22:10
evilyodaErr:33 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgs9 amd64 9.50~dfsg-5ubuntu4.522:10
evilyoda  404  Not Found [IP: 52.147.219.192 80]22:10
evilyodaErr:79 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 ghostscript amd64 9.50~dfsg-5ubuntu4.522:10
evilyoda  404  Not Found [IP: 52.147.219.192 80]22:10
evilyodaFetched 661 MB in 14s (46.5 MB/s)22:10
evilyodaE: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/libgs9-common_9.50~dfsg-5ubuntu4.5_all.deb  404  Not Found [IP: 52.147.219.192 80]22:10
evilyodaE: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/libgs9_9.50~dfsg-5ubuntu4.5_amd64.deb  404  Not Found [IP: 52.147.219.192 80]22:10
evilyodaE: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/ghostscript_9.50~dfsg-5ubuntu4.5_amd64.deb  404  Not Found [IP: 52.147.219.192 80]22:10
evilyodaE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?22:11
evilyodaError: Process completed with exit code 100.22:11
evilyodaAnyone else run into this?22:11
sarnoldevilyoda: try: sudo apt update ; sudo apt install sagemath22:20
sarnoldhah22:20
tomreyndoes github CI run on azure then?23:05
tomreynoh that mirror is public23:05

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