/srv/irclogs.ubuntu.com/2018/05/22/#ubuntu-server.txt

arooniis there an ubuntu terminal that supports the OSC 52 ;; would allow set-clipborad in terminal00:09
sarnoldprobably xterm does; maybe urxvt ..00:21
naccrbasak: not sure if you want to just land that fixlet, or try and build it locally to sanity check it is ok? I suppose in the edge channel it's ok to just land it00:27
naccahasenack: as to the error messages, remember when running from the snap it is only looking in the snap's env, so your system packages are irrelevant00:28
naccahasenack: it's just a generic message, which implies that it wasn't able to load pygit2 successfully00:28
naccs/load/import/00:28
xamithanJust joined to grab topic links and say cheers it fixed my issue~01:00
=== giraffe is now known as Guest29863
lordievaderGood morning06:01
^kiokoman^wellcome209:12
^kiokoman^wrong chat sorry09:12
rbasakcpaelzer, ahasenack: git-ubuntu edge fixed I believe10:10
cpaelzerrbasak: rev 429 or newer?10:10
cpaelzerrbasak: yep working on 429 now10:12
cpaelzerthank10:12
cpaelzers10:12
DK2hello, im trying to setup a hostroute on ubuntu 18.0411:39
DK2http://pastebin.centos.org/782911/11:39
DK2is the relevant snippet, however when trying to access the 10th subnet im getting no route to host11:40
DK2it works perfectly fine when i set a 192.168.0.0/24 ip on the server, however i need the ip to be 192.168.2.0/2411:40
DK2any ideas?11:40
OolDK2: you need to have a gateway in the network11:42
DK2it is on-link11:42
DK2both subnet are in the same vlan11:42
Oolsame vlan perhaps but not in the same network11:43
DK2but shouldnt hostroutes work for exactly cases like this?11:43
Oolhow can you can to the 192.168.0.0/24 where is your gateway from 192.168.2.0/24 ?11:43
Oolhow can you go *11:43
DK2there is no gateway, it should use 192.168.0.25411:44
Oolfor me, or the dest is on the same network => no gateway, or is another network => gateway11:48
DK2https://netplan.io/examples#directly-connected-gateway11:52
DK2but doesnt seem to work12:05
fricklerthedac: coreycb: any update on https://bugs.launchpad.net/bugs/1750121 ? my suspicion is that this is somehow dependent on your CI/charms setup12:17
ubottuLaunchpad bug 1750121 in neutron-dynamic-routing (Ubuntu Bionic) "Dynamic routing: adding speaker to agent fails" [High,Fix committed]12:17
DK2so, http://pastebin.centos.org/782951/13:12
DK2how can i add a second route here?13:12
DK2i also want 10.82.27.0/24 to go trough .25413:12
sveinseHow strong is the recommendation to keep ubuntu-server on a server? I'd like to remove some of the packages this packages depends on a smaller server.13:59
ahasenackrbasak: I thought there was a way to pass extra arguments when using git-ubuntu build-source, like genchange's -v<version>, but I don't see that in the --help output. Is there a way?14:07
ahasenackah, I think it's anything at the end that is not recognized as a git-ubuntu flag?14:10
ahasenack    if len(args.rem_args) != 0:14:10
ahasenack        logging.warning(14:10
ahasenack            "Appending specified flags (%s) to `dpkg-buildpackage %s`. "14:10
* ahasenack tries that14:11
runelind_qI'm running 16.04.4.  Whenever I reboot after a kernel upgrade, I run apt autoremove, then it makes me reboot again :|14:37
runelind_qany way to get around that?14:37
geniiRun the autoremove after the kernel upgrade but before rebooting the first time14:45
runelind_qgood point15:18
RoyKrunelind_q: seems like an apt bug if you ask me15:50
runelind_qI agree, it shouldn't need to happen.15:50
runelind_qthere were bugs filed about it in 201515:50
RoyKrunelind_q: well, ubuntu doesn't really have a medal in bug fixing15:52
runelind_qwhy fix bugs when you can add more features? ;p15:53
RoyKrunelind_q: exactly16:09
RoyKrunelind_q: I don't use ubuntu much on servers anymore - I went back to debian16:09
* RoyK knows he's swearing in church16:10
naccahasenack: -- ...16:14
naccahasenack: (cf. `git ubuntu build --help`)16:14
runelind_qI do feel like there are much more kernel security updates in Ubuntu compared to CentOS/RH, maybe they're just not fixing them ;p16:15
naccahasenack: i'm not sure if i've tested buildsource -- , tbh16:16
naccahasenack: but i think it does work, and needs a MP to add that to the help epilogue16:16
RoyKnacc: -- ... means "MS" ;)16:17
naccRoyK: I don't know what you're talking about.16:18
naccRoyK: you mean morse code?16:18
RoyK:)16:19
naccrbasak: ok, looks like git-ubuntu.self-test now passes in edge?16:38
naccahasenack: --^ fyi16:38
ahasenacknacc: it worked (-- ...)16:52
thedacfrickler: We still see that problem. By chance are you at the OpenStack Summit? I'd love to show you what we are seeing.16:57
thedacWe are not doning anything special in our CI setup. And again the intial peering setup works. It is only after restarting the neutron-bgp-dragent that we see the error.16:58
naccahasenack: cool17:00
fricklerthedac: yes, that's because the original bug also doesn't appear in the default initial setup. I only discovered it when setting up a second network node with another dr-agent17:11
fricklerthedac: and no, I'm not at the summit17:11
thedacfrickler: what info can I provide to move forward? I can tar up neutron.conf etc17:12
fricklerthedac: a description how to reproduce would be good. or would there be a way to hold a failed CI node and let me debug it? like we could do on openstack CI? ;)17:15
thedacfrickler: oK, I'll do a completely manual setup based on the testing documentation (what our CI automation is built on) and see there is any difference.17:17
thedacThe CI env is inaccessible, unfortunately.17:17
fricklerthedac: is the testing doc public?17:18
thedacfrickler: yes, https://docs.openstack.org/neutron-dynamic-routing/latest/contributor/testing.html17:19
thedacOur CI scripting is almost exactly that ^^^17:20
thedacOnly point to highlight is the neutron-bgp-dragent is on its own node.17:20
fricklerthedac: ah, that's one of the things I asked on LP. you need to install the same pkg version of the bgp agent on the neutron server, because it serves the RPC call from there17:23
fricklermy patch changes both sides and if they are not in sync, you get that error17:23
thedacfrickler: they both have the same version of python-neutron-dynamic-routing17:24
naccahasenack: cool, can you file a bug that build-source's help doesn't mention it, and fix it? :)17:29
fricklerthedac: hmm, o.k., so I guess it's best if you try to reproduce it manually. for me, the only attempt where I saw your error was when I upgraded from current pkgs to proposed and didn't restart neutron-server. maybe you could try that restart anyway, just to confirm that you don't have the same situation17:45
thedacfrickler: ok, I'll do a few more tests and report back on the bug17:46
Nik736Hi guys, I am struggling with converting my network config to netplan, anyone around that could assist? Would appreciate it, thanks :) Old Config: https://pastebin.com/YjMRhhAa New Netplan Config that does not work: https://pastebin.com/2msq7hYV17:51
ahasenackrbasak: would you be interested in this mysql 18.04 bug https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1772337 that has apparmor DENIED messages in dmesg? (https://launchpadlibrarian.net/371151468/Dmesg.txt)17:54
ubottuLaunchpad bug 1772337 in mysql-5.7 (Ubuntu) "package mysql-server-5.7 5.7.22-0ubuntu18.04.1 failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1" [Undecided,New]17:54
sarnoldname="/etc/my.cnf"18:16
sarnoldfirst, that's a silly path mysql, and you should feel bad for using it.. second, that has the look of something that ought ot have been included in profiles ages ago..18:16
tewardwait, that path looks wrong...18:17
tewardshouldn't it be pulling from the mysql conf roots?18:17
teward(mysql i mean)18:17
tewardahasenack: rbasak: ^18:18
ahasenackapyes, it looks wrong, I commented as such in the bug18:18
sarnoldthat last line is a bit funny too, mysqld running with fsuid 1001??18:18
ahasenackit looks like a heavily modified install, even the initscript was changed18:18
tewardsounds less like a package bug and more of a "PEBKAC User Error" bug18:19
sarnoldwow18:19
tewardis "This system is so heavily modified from the defaults it's not supportable by us" a viable response?  (Just saying)18:21
tewardeither of you know if it's possible to get details out of an autopkgtest run?18:22
tewardbeyond the logs that it gives normally18:22
ahasenackteward: a local run?18:22
tewardahasenack: no, autopkgtest.u.c18:23
tewardbut if i have to do a local run of this package I will be displeased18:23
ahasenackteward: there are artifacts you can download, but that's it18:23
tewardsearx breaks with the nginx upload, but the error is uwsgi-level18:23
tewardahasenack: where?18:23
tewardfound it nevermind18:24
tewardgrrr yeah the artifacts won't help me here...18:24
tewardahasenack: if I were to do a local run of this, I have two questions:18:25
teward(1) how would i do that, and18:25
teward(2) is there a way to get into the environment if it fails to actually get debugging info?18:25
ahasenackteward: http://autopkgtest.ubuntu.com/ and go find your package there18:25
sweinon a 18.04 server install. When the ISO is booting some services take forever to start and hangs. Snap server, kernel message of scsi_eh blocked for 120 seconds18:25
sweinanyone seen that18:25
ahasenack(it's not loading here, btw)18:25
ahasenackswein: the first time you boot it? And it's the "live server" install?18:25
sweinahasenack: yes liv eserver install and on first ISO boot18:25
ahasenackI haven't seen that, sorry18:25
ahasenackbut scsi_eh blocked could be a hardware problem, everything ok with your disks?18:25
tewardyay net lag >.<18:25
ahasenackteward: (2) not that I know of18:25
ahasenackteward: (1) is doable, is that in cosmic?18:26
sweinnothing is connected to the megaraid sas controller, it's just plugged in18:26
tewardahasenack: yes, though my system here is Xenial18:26
tewardahasenack: TL;DR I need systemctl status -l output18:26
ahasenackteward: do you know if the test needs a vm, or if it can run in a container? What does d/t/control say?18:26
tewardahasenack: E: Unknown, not my package18:26
tewardstill digging18:26
tewardahasenack: if you want to help I'd gladly welcome it18:26
ahasenackwhich package is it?18:26
tewardahasenack: searx, its autopkgtests were triggered by NGINX uploads.18:27
tewardsomehow18:27
ahasenacksure, sounds more exciting than a pile of 10 apache bugs from 200x18:27
tewardahasenack: the nginx direct autopkgtests all succeed18:27
tewardso it's not an nginx-level issue18:27
tewarddigging into the failed tests the error is in the uwsgi package when it tries to load18:27
tewardand because of systemd its error message is suppressed saying "Run systemctl status uwsgi for details"18:27
ahasenackit's usual, I half lost my mind chasing down triggered tests when I uploaded snmp once18:28
ahasenackgot all the way down to bind9 even18:28
tewardheh18:28
tewardwell I value a second set of eyes18:28
tewardactually oddly enough18:28
ahasenackok, so isolation-container, looks like a lxd is fine18:28
tewardit looks like the test has always-failed since 2018-05-0518:28
ahasenackI'll run the tests, but just so you know,18:28
ahasenackyou would first run autopkgtest-build-lxd to prepare a lxd image for autopkgtest to use18:29
ahasenackand then autopkgtest -s -U /path/to/package (or package name) -- lxd <lxd-image-name>18:29
ahasenackmore or less18:29
ahasenackgoing from memory18:29
ahasenack-s is for it to stop when it fails and give you a shell18:29
ahasenack-U is to run apt-upgrade, since the image you prepared earlier could have been prepared weeks ago18:30
tewardahasenack: indeed.  Though Xenial won't work for it.18:30
tewardi'll need to use my bionic box18:30
ahasenackit should work on xenial18:30
tewardthose scripts don't exist in Xenial18:30
ahasenackit probably has the old name, that's all18:30
ahasenackadt<tab> I think18:30
tewardthere it is18:30
ahasenackdon't ask18:30
ahasenackI wouldn't know why18:30
tewardnot going to :p18:30
tewardheh lol18:31
tewardahasenack: doesn't work with snapped LXD 3.x18:31
tewardapparently18:31
ahasenackthe build-lxd one?18:31
tewardmhm18:31
tewardat least, not on Xenial18:31
ahasenackdo you have a cosmic image already?18:31
ahasenackyou need to give it the name of an image18:32
tewardahasenack: ah, well, there's no Cosmic images for me to pull18:32
ahasenackit will boot it, make modifications, and give you a new one18:32
tewardi already tried18:32
tewardso18:32
ahasenacklxc image copy ubuntu-daily:cosmic local:18:32
ahasenacktry that18:32
teward*now* it works18:32
tewardwhen was taht turned on?18:32
tewardit didn't work last week o.O18:32
ahasenackyesterday I think18:32
ahasenackor fri18:32
ahasenackcorrect18:33
tewardah that explains it18:33
teward*waits for the image to copy down*18:33
teward(autopkgtests annoy me a little but meh)18:34
tewardhmm i think my system derped, gonna reboot18:38
tewardahasenack: any idea how long it takes for autopkgtests to build the LXD?  Seems to be taking a while, even though I already copied down the image :/18:54
tewardand as soon as I say that it completed :/18:55
teward*kicks self*18:55
Bluekingwhat memory stick tool you use to format for dos boot to do bios upgrade ?18:56
sarnoldlast time I needed a dos boot disk I think I found a freedos image somewhere that worked19:00
Bluekinghmm,, what format tool ? :P19:01
sarnoldI just used dd to write the thing to a usb stick19:02
sarnoldif you actually have to *format* something, maybe the mtools package can help19:02
sarnoldI hope we still package it, any way ;)19:02
ahasenackteward: I reproduced the failure locally: https://pastebin.ubuntu.com/p/BZDCmwgcX4/19:06
tewardahasenack: it looks like it's a uwsgi failure19:06
tewardnot an nginx one19:06
ahasenackis libapache2-uwsgi involved?19:07
tewardit shouldn't be19:07
* ahasenack checks19:07
tewardahasenack: can you pull `systemctl -l status uwsgi`?19:07
ahasenackright, not installed19:07
ahasenackteward: https://pastebin.ubuntu.com/p/D3fk24tVwJ/19:07
ahasenacksuper helpful19:07
tewardahasenack: no, but that points at the issue not being an NGINX related issue19:08
tewardand probably a package-level issue19:08
tewardwhat's odd is it only fails on three archs19:08
tewardahasenack: it's interesting to note, too, that searx's autopkgtest has been failing for a while19:09
tewardthis is the first time it's on my radar though, the last time it worked was prior to may 5th19:09
ahasenackI have no idea how these things work19:11
ahasenackteward: I get a core dump, actually19:16
ahasenackERROR: apport (pid 10684) Tue May 22 16:16:15 2018: apport: report /var/crash/_usr_bin_uwsgi-core.0.crash already exists and unseen, doing nothing to avoid disk usage DoS19:16
tewardinteresting.19:18
tewardahasenack: maybe this needs to be opened as a critical level bug against searx19:18
ahasenacksearx or uwsgi?19:19
tewardsince the searx tests have failed for everything since may 5th19:19
tewardahasenack: searx19:19
tewardunless uwsgi's autopkgtests also fail19:19
tewardthough i don't see any19:20
tewardahasenack: nginx wouldn't have any effect on uwsgi19:20
ahasenackwell, what crashed was uwsgi19:20
ahasenackI'm checking with debug packages to see if the backtrace shows another library19:20
tewardack19:20
tewardahasenack: if we can rule out nginx as the cause, then I can rest easy, but I'll have to ask the release team to force ignore those tests for this run19:20
ahasenackhm, no debug packages for searx19:21
tewardahasenack: are there any for uwsgi?19:21
ahasenackyes, I installed them, but the backtrace is still invisible in the critical area19:21
ahasenacklet me paste19:21
tewardhmm19:21
ahasenackteward: https://pastebin.ubuntu.com/p/8DYQSxg93t/19:21
tewardahasenack: it sounds to me then like this is a searx bug19:23
tewardlet me check something19:23
tewardi have an example uwsgi somewhere, and a container that i can test with heh19:23
tewardahasenack: if this simple 'hello world' uwsgi app works, then we can blame the searx package19:24
tewardif it fails as well, then we can blame uwsgi19:24
tewardeither way, nginx is not an issue19:24
ahasenackteward: still, that was never enough of an excuse to not chase dep8 failures :)19:25
ahasenackit's all part of making ubuntu better :)19:26
tewardindeed19:26
tewardahasenack: happen to have the old commands for adt to run autopkgtests in LXD?  Or should I get a Bionic environment sooner than later :P19:28
ahasenacktry adt<tab><tab>19:28
ahasenackI think the arguments did not change19:28
tewarddumps me this: https://paste.ubuntu.com/p/64TkTfWDC8/19:29
tewardso adt isn't an app, but there's adt-sub apps so IDK19:29
ahasenackI'm almost thinking it's a permission problem19:32
ahasenackteward: right, so first adt-build-lxd19:32
tewardahasenack: i did19:32
tewardit completed19:32
ahasenackI think it's just adt-build-lxd <your-cosmic-image>19:32
ahasenackthen do lxc image list, see if you have an autopkgtest specific image now19:32
tewardadt/ubuntu/cosmic/amd64 is there, yes19:33
ahasenackcool19:33
ahasenacknow we want adt-run19:33
ahasenackI use:19:33
ahasenack-U -s -o ../dep8-output --apt-pocket=proposed source-package-name -- lxd adt/ubuntu/cosmic/amd6419:34
ahasenacktry that19:34
ahasenack-U: upgrade19:34
ahasenack-s: stops on fail19:34
ahasenack-o: output report19:34
ahasenack--apt-pocket: tell it to use proposed, like ubuntu does19:34
ahasenack-- lxd: virt type19:34
ahasenackand the last is the lxd image to use19:34
genii<cough pastebin cough>19:34
ahasenackI was typing, not copying and pasting :)19:34
ahasenackloophole!19:35
* genii eye-rolls19:35
sarnoldhaha19:35
tewardahasenack: worked with adt-run -U -s -u somefilepath --apt-pocket=proposed source-pkg-name --- lxd adt/ubuntu/cosmic/amd6419:37
tewardtriple dash o.O19:37
ahasenackoh, right19:37
ahasenackwhy not19:37
ahasenack"-u somefilepath" seems wrong, -u is for user19:38
tewardtypo19:38
teward-o19:38
ahasenackunless that changed between adt and what we have now19:38
ahasenackok19:38
tewardahasenack: confirmed it's not an uwsgi segfault, a simple uwsgi app works19:41
tewardso the issue is searx19:41
tewardahasenack: it looks like this was synced in from Debian directly19:49
tewardwhat would you suggest for filing the bug against this?19:49
ahasenackdid your test finish?19:50
ahasenackthe adt one19:50
ahasenackI'm trying to start it manually in a terminal, to see when it segfaults, but am having a hard time with that19:50
tewardactually looks like LXD exploded19:50
tewardhang on19:50
ahasenackit's not a simple initscript19:51
ahasenacktraced it to this19:51
ahasenackMay 22 16:44:30 autopkgtest uwsgi[6741]: + start-stop-daemon --start --quiet --pidfile /run/uwsgi/app/searx/pid --exec /usr/bin/uwsgi -- --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/searx.ini --daemonize /var/log/uwsgi/app/searx.log19:51
ahasenackbut that incurs in other errors19:51
tewardahasenack: running local test now, lxd decided to fubar initially19:57
ahasenackok19:58
tewardalso troubleshooting some major chaos with a VPN tunnel at work so, split-attention19:58
* ahasenack fetches a snack19:59
tewardahasenack: i think we have to contact the Debian people on that20:05
tewardbecause why they do taht in the test20:05
tewardinstead of install uwsgi, drop it in the app area, and then call the uwsgi command which runs this as a daemon, (not sure if it can?) it is failing on that command20:06
tewardwhich is unique to the test20:06
tewardlet me poke this a bit more20:09
tewardahhhhh interesting20:10
ahasenackback20:19
tewardahasenack: hmm i found something interesting20:37
tewardi need to do some debugging thoguh20:37
tewardahasenack: i think i found the breakage20:38
ahasenacksounds good20:38
ahasenackdo tell20:38
tewardpossibly.20:38
tewardahasenack: the problem is I can't find the explicit init.d to call20:39
tewardbut when I try and run uwsgi directly things're not being placed in there proper20:39
tewardso it might not be the proper 'test'20:39
tewardis there a way to see the CLI call made to execute uwsgi by systemd or start-stop-daemon?20:40
ahasenackI tried20:40
ahasenackclosest I got was to insert a "set -x" in /etc/init.d/uwsgi just before the do_* call for start20:40
ahasenackand then follow in /var/log/syslog20:40
ahasenackI got to the start-stop-daemon line I pasted above, at 19:51:15 utc20:41
ahasenackbut that line in itself didn't segfault20:41
tewardhmm20:42
tewardahhh i think i know what's going on...20:43
ahasenacksounds even better20:43
tewardahasenack: i manually tried the same command to start uwsgi20:45
tewardand found this in syslog: May 22 20:44:35 adt-virt-lxd-dxnxve systemd[1]: uwsgi.service: Failed to reset devices.list: Operation not permitted20:45
ahasenackI see that all the time in lxds20:45
tewardand when it tries to start apport crash handler it fails too20:45
tewardahasenack: the problem is, that's the only 'error' i can see20:45
tewardit doesn't actually start the process20:45
tewardnow, when I call the start-stop-daemon line directly?20:45
tewardit errors with missing file/folder in the python app20:45
tewardahasenack: can we call the package broken and blacklist it?20:46
tewardi don't think there's any rdeps20:46
tewardand this is a 'new' package20:46
tewardnew as of Bionic20:46
ahasenackteward: I get this in a vm: https://pastebin.ubuntu.com/p/r7D9thcbwK/20:46
tewardahasenack: i got that too20:46
tewardcheck /var/log/uwsgi/app/searx.log20:46
tewardwhat do yo usee?20:46
ahasenackI have no clue how uwsgi is supposed to work20:46
tewardahasenack: neither do I, but if any of the python underneath fails to launch uwsgi itself explodes20:47
tewardand that could trigger a segfault with a core dump20:47
ahasenackteward: I get this: https://pastebin.ubuntu.com/p/P34n2BVckK/20:47
ahasenackbut note this is running as root, a normal user cannot create that log file20:47
ahasenackI was thinking that had something to do with it20:47
tewardit could20:48
ahasenackwhatever happened, those vars didn't get expanded looks like20:48
tewardyeah it didn't20:48
tewardwhich it wouldn't from a shell20:48
ahasenackI have /run/uwsgi/app/searx/ but it's empty20:48
tewardwell from a shell it drops you into it might not20:49
ahasenackdeb-confnamespace comes from /usr/share/uwsgi/conf/default.ini20:49
tewardand that's not being expanded, it seems, by uwsgi properly.20:50
tewardaha20:54
tewardahasenack: ran the uwsgi command that should start uwsgi properly20:54
tewardgetting a permission denied on a bind20:54
tewardunderneath gdb20:55
ahasenackteward: it seems to be failing in debian too: https://ci.debian.net/packages/s/searx/20:55
tewardahasenack: should we raise a 'critical' or equivalent bug in Debian?20:55
tewardbecause it's not fit to exist20:55
tewardif autopkgtests are dying20:55
tewardand it's going to block other things here in Ubuntu from migrating from proposed20:55
tewardnginx included20:55
ahasenackI think a bug is ok. debian doesn't yet gate on dep8 tests like we do20:55
tewardahasenack: bug on it here?20:55
teward(Ubuntu)20:56
ahasenackI'd suggest a bug over there, and you can use that bug to ask an AA to let it pass for now20:56
ahasenacka bug here too also works, having both linked20:56
tewardahasenack: so, serious-level bug on Debian about autopkgtest failures which suggest the application doesn't work?20:58
teward'cause that's where i'm at now20:58
ahasenackI don't know enough to say if the app doesn't work or not, but a segfault is bad20:59
ahasenackbut I didn't check debian to see if it segfaults there too20:59
tewardahasenack: i'm inclined to open it here in Ubuntu and say it segfaults horribly20:59
ahasenackthe fact that the test fails in the same place is suggestive, though20:59
tewardand the autopkgtests make it fail horrible.20:59
ahasenackok20:59
ahasenackdo you have the crash file too?20:59
ahasenackin /var/crash?20:59
tewardahasenack: no but I have gdb trace when you have the application run under uwsgi directly21:00
tewardso see if this works for you...21:00
ahasenackhow did you run it?21:01
tewardgdp --args "uwsgi -s 4000 --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/searx.ini"21:01
tewardgdb*21:01
tewardwhich has uwsgi directly run the application as configured on port 400021:01
tewardthat gave a permission denied in gdb21:02
tewardafter dropping root privs to uid/gid 3321:02
ahasenackI start that as root and it exits after failing to write to that /run directory21:02
tewardlet me replicate again21:03
yee__dose anyone have a solution how to fix this problem? https://askubuntu.com/questions/1002933/vmware-dhcp-no-internet-access, same problem in here as well https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/162432021:04
ubottuLaunchpad bug 1624320 in systemd (Ubuntu) "systemd-resolved appends 127.0.0.53 to resolv.conf alongside existing entries" [Low,Confirmed]21:05
tewardahasenack: i'm getting the 'no such file or directory' error myself... except when I set the env vars manually21:05
tewardso...21:05
ahasenackwhich vars?21:05
tewardUWSGI_DEB_CONFNAME and UWSGI_DEB_CONFNAMESPACE21:06
tewardUWSGI_DEB_CONFNAME='searx', UWSGI_DEB_CONFNAMESPACE='app'21:06
tewardwhich uwsgi conf says it uses to populate the 'fake' options21:06
ahasenackthat's all way over my head :)21:07
tewardthe workers all segv21:07
teward*but* if I run the same command under gdb...21:07
tewardoooh actually21:07
tewardi don't get any usable traceback this time21:08
tewardahasenack: interesting to note though that i get all the segfault calls, and it constantly respawns21:08
ahasenacksystemd would do that, but if you started it directly, I don't know what would do it then21:08
tewardahasenack: if I start uwsgi directly, I replicate the segfaults21:09
tewardreplicating what systemd does to populate those vars21:09
tewardand it segfaults21:09
tewardi'm going to open a critical bug here that has to do with the segv21:09
tewardbecause both of us are getting crash dumps21:09
tewardyep i get a crash dump for uwsgi as well21:10
tewardin the autopkgtests area21:10
ahasenackcool, upload the crash dump too then21:11
=== miguel is now known as Guest60797
tewardahasenack: do you think using 'Critical' as the bug importance would be a bad thing?21:13
tewardthis autopkgtest breaks a lot of things...21:13
ahasenackprobably. I tend to reserve critical bugs sparingly21:14
tewardwell the package simply doesn't work21:14
ahasenacksomeone in #ubuntu-release can let it pass, but that's why having a bug is important, so when they add it to their script they can link to the bug21:14
tewardindeed21:14
ahasenackalso link to https://ci.debian.net/packages/s/searx/ saying it's failing there as well21:15
tewardahasenack: should I just upload the crash file direct or should I apport-collect the bug number?21:15
ahasenacktry apport-bug first21:15
ahasenackit might pick up the crash file21:15
Bluekingflashed bios... now I am missing interface em2   the other em1 are there21:17
tewardahasenack: nope, fails.21:17
ahasenackfails because no network?21:17
tewardapport-bug says no pending crash reports21:18
Bluekingshouldn't interface be visible with ifconfig -a ?21:18
ahasenackBlueking: probably, try also "ip -l" to be sure21:18
tewardahasenack: unless you know how I can put this crash right into the proper package21:18
tewardbecause it's crashing uwsgi not searx so it'd pick up as an uwsgi bug21:18
Bluekinganother thing.. when I look into bios  bios tells me I can have 1,2,3 all cores enabled, I've set 'all'  but only 2 cores visible in ubuntu ?21:19
ahasenackteward: try https://pastebin.ubuntu.com/p/BQNwmkdC8y/21:19
Bluekingip -l21:19
ahasenackit's fine if it picks it up as a uwsgi bug, that can be changed21:19
tewardmmkay.  though i already filed the searx bug21:19
ahasenackthen just attach the crash file21:19
ahasenackBlueking: you checked by looking in /proc/cpuinfo or what?21:20
Bluekingahasenack yes21:20
tewardaaand now I can't close out of this :/21:20
Bluekingmunin reports 2 core too21:20
ahasenackBlueking: counted "processor" lines?21:21
Bluekingprocessor 0 processor 121:21
BluekingIntel(R) Xeon(R) CPU E3-1230L v3 @ 1.80GHz21:22
ahasenackBlueking: check output of dmesg21:22
ahasenackthere are many messages related to cpus and cores21:22
ahasenacklook perhaps for "smpboot"21:23
ahasenackor "CPU"21:23
Bluekinghow I filter out cpu on dmesg ?21:25
ahasenacktype dmesg|less21:26
ahasenackthen use the "/" key and type CPU21:26
ahasenack"/" is to search21:26
ahasenackwhen done, use "q" to quit21:26
Bluekingdmesg | cpu21:26
ahasenack"dmesg | less" means send the output of dmesg to the input of less21:26
ahasenackno21:26
Bluekinglike this ?21:26
ahasenackdmesg | less21:26
ahasenackdmesg and less are different programs21:27
ahasenackwe are using | to connect them21:27
Bluekingshorewall spams..21:27
ahasenackthen you can use the arrow keys, page up/down keys, to navigate over the contents of dmesg21:27
ahasenackwhat's the first line you have?21:27
ahasenackit should be something like21:28
ahasenack[    0.000000] Linux version 4.15.0-22-generic (buildd@lgw01-amd64-013) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 (Ubuntu 4.15.0-22.24-generic 4.15.17)21:28
ahasenackteward: I gotta go21:31
ahasenacksee you tomorrow21:31
tewardahasenack: yep, no problem.21:32
Bluekingahasenack [    0.166957] x86: Booting SMP configuration:21:32
Blueking[    0.166962] .... node  #0, CPUs:      #121:32
Blueking[    0.182986] x86: Booted up 1 node, 2 CPUs21:32
tewardbugs're filed though you were pinged in another room21:32
teward!pastebin21:33
ubottuFor posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.21:33
ahasenackteward: I subscribed to them21:33
tewardBlueking: FYI, use a pastebin for multiline.  ahasenack is also having to leave right now.21:33
tewardahasenack: ack21:33
tewardi also poked -release21:33
tewardto see if they can handwave the failures for nginx21:33
Blueking:/21:33
ahasenackteward: someone can, might not even have to be an archive admin21:33
ahasenackI'm never sure about those permissions21:33
tewardahasenack: indeed, they'd [robably be in -release anyways21:33
tewardor point me where I need to go21:33
ahasenackyep21:33
tewardi know infinity and others have power :P21:34
tewardanyways, i'm off myself21:34
ahasenackcya21:34
naccBlueking: what is your question?21:35
Bluekingnacc  my mobo's bios tells me I have 4 core  where I can define how many core that can be used 1,2,3 or all21:35
BluekingI've defined 'all'21:36
Bluekingso why ubuntu only see 2 core ?21:36
naccBlueking: what motherboard and cpu is it?21:38
Bluekingnacc : [    0.162663] smpboot: CPU0: Intel(R) Xeon(R) CPU E3-1230L v3 @ 1.80GHz (fam: 06, model: 3c, stepping: 03)21:38
Bluekinghttps://www.supermicro.com/products/motherboard/Xeon/C220/X10SLM_-F.cfm21:39
naccBlueking: can you pastebin the output of `hwloc` ?21:40
Bluekinghwloc not installed21:40
naccBlueking: ok, install it :)21:40
Bluekingno connection to net right now :/21:41
Bluekingjust updated bios and some issue with one of interfaces21:41
Bluekingone got to do something after installing new bios ?21:44
Bluekingon ubuntu21:44
naccnot usually21:45
Bluekingnacc: in /dev I see i2c-0 i2c-1 i2c2... i2c-7     total eight.. are these about cores/threads ?21:53
naccBlueking: no21:54
naccBlueking: those are i2c devices https://en.wikipedia.org/wiki/I%C2%B2C21:54
Bluekingok21:54
jose-phillipshey any idea22:10
naccjose-phillips: about what?22:10
naccBlueking: it's relatively rare these days for Linux to not see all the resources on a system22:11
jose-phillipsi have this sceneario22:11
jose-phillipsim trying to setup a network where22:11
jose-phillipsinterface eno1 and eno2 are iscsi multipath22:11
jose-phillipsand i need create a bonding to reach nfs of both interfaces22:12
jose-phillipsif i leaave the ip configured on eno1 the bonding driver kill automatically the network on eno 122:12
jose-phillipsor at least i need one vlan interface that can choose use one interface or anther one22:13
jose-phillipsusing ububtu 18.0422:13
jose-phillipsubuntu server22:13
jose-phillipscomplicated eh..22:20
nacc"interface eno1 and eno2 are iscsi multipath" seems incorrect to me22:21
nacciscsi is for disk storage22:21
jose-phillipsi know22:21
jose-phillipsthe server is 100% diskless22:21
sarnoldiirc you'd use corosync or pacemaker to do your interface failover22:21
jose-phillipsso they depend to keep alive eno1 and eno222:23
jose-phillipsor at least eno1 or eno222:23
jose-phillipsnow i need to set a extra interface that can manage anther subnet for nfs and should be active-backup22:23
jose-phillipsin case the target can't be reached for example eno122:23
jose-phillipsuse eno222:24
jose-phillipswith the same ip address22:24
jose-phillipsbonding not work because when i do bond on the interface kill the interfaces that is using22:24
jose-phillipsoto take it in the bond0 interface22:24
Bluekingnacc ubuntu server back online22:36
naccBlueking: cool22:37
Bluekinghmm hwloc does what ?22:38
naccBlueking: prints detailed info about the hardware topology22:39
Bluekinginstalled hwloc   tries it  says no command ?22:40
naccBlueking: sorry, try `lstopo`22:40
Bluekingno cpu info there22:41
Bluekingnacc http://paste.ubuntu.com/p/s9GXrnVwth/22:42
Bluekingnacc http://paste.ubuntu.com/p/vSw2gghjr6/22:43
Bluekingnacc http://paste.ubuntu.com/p/dTgxRCp5k3/22:44
sarnoldxnox: hey any chance you still have access to the Better ARK? Blueking here's got a processor that shows up as 4c8t on ARK, but linux only ever sees two cores22:47
Bluekingsarnold: supermicro mobo's bios I can define how many core to be active  1,2,3, all  this implies 4 core ?22:48
sarnoldBlueking: what happens if you fiddle with that setting? :)22:49
sarnoldset it to 1, boot, see what happens, set it to two, tec..22:49
Bluekingtried set to 3 core no changes22:49
BluekingI can test 1 core22:49
Blueking1 active core (bios)  ubuntu still replied 2 core23:00
Bluekingany idea nacc sarnold ?23:04
sarnoldno :(23:04
Bluekingnever seen more than 2 core on this xeon cpu...   could it be early versions of this cpu came out with only 2 core ?23:07
JanCBlueking: I looked into that yesterday, and this model is always 4-core as far as I could tell23:29
JanCthere is a E3-1220 or something like that which only had 2 cores23:29
JanCmaybe your BIOS is hacked and it hides 2 cores used by some bitcoin farm  ;-)23:31
sarnoldI did vaguely consider it might be counterfeit cpu .. but does anyone do that any more?23:32
JanCI'm pretty sure these CPUs are too expensive to design a clone of for that to be lucrative23:36
JanC(or even something close enough that it isn't obvious)23:37
JanCif anything, a batch that got the wrong fuses blown and identifies incorrectly seems more likely then23:38
sarnoldahhh yes that's far more plausible23:42
JanCor just some bad firmware23:42
JanCI guess trying a firmware (UEFI) upgrade (if available) would be a good idea23:43
sarnoldJanC: heh I think that was yesterday's project23:44
BluekingI'll post a question to shop where I bought mobo and cpu23:44
JanCBlueking: are you using an Ubuntu kernel?23:45
JanCor something you compiled yourself?23:45
Bluekingubuntu kernel23:45
JanCI suddenly wonder if Intel disabled cores to fix meltdown/spectre issues?  :P23:47
sarnolddisabling HT was rumoured to help with something or other.. but cores? I think it'd take disabling all-but-one to make a difference23:49
Bluekingjust checked billing note from shop -> Intel Xeon Quad-Core E3-1230Lv3 1.8GHz 8MB, 25W, LGA115023:49
Bluekingbios says 1,2,3,all23:49
JanCsarnold: depending on how the cache is shared23:49
Bluekingcould it be bad connect between cpu and socket ?23:50
JanCI doubt it would work at all then23:50
JanCI wonder if you have accidentally set a kernel parameter or something23:51
BluekingI don't have experience to do so..23:51
sarnoldohho, what's /proc/cmdline look like?23:51
Bluekinghmm /proc/cmdline ?23:52
BluekingI might have to test with windows OS ..23:52
JanC?23:52
Bluekingsee if windows can access all 4 cores23:53
JanCis there anything unusual in /proc/cmdline ?23:53
Bluekinghttp://paste.ubuntu.com/p/PMr3bYJcGy/23:54
sarnoldthat's /proc not /proc/cmdline :)23:54
Bluekinghttp://paste.ubuntu.com/p/mh5T6PqVZP/23:55
JanChm23:55
BluekingI uploaded new intel microcode recently23:55
JanCI wonder why this has intel_pstate=disable23:58
sarnoldwell, it was a good theory. bummer.23:58
Bluekingsomething suspicious ?23:58
JanCnot suspicious23:58
Bluekingintel_pstate=disable ?23:59

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