/srv/irclogs.ubuntu.com/2022/04/27/#ubuntu-server.txt

sdezielgemclip: AFAIK, this concept of group in group is not possible on Linux, only on Windows00:06
ravagemaking accountants managers is not great anyway00:08
sarnoldgemclip: aha; as sdeziel says, there's no way to do 'nested groups' -- you could rename the group you've got, or you could add all members of one group to the other group.. *maybe* it's possible that sssd would know how to do something similar with AD groups, but that's a big guess on my part00:10
gemclipthanks for the feedback02:42
tobias-urdinjamespage: long shot, but have you noticed any issues with vnc console for jammy server cloud image on openstack nova with qemu? The image works in that one can SSH and use it, but is just a blackscreen on console, tried to see if it's actually intended or a bug but didn't find anything06:38
cpaelzertobias-urdin: I heard of issues depending what default conf for your guest you have for virtual graphics could conflict with the graphics drivers in the guest - but that was gnome-boxes and real UI of Ubuntu Desktop - yours being a server image should be a different thing :-/06:50
cpaelzertobias-urdin: I just tried a new spawned jammy server image, it was happy via vnc and spice for me06:50
cpaelzertobias-urdin: since ssh works, let us move up one by one - do you have a console when you `virsh console <guestname>`06:51
cpaelzertobias-urdin: do you have the problem only with the embedded web-vnc of openstack or also with a dedicated vnc viewer and/or virt-viewer?06:51
=== gschanuel9 is now known as gschanuel
tobias-urdindoing virsh console gives me the login prompt, checking the console.log which is libvirt reading the vm:s tty shows the complete boot output and login prompt07:31
tobias-urdinthe vnc console only shows this though https://ibb.co/fH7ZkBn07:31
tobias-urdincpaelzer: ^07:34
cpaelzerthank tobias-urdin, that seems stuck with very eary boot content and not updated since then07:38
cpaelzers/eary/early/07:38
tobias-urdinyeah, doesn't show anything after that echo line from grub07:51
tobias-urdinthe issue is solved when using jammy-server-cloudimg-amd64.img instead of jammy-server-cloudimg-amd64-disk-kvm.img07:52
tobias-urdinthanks for helping out though!07:52
cpaelzertobias-urdin: oh interesting on those images08:22
cpaelzertobias-urdin: can you check if the bad image no linux...modules-extra installed?08:23
cpaelzerthat is one common difference (as it is not meant to need it)08:23
cpaelzerbut there have been occasions were - due to that - drivers were missing08:23
cpaelzertobias-urdin: if your bad -kvm image indeed has ...extra-modules missing plesae install those matching your kernel and reboot08:24
cpaelzertobias-urdin: if it works that is the reason, I'd then ask you to check which modules got loaded in addition and report that08:24
cpaelzertobias-urdin: maybe there is one more that we need to move extra->base08:24
tobias-urdinsorry I don't really have time to look into it more in detail right now, but I assume it's related to graphics since openstack nova creates model=cirrus in libvirt xml08:51
tobias-urdinso some setting or driver is missing in the disk-kvm image08:51
cpaelzeryeah - which is just what I said08:51
=== polymorp- is now known as polymorphic
lvoytekgood morning11:58
ahasenackgood morning12:03
athosgood morning :)12:39
ahasenackrbasak: hi, so what's the story behind the mariadb ftbfs so far that you dug up?13:55
ahasenackfrom my pov, it looks like mariadb decides to use io_uring support, and that requires a bit more of locked memory (memlock rlimit), and that limit in the builders is too low, so the build-time tests fail13:55
ahasenackin particular, it can't even start the daemon in that configuration, as a regular user13:56
rbasakahasenack: IIRC, originally Launchpad was FTBFSing on mariadb that included io_uring support because upstream were doing a build time test for io_uring (and I think still are), which is wrong because it should be done at runtime since the lack of io_uring availablity at build time doesn't tell us about its availablity at runtime.13:58
rbasakBut then the Launchpad builders got updated to a newer release and therefore a newer kernel that supported it.13:58
rbasakAIUI, that's how we ended up with a successful build in the Jammy release pocket (of 10.6).13:58
ahasenackI think the lp builders are using the focal hwe kernel13:58
ahasenack5.4.0-something13:59
ahasenacklet me check that build log13:59
rbasakBut then something changed that caused this current FTBFS, and I haven't tracked down what that is.13:59
ahasenackhm, both are 10.6.713:59
ahasenackrelease and proposed13:59
rbasakWhat puzzles me is that if the root cause is a memlock rlimit issue then why did it work before?13:59
rbasakSo since there's a contradiction somewhere, maybe one or more of my "facts" above is wrong.14:00
ahasenackthis is the current failure14:00
ahasenack2022-04-14  8:11:49 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOMEM: try larger memory locked limit, ulimit -l, or https://mariadb.com/kb/en/systemd/#configuring-limitmemlock under systemd (262144 bytes required)14:00
ahasenackand ulimit -l confirms that the limit is lower14:00
ahasenackMax locked memory         65536                65536                bytes     14:00
ahasenackjust 64kbytes14:00
rbasakYeah but then how did the release pocket build work?14:00
ahasenackeither the limit was different back then14:01
ahasenackor ... stuff14:01
ahasenackhttps://launchpad.net/ubuntu/+source/mariadb-10.6/1:10.6.7-3 is the changelog14:01
ahasenack  * Fix mysql_install_db by reverting recent addition (MDEV-27980) <-- what's that MDEV?14:02
ahasenacka mysql bugzilla number?14:02
ahasenackthe kernel is slightly different too14:02
ahasenack5.4.0-107-generic #121 failed case14:02
ahasenack5.4.0-104-generic #118 working case14:02
rbasakMariaDB Jira I'm guessing?14:04
ahasenackthe proposed pkg built/tested in armhf and riscv64 :)14:04
ahasenackhm, armhf also was on 5.4.0-10414:04
ahasenackriscv is something else, on 5.11.0-1031-generic14:04
ahasenackrbasak: indeed, their jira: https://jira.mariadb.org/browse/MDEV-2798014:06
ahasenacknot relevant to this I think14:06
ahasenackstill trying to reproduce this14:06
ahasenacktried with sbuild yesterday on focal host, jammy chroot14:07
ahasenackbut this build takes ages :/14:07
ahasenackin fails in ppas as well, at least14:09
ahasenackrbasak: search for "ulimit": https://launchpadlibrarian.net/598576864/buildlog_ubuntu-jammy-amd64.mariadb-10.6_1%3A10.6.7-3ubuntu1~ppa2_BUILDING.txt.gz14:10
ahasenackI added some debugging14:10
ahasenackI should have added `|| :` so it continues, but it would fail to bring the daemon up anyway due to this low limit14:11
ahasenackI'm unsure how that limit is set, I *think* based on observation that it could be set to 1/8 of installed RAM?14:11
ahasenackwith an upper cap, certainly14:12
ahasenackmine is set to 2016112, and my ram is 1612890814:12
ahasenack>>> 16128908/201611214:12
ahasenack8.00000595205028414:12
ahasenackclose enough14:12
ahasenacksimilarly in a VM I brought up14:13
ahasenackrbasak: do we need to do something in git-ubuntu for the archive opening? kinetic?14:46
rbasakneeded|489814:48
rbasakSo no, but it'll take a while :-/14:48
ahasenackthese imports won't take up (much) extra space right now, because the packages are still the same as in jammy, right?14:55
ahasenackjust another fork of a branch in the same repository (each package being a repo)14:55
rbasakRight17:00
rbasakNo extra space needed, but the importer works by cloning from LP into a temporary directory, adding the branch, and then pushing back. So it's not very efficient at this 6-monthly event.17:00
rbasakneeded|482717:01
=== polymorp- is now known as polymorphic
sergiodjkanashiro: hey, https://bugs.launchpad.net/ubuntu/+source/ruby2.7/+bug/1943823 showed up during my triage.  it doesn't seem to be an issue anymore (ruby2.7 builds fine on impish/focal and isn't shipped anymore on jammy).  do you mind if I close it as Fix Released?17:54
ubottuLaunchpad bug 1943823 in ruby2.7 (Ubuntu) "ruby2.7 ftbfs on ppc64el using GCC 11.2" [Low, Triaged]17:54
sergiodjhm, scratch that.  it's likely that ruby2.7 won't build on ppc64el with gcc-11.  I see it's building fine right now because of the workaround you did17:58
sergiodjI think I will leave the bug as is but will target it to Impish17:59
ahasenackrbasak: so I have a focal VM, with 8Gb of RAM19:21
ahasenackulimit -l in it defaults to 64Mb19:21
ahasenackroot can change that, and mariadb via systemd options raises it for the service if needed19:22
ahasenackbut a jammy lxd container cannot19:22
ahasenackit gets the 64Mb, and mariadb inside it cannot change this limit19:22
ahasenackand fails to start (core dumps actually)19:22
ahasenacktl;ldr: focal 8Mb VM cannot run jammy's mariadb in a jammy container, in default configs19:22
ahasenackthis is as close as I got to a reproducer, with the only caveat that the LP builders use chroots, so they could raise the limit if they were root, but the test run at build-time is not root19:23
ahasenackI should be able to reproduce this now in any scenario where the memlock limit cannot be raised, with a jammy mariadb19:24
ahasenacktrying to figure out now how to change the default memlock limit in focal, so that the lxd container inherits that, to verify mariadb can then start19:24
tewardwho's the PoC for postgres packages?19:25
tewardjust wondering 'cause 'defaults' may need updated (md5 deprecation, so move to scram-sha-256 for postgres encryptions)19:25
ahasenackteward: server team19:27
tewardi'll email then19:27
ahasenackbug?19:27
kanashirosergiodj, re ruby2.7 bug: sorry, I had an issue with my irc client and I did not see your message in time, but yeah your assessment is right :)19:35
kanashirowe will likely not fix this issue tbh19:35
sergiodjkanashiro: yeah, that's what I figured too19:36
sergiodjimpish will EOL in 2 months IIRC19:36
kanashiroyep19:36
sergiodjahasenack: IIRC you were hacking nfs stuff before the release, right?  do you happen to have a setup ready to test things there?  https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1970264 came up during my triage.  I'm installing a Jammy VM here to test it but it'd be great to do a double check19:56
ubottuLaunchpad bug 1970264 in autofs (Ubuntu) "autofs fails to mount nfs4 shares with 'error 0x3 getting portmap client'" [Undecided, New]19:56
ahasenackthat rings a bell, I think I saw an autofs bug about it19:56
sergiodjyeah, there's a bug upstream that looks similar19:57
sergiodjthe reporter pointed to it19:57
sergiodjI'd like to confirm it's the same issue, though19:57
ahasenacknfsv4 does not require portmap, and autofs was trying to follow that, but didn't work19:57
ahasenackthis is more about autofs than nfs, I don't have an autofs setup ready19:57
ahasenacks/portmap/rpcbind/19:58
ahasenackif I recall correctly, the ML discussion was ongoing19:58
ahasenackI'm unsure if it was ever resolved definitely19:59
sergiodjthere is a patch and the maintainer said he was going to install it, but nothing happened after that19:59
ahasenackthat being said, autofs upstream keeps a nice directory with official patches, that will be part of the next release19:59
ahasenackwe could try one of those, or see if that posted patch in the ML made it to the patches directory from upstream 19:59
sergiodjyeah19:59
sergiodjthat's my plan.  I need to set something up first, though19:59
sergiodjI wonder if it's possible to reproduce this by setting a simple NFS share and configuring autofs to mount it20:00
sergiodjor if I will need a more complex setup20:00
ahasenackthat should be it, no ldap needed20:00
sergiodjhope so :)20:00
ahasenackbut without rpcbind on the server20:00
ahasenack(which could be one workaround, though: install rpcbind on the server, if it solves the issue)20:01
ahasenackI'm unclear if autofs tried to contact rpcbind and failed (because it's not running on the server for nfsv4), or if autofs just broke in the nfsv4 scenario20:01
sergiodjisn't rpcbind installed by default when you install nfs-kernel-server?20:02
sergiodjI thought it was20:02
ahasenacksergiodj: btw, nfsv4 is the default in ubuntu for a while now, no need for kerberos even20:02
ahasenackyeah, you get it, but you can disable it20:02
sergiodj(argh, my Ubuntu machine is thrashing, too many VMs opened)20:02
sergiodjOK20:02
ahasenackit is a depends, though20:02
sergiodjyeah, I noticed it being pulled20:02
ahasenackrbasak: posted a summary in https://bugs.launchpad.net/ubuntu/+source/mariadb-10.6/+bug/1970634/comments/120:48
ubottuLaunchpad bug 1970634 in mariadb-10.6 (Ubuntu) "FTBFS: test failure due to low memlock limit" [Undecided, In Progress]20:48
ahasenacktl;dr the memlock limit is real, and my comment there just explained why we see it in the special case of focal kernel with jammy mariadb, and not, say, jammy kernel with jammy mariadb20:49
ahasenackmariadb has a further check on whether it will use uring or not, and that is at runtime depending on the kernel version. That is besides the check if uring is supported in the kernel or not, or if it was enabled at build-time or not20:50
ahasenackin the build env, the conditions are right for uring to be enabled, and since the build starts a mariadb process to run tests, that process requires a higher memlock limit because it's using uring...20:50
ahasenackI'll investigate if it's something we can change in the test (skip it if memlock limit is not high enough, perhaps), and check if that same test cannot be run as DEP8 instead20:51
ahasenackmaybe it is being run as dep8 already20:52
ahasenackI think they are being run as dep8 already20:53

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