/srv/irclogs.ubuntu.com/2020/07/02/#cloud-init.txt

=== vrubiolo1 is now known as vrubiolo
=== hjensas|afk is now known as hjensas
MICROburstI created a user X with homedir but 'lock_passwd: true' during install I get annoyed with "ci-info no authorized ssh keys fingerprints found for user X" - how do I get rid of this message?08:53
=== MAbeeTT_ is now known as MAbeeTT
Odd_BlokeMICROburst: I'm not sure I follow, why do you want to get rid of that message?13:03
MICROburstLooks like a config problem. I want to be able to sudo to this user. As opposed to a system account it should have a homedir13:57
=== apollo13_ is now known as apollo13
MICROburstis someone here using mounts: to add entries to /etc/fstab?16:05
Odd_BlokeMICROburst: The only way someone can know if they can answer your question is if you ask it. :)16:11
Odd_Bloke(Given that cloud-init devs including myself are active in here, someone should be able to!)16:11
MICROburstOdd_Bloke: Entries added via cloud-init simply do not work. For some reason cloud-init uses TABs in /etc/fstab *facepalm*16:17
blackboxswhrm. man page for fstab "Fields on  each  line are separated by tabs or spaces."16:19
blackboxswand true cloud-init does separate by tabs it seems https://github.com/canonical/cloud-init/blob/master/cloudinit/config/cc_mounts.py#L49816:20
blackboxswMICROburst: I'd be curious about what distro you are running on16:21
blackboxswif some distros don't support tabs in /etc/fstab we probably should adjust cloud-init to make the right white-space choice for those elements16:22
MICROburstIt's ubuntu 18.04 Line added was "10.0.10.10:/volume1/backup    /net/backup nfs x-systemd.automount,noauto,comment=cloudconfig  0   0"16:23
MICROburstubuntu cloud image.16:24
Odd_BlokeYeah, tabs are supported in /etc/fstab AFAIK, so I don't know that that's the issue.16:25
Odd_BlokeMICROburst: So what does `mount /net/backup` in a shell do?16:26
blackboxswuuuuum, so your user-data was this?    https://paste.ubuntu.com/p/YcbRJQzs34/16:27
blackboxswMICROburst: I'm curious what the pasted mounts: specific output is when you run 'sudo cloud-init query user-data'16:27
MICROburstlooks like, but I'm not Chad smith16:28
blackboxswhehe :) that's me16:28
MICROburst:)16:28
blackboxswsoo stock cloud-image and nfs rings a bell. MICROburst is this the symptom you are seeing https://bugs.launchpad.net/cloud-init/+bug/187037016:32
ubot5Ubuntu bug 1870370 in cloud-init "cloud-init doesn't support NFS in mounts" [Undecided,Fix released]16:32
blackboxswand Odd_Bloke's question about what does `mount /net/backup` in your shell do16:33
MICROburstworks.16:33
MICROburstthe odd thing is the other VMs with that config are working too. Very odd...16:34
Odd_Blokehttps://github.com/canonical/cloud-init/pull/473 is the test refactoring PR I mentioned in stand-up this morning.16:35
MICROburstregarding the pointer to the launchpad: I don't use AWS yet.16:35
blackboxsw:/,   I think probably need to see a paste of your /var/log/cloud-init.log if possible . I'd expect we'd see a "mount -a" which should have mounted that nfs entry. I'm wondering if we hit something with nfs not responding during initial system boot?16:40
blackboxswgrabbing the PR Odd_Bloke16:41
rharperparide: my irc proxy got reset, not sure if you responded and I wasn't here on cloud_tests and lxd 4.0  ...16:49
Odd_Blokerharper: I didn't see a response, but paride mentioned in stand-up that he was looking into issues we were seeing in Jenkins that he was anticipating might be the same as yours.17:00
rharperOdd_Bloke: ok, yeah, it seems to me that lxd image export seems to have changed ... it now expects a filename (not a dir) and it writes a tar.xz file and I think the metadata tarball .. so all of the image import/export bits need updating for 4.017:04
Odd_BlokeFun!17:04
rharperOdd_Bloke: what a PITA, I was writing a cloud_test for the chrony bug we worked through yesterday;  hoping to contribute an integration test while fixing the bug.    I might see if nocloud kvm is easier ... but need to figure out how to update releases.yaml to point to Centos images17:05
Odd_Blokerharper: So I think a short-term resolution would be switching to the 3.x lxd channel while we work on updating the integration?17:07
rharperOdd_Bloke: ok;  I suspect I'll need to do that in a VM or something; I really loath messing with my existing install (it's a PITA already to get things "happy" )17:08
Odd_BlokeOr, actually, I'm on 4.2 so maybe even just going back to 4.1 would work?17:08
Odd_BlokeOr maybe we're on edge on Jenkins ATM, so even with 4.2 we might not be broken?17:09
rharperOdd_Bloke: well, let me just file a bug with details;17:11
rharperI'm on latest/stable ; 4.217:11
blackboxswOdd_Bloke: minor Change requested and we can land https://docs.pytest.org/en/2.9.2/example/markers.html#custom-marker-and-command-line-option-to-control-test-runs17:14
blackboxswoops paste fail17:14
blackboxswhttps://github.com/canonical/cloud-init/pull/473#pullrequestreview-44188011817:15
rharperhttps://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/188608017:27
ubot5Ubuntu bug 1886080 in cloud-init (Ubuntu) "lxd cloud_tests fail to export images on latest/stable " [Undecided,New]17:27
Odd_Blokeblackboxsw: Good catch on that nit, thanks!  Fix pushed up.17:41
blackboxswOdd_Bloke: rharper lucasmoura and falcojr I'm off tomorrow and CDOqa just came in with cloud-init test results as success for SRU into ubuntu X, B , E, F. Upstream doesn't release on Fridays, but I'd like to ping the SRU vanguards in #ubuntu-release  as soon as CDO logs are attached to see if we can't get this approved for today. I'd need folks to be aware of the update/publish in case of bug reports tomorrow.17:43
blackboxswdoes that sound good/17:43
blackboxswor shall we wait for Monday17:43
blackboxswI'm imagining a lot of US-based folks aren't going to be around tomorrow17:45
Odd_Blokeblackboxsw: We have and will only have CDO QA results for bionic, right?  Do we need to resolve that inconsistency with our SRU exception before asking for release?17:46
Odd_BlokeYeah, I'd hold off regardless, given that tomorrow's a US holiday.17:46
Odd_Bloke(Speaking as someone who lives in Canada. ;)17:47
blackboxswheh. ok will hold. and yes, I'll ping about xenial results, typically CDO qa doesn't do non-LTS (and I'm not certain where they are as far as focal)17:47
blackboxswmerged https://github.com/canonical/cloud-init/pull/47317:52
rharperblackboxsw: good luck with the release today;  Monday isn't terrible either18:03
=== bswinnerton4 is now known as bswinnerton

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