[01:19] hey all, I'm trying to netboot an ubuntu-server iso over ipxe/uefi, but it hates me. Is the ubuntu-server image UEFI-compatible in Xenial? [04:01] law: yes [05:24] good afternoon, for some reason my ubuntu server does not want to boot [05:24] it says "gave up waiting for root device" [05:25] and goes to (initramfs) [05:29] https://pasteboard.co/H6bAYZY.png [06:29] good morning [06:31] masber: in the early env there is no lsblk yet [06:31] masber: try looking for /dev/ [06:31] masber: also dmesg might be interesting to see if anything failed while initializing the disk or controllers [07:34] Good morning [09:15] cpaelzer: hmm well all seems good with a fresh snapshot [09:15] \o/ [09:16] https://bileto.ubuntu.com/#/ticket/3124 [09:19] oO [09:19] nice [13:15] coreycb: I'm going to push staging->proposed now [13:16] jamespage: +1 [13:16] jamespage: i'm re-running nova dep8 tests. they passed for me locally. [13:16] coreycb: ok [14:45] cpaelzer: I wonder if you might know if there's an easy way to tell how much memory of a process cannot be evicted from the resident set? Eg. the heap, which would need to go to swap, vs. memory mapped libraries which can just be evicted. [14:45] I ask because the amount on a vanilla server install seems to have gone up, so I'd like to measure it. [14:50] rbasak: /proc/self/map ~ /proc/$PID/map ? [14:50] TJ-: I'm aware. I'm wondering if there's a tool that'll give me a number, instead of having to calculate it myself. [14:51] (and it's maps, not map) [14:51] rbasak: gotya, I saw some perf tooling a while ago but can't recall where or what exactly [14:53] ahhh, "mem_usage" [14:57] Mine notes I sourced it from https://elinux.org/images/d/d3/Mem_usage [14:59] rbasak: look at the tool smem [15:00] it has no good huge page support yet, but other than that is great === _ruben_ is now known as _ruben [15:02] cpaelzer: thanks! I'm trying it, but I think it's still counting memory that could be swapped out though? [15:02] Uh [15:03] it counts it "as it is" [15:03] so it can be mapped, swapped or both [15:03] if it is swapped, but not discarded [15:03] What I want is the total memory per process that _has_ to be swapped out when under pressure. [15:03] Rather than how it is now. [15:03] _has_ -> could ? [15:04] Not exactly [15:04] Say I have no swap [15:04] define "has to be" please [15:04] I'm under memory pressure. [15:04] ok [15:04] What are the processes that I'm not using but are resident that are getting in the way? [15:05] the ones with the biggest USS in this output [15:05] In that situation, the kernel could evict everything that has a backing file. [15:05] smem -tk -c "pid user command swap vss uss pss rss” [15:05] there is another cmdline for the mapping view [15:05] USS will include what is in memory but could be evicted, no? [15:05] The figure will be inflated. [15:06] hmm - I see, you want to know the minimal set that has to stay - is it that? [15:06] Right [15:06] Without putting the system under pressure, since that feels like it could introduce noise in my results depending on how I do it, what else is happening, etc. [15:07] rbasak: but they are "just" userspace [15:07] I don't follow [15:07] rbasak: essentially all but maybe the mlocked pages "could" be swapped - in your non-swap case that can't be done [15:07] so you look for "shrinkable" memory [15:07] that the processes will not hold [15:08] the smem output of above is what the program has on it's own allocated [15:08] it is NOT what e.g it has in page cache (discardable) due to reading a file [15:08] I thought USS would include, say, an mmapped ro file that's read only of which some is resident but that's the only process that has it mapped. [15:09] you mean because it can be discarded and brought back [15:09] hmm [15:09] Right [15:09] yeah you are right [15:09] it is overaccounting for your check [15:10] rbasak: but [15:10] rbasak: see the second command above [15:10] to get closer to what you want you should be able to remove all that is mapped on files there [15:11] so your mmapped ro file would show up there and have an USS matching its file [15:12] rbasak: I don't know how to check (in this simplified view) what is dirty/cow and can therefore not be discarded [15:14] rbasak: do you need that for a single process? [15:14] I'd like a per-process amount [15:14] rbasak: so process X - how much of its open file #2 is in memory? [15:14] so a system wide overview still [15:14] I'd like a per-process _total_ amount [15:14] Right. [15:14] hmm, no then I don't know a tool yet [15:14] I want to identify the "bad" processes, and how bad they are. [15:14] proc smaps parsing [15:15] maybe a small extension to smem [15:15] it is python after all, so you might be close [15:15] OK, thanks [15:15] I once had a hugepage extension [15:15] not too bad (but a bit outdated) [15:15] * rbasak wonders if it's worth it [15:15] fyi the reverse I asked for is "man mincore" [15:15] There are two candidates I've less subjectively identified [15:15] less objectively [15:16] iscsid and snapd [15:18] hi can anyone please help me out. I have two machines on my local network that can't ping each other. they can ping other devices, other devices can ping them - but they can't ping each other! [15:18] it's driving me bonkers if anyone can please help [15:20] simulant_: I would narrow down the problem by seeing what is leaving and what is arriving where, using tcpdump. Sorry I don't have the time to go through the details with you. [16:39] cpaelzer: was the llast comment in LP: #1733572 a private ping? [16:39] Launchpad bug 1733572 in kopanocore (Ubuntu) "php-mapi conflicts with other version" [Undecided,Triaged] https://launchpad.net/bugs/1733572 [16:42] i have the 'fix' for that issue in particular in the MP (wich you can review). I have a feeling we are being bit by an openssl issue, but not sure yet. [16:43] nacc: It was making clear that you are already on it [16:43] and for the review last week it was WIP - you say it is open for review now? [16:46] cpaelzer: no, it's still not [16:46] i haven't figured out teh segv yet [16:46] ok waiting for your ping still then [16:47] no urge by me, just needed to check if still in the state I knew [16:47] *but* it passes onn debian [16:47] and historically this has been due to some ssl issue, when the same segfault is seen [16:48] they are also only testing 7.0 and 7.1 :) === dames is now known as thedac [18:08] hello, is there a deployment generator for ubuntu server? such like opengnsys or the old rembo [18:08] or any image-restore via network [18:11] cloud-init, maas, fai-server are all popular and serve slightly different purposes [18:27] thank you sarnold [19:42] jamespage: networking-bagpipe/bgpvpn were a pita for b3 as they both reverse-depend on each other and won't pass tests without b3 of each other [19:42] jamespage: and i see they're ftbfs in proposed now [19:48] jamespage: if we can upload 8.0.0~b3-0ubuntu1 of both packages to queens-proposed, they have tests disabled. then we can promote the current version to queens-proposed. [21:14] I need to call a script at network change.. running it on my laptop which is sometimes on wifi at home and sometimes on ethernet at work.. where is the right place to put the script, so it gets called at network change? I am on 16.04 lts [21:20] axisys: Use /etc/network/interfaces and have "up" directives. You can have multiple location-based configs for each interface. [21:21] mason: for laptop that file is mostly empty [21:21] axisys: It can be as empty or as full as you make it. [21:21] It's how I do it for my laptop. Works well. [21:21] mason: yep, use it for server.. [21:22] If you're looking for a way to do this with Network-Manager, then 1) don't do that, and 2) there's no way to do that. [21:26] axisys: investigate ip monitor or rtmon [21:27] sarnold: thanks a lot! [21:27] axisys: don't thank me just yet. :) you might not like these solutions much, hehe [21:31] nacc: I think this run will get us self-test: https://jenkins.ubuntu.com/server/job/git-ubuntu-ci-redux/4/console [21:32] powersj: will watch [21:33] powersj: i'm also wondering if we can possibly leverage https://forum.snapcraft.io/t/snapcraft-clean-doesnt-clean-with-snapcraft-container-builds-set/2291 [21:33] powersj: (well the popey-mentioned commands int hat bug report) [21:34] to reuse the containers for building in CI [21:34] that would speed it up significantly, sinnce our deps don't geerally change (only our code itself) [21:34] that would be really nice [21:35] powersj: https://insights.ubuntu.com/2017/11/22/announcing-snapcraft-2-35/ [21:35] i will see how that works if the underlying build target keeps changing [21:38] sarnold: rtmon looks interesting, but the dinosaur in me wants to manually control which network I'm on [21:39] mason: heh, yeah, I never really "got the hang" of network manager .. [21:40] sarnold: I remember a long while back asking how to tie scripts to network-up events, and the NM guys told me it wasn't possible. So I kept using ifupdown. [21:40] I still don't think it's possible, despite it being an obvious thing to want to do. [21:40] mason: it seems like such a basic thing :( [21:41] Hrm, this says NM just drives ifupdown: https://askubuntu.com/questions/258580/how-to-run-a-script-depending-on-internet-connection [21:42] But I don't think that's true nowadays. [21:51] powersj: ok, yeah, it seems that will do what we want [21:51] powersj: i should test it a bit locally [21:51] nacc: any issues if we are running multiple CI jobs at a time? [21:51] powersj: ah probably :) [21:51] let me ask [22:01] powersj: see #snappy? [22:01] I'm not in that channel [22:02] powersj: ah ok [22:02] basically, the container used is dtermined by the directory it's called from (and the snap's name) [22:03] i'm trying to think of the matrix of decisions we want to make here [22:05] nacc: doh failed: 'bash -l -c git-ubuntu -h' [22:07] not sure why that failed, I thought it exits 0. Anyway I'll rerun without the call to -h and just skip to self-test [22:08] powersj: hrm, that exited 1 here .. not sure why either [22:11] xnox: is there a way with gpg2 to find out where private keys are stored (filename)? it used to be you could pass --secret-keyring, but that's ignored now and keys are put in private-keys-v1.d/ ... asking because php-horde-crypt calls gpg with --secret-keyring still and assumes it is honored [22:17] nacc, that will not work, no. one is supposed to use gnupg-agent; non-agent access to private keys is no longer supported. [22:18] xnox: ok, so the test as-written just doesn't make sense [22:18] nacc, you can and should use GNUPGHOME, then you can control which toplevel dir will be used. [22:18] xnox: yep, they do [22:18] i guess i could just look for the one key created in there :) [22:19] xnox: thanks [22:41] nacc: https://paste.ubuntu.com/26527006/ [22:43] powersj: sigh ok [22:43] powersj: will pivot back to that in a bit [22:44] ok, you can basically re-run that last build to re-test [22:44] I added the failure stop to, so it won't run the integration tests next time [23:42] powersj: https://paste.ubuntu.com/26527216/ [23:42] powersj: you're building on xenial, right? [23:43] nacc: correct [23:43] powersj: with updates enabled? [23:43] i'm not sure why you're versioning is different, which also ssems a bit odd [23:43] powersj: do you have the log from the buildl? [23:44] all I have is the jenkins log https://jenkins.ubuntu.com/server/job/git-ubuntu-ci-redux/4/console [23:44] woops 5 was the failure of self-test: https://jenkins.ubuntu.com/server/job/git-ubuntu-ci-redux/5/consoleText [23:45] powersj: ack, reading