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

michael2hi all. does anyone know how to get a load average with  `sar' command?03:26
xtuhHello, need some assistance with mdadm / fstab . i have 18.04 server, sda for system, sdb and scd as raid0 md0 device. the first problem is after reboot md0 became md127, is it ok? or i need start over?03:36
sarnoldmichael2: no, but here's some reading that you may enjoy http://www.brendangregg.com/Articles/Netflix_Linux_Perf_Analysis_60s.pdf http://www.brendangregg.com/USEmethod/use-linux.html04:14
neilduganI have setup a server using the 'ubuntu-server' meta package... I am trying to get netplan to create a bridge with a static IP... the method used in every doc. I have found doesn't seem to work... can anyone help here.  The "addresses: [10.20.0.1/16]" doesn't seem to do anything06:16
=== lifeless_ is now known as lifeless
=== zul_ is now known as zul
=== miguel is now known as Guest62304
rbasakcpaelzer: did you get an error running "git ubuntu merge start" on your ntp merge?10:20
rbasaknacc: looks like dpkg-parsechangelog eliminates duplicates, but debian.changelog.Changelog does not. The assertion check caught this for ntp. I have a minimal test case. Additionally I found that the assertion check has an edge case bug when trying to prepare a test case.12:10
rbasakSo I now have two bugs: one where the assertion check fails to assert, and the underlying issue when it does assert due to a duplicate.12:11
rbasakThis is a bit mind bending so I thought I'd share. I'm wondering how to proceed.12:11
rbasakUse case: git ubuntu merge start fails on ntp because of a historical changelog error12:11
rbasakIn that case it doesn't really matter that the two implementations mismatch12:11
rbasakHowever this kind of difference is why we wrote the assertion check in the first place12:12
rbasakDoes this difference affect our algorithm?12:12
m27Question: is fail2ban supposed to work out of the box? (without any configuration)12:40
cyphermoxneildugan: have you looked at https://netplan.io/examples#bridging ?13:16
cyphermoxneildugan: otherwise you should paste your entire netplan config so we can look at it13:17
Ussato/ morning13:45
UssatI am REALLY starting to like netplan :)13:46
blackflowIt's awesome, isn't it!13:52
Ussatyes13:53
Ussatjust took some getting used to13:54
LambdaComplexhi #ubuntu-server. i have another fun problem. i just tried resizing my ubuntu's / partition (ext4) using centos 7, but resize2fs failed because the filesystem apparently has "unsupported feature(s)"13:58
LambdaComplexany ideas of which feature(s) could/would be causing this problem?13:58
LambdaComplex(not sure if i should be asking here or a centos channel tbh...but i assume this place will know more about what features ubuntu uses for ext4 by default)13:58
sdezielLambdaComplex: that's a known thing, let me find the bug14:00
LambdaComplexsdeziel: i found something on the centos mailing list but it devolved into bikeshedding over updating for reboots14:01
LambdaComplexand i don't think a conclusion was ever reached wrt the original topic14:01
sdezielLambdaComplex: https://lists.ubuntu.com/archives/ubuntu-server/2018-March/007671.html14:02
sdezielext4 feature 'metadata_csum'14:03
Ussatgpartd14:03
sdezielLambdaComplex: that said, I always resize the root FS live14:04
LambdaComplexsdeziel: lol, you said that right as my coworker messaged me something about metadata_csum14:04
LambdaComplexso i'd say that's definitely the thing14:04
sdezielLambdaComplex: so if the partition boundary is moved already (CentOS was probably able to do that part), I'd boot on 18.04 then run "resize2fs /dev/fooX"14:05
sdeziellive resize never failed me14:05
sandstromI'm upgrading from 16.04 to 18.04 and wrestling with systemd-resolved. I need to forward requests under one FQDN to a local DNS server, all other requests should go to the DNS acquired via DHCP. I had this working with dnsmasq previously, but doesn't work after upgrading. Is DNS forwarding per FQDN/domain possible with systemd-resolved? Or do I need to disable it and use dnsmasq only?14:22
sandstromIf I do disable it, how can I ensure that dnsmasq is setup with the DHCP-acquired dns-server (which I assume may change from time to time)?14:23
sdezielsandstrom: systemd-resolved supports per domain forwarders14:25
sdezieldunno how to configure it that way though14:25
sandstrom@sdeziel sounds awesome :)14:25
sandstrom@sdeziel I've looked through the docs, haven't found anything14:26
sandstrom@sdeziel there is support for search domains, but that is something else14:28
sdezielsandstrom: hmm, maybe I was wrong. systemd-resolved supports per-link resolvers/forwarders14:31
sdezielsandstrom: not sure anymore about the per domain14:31
sandstrom@sdeziel Yeah, I didn't find anything in `man resolved.conf` at least14:32
sandstrom@sdeziel guess I'll just have to bypass systemd-resolved entirely14:32
sdezielsandstrom: have you tried a systemd specific channel?14:33
sandstrom@sdeziel know of any?14:34
sandstromI'll try in #systemd14:34
sdezielsandstrom: that's where I'd go ;)14:35
LambdaComplexcyphermox: my coworker wants to know how he can make netplan "put up a bridge containing only a vlan interface with no addresses assigned?"14:35
UssatWAT ?15:35
cyphermoxLambdaComplex: right not, you can't, unless you add another .network file setting ConfigureWithoutCarrier=yes15:47
cyphermoxI'm fixing that very very soon, working on a new release right now15:48
sdezielcyphermox: that's good to hear cause I was also missing that feature15:51
cpaelzerrbasak: I hit all sort of errors during merges15:59
cpaelzerrbasak: none that I'd not have reported already in one or another form15:59
cpaelzerrbasak: not sure if the one I hit on ntp was on merge start or later15:59
cpaelzerrbasak: I quite often have to do the rebase again, which seems due to old merge tags being around16:00
cpaelzerI haven't proven yet what the source is e.g. how to trigger16:00
cpaelzerbut in those cases I do the rebase myself, and have to take out ALL history until it starts at the right place16:00
cpaelzerso something at the parenting seems to be mixed up16:00
cpaelzerrbasak: mostly I hit the "error has to be clean" when creatin logical tags16:01
cpaelzerin those cases I create it myself16:01
naccrbasak: do you have a log?16:03
rbasaknacc: I can produce one but I'm confident I know exactly what's going on16:10
rbasaknacc: I intend to write it all up in a bug16:10
rbasakWith minimal reproducers etc16:10
rbasaknacc: minimal test case: http://paste.ubuntu.com/p/6D3VpsshrP/16:11
rbasaknacc: minimized reproducer: https://pastebin.ubuntu.com/p/XZsc8g2Frr/16:11
rbasaknacc: in the assertion, "zip" throws away the end of the longer input, so the minimal test case needs the fourth changelog entry to trip it up. I think that's a bug in the assertion code.16:12
rbasakI've come to the conclusion that it doesn't matter for the importer, but I'll double check.16:12
rbasakSince the changelog parent is defined as the first occurance that matches, the issue of a second match never comes up16:13
rbasakSo I think what I'll do is fix and relax the assertion16:13
rbasakIf the assertion dedupes both input lists before asserting, then the assertion will still pass and detect any other mismatch problems16:13
rbasakWhile explicitly accepting this particular class of mismatch16:14
rbasakTo be clear, that means I think there are two things that need fixing.16:16
rbasak1) Relaxation of the assertion to allow a duplicates-exist vs. deduped difference assuming that we all conclude that this is safe.16:16
rbasak2) Fixing of the assertion in the zip truncation case that causes the comparison to fail to assert with only the first three changelog entries in my example.16:17
naccrbasak: ack16:17
granjerohi, i got a question. Ubuntu server 18.04. I see /etc/network/interfaces is gone.  I'm reading about netplan. I got a file on /etc/netplan called 50-cloud-init-yaml. Is the only file in that directory. It has a comment that says that changes on that file will not be persistent. I want to fix a static ip address.18:58
granjeroDo i have to delete that file and create a new one with sudo netplan generate?18:58
sarnoldit's probably worth spending a few minutes skimming the website if this is your itnroduction to netplan https://netplan.io/18:59
granjerowill do sarnold19:00
granjerothnx19:00
Buoy172how do I check my ubuntu server version?19:00
geniicat /etc/issue19:01
geniisarnold: Added !netplan just now, for future reference19:16
sarnoldgenii: thanks19:16
geniinp19:16
naccrbasak: did have a thought about your test case19:25
naccrbasak: 1) I'm not sure that Ubuntu will let you do that, if those are all actually published, as 3 would be published with different contents19:26
naccrbasak: 2) if it is allowed we should see a reimport tag, and two distinct entries, but I think with my branch that should all work (when we see the second 3, we'd create a reimport tag)19:27
cyphermoxgranjero: you can modify that file, the mention that it's not persistent is essentially a lie.19:28
cyphermoxor you can delete and create a new one, but you shouldn't use 'netplan generate'; use 'sudo netplan apply' instead19:28
naccrbasak: meanwhile, did you figure out with kyrofa what is going on with 430?19:28
cyphermoxgenii: thanks!19:29
naccrbasak: also afaict, ntp's `git ubuntu merge start` failure has nothing to do with this code? rather confused19:32
naccI see a failed cherry-pick19:32
naccoh i know why this happened, I think19:34
naccafter the reimport, our merge logic might need adjusting19:34
UssatFYI I am VERY happy with netplan19:35
cyphermoxI'm not19:53
cyphermoxI'd be if I could fix these autopkgtests :)19:53
cyphermoxUssat: if your config is more than just dhcp or static addresses though I'd be very interested to have a look; see if we can make that a generic example19:54
granjerocyphermox, thanks. it's confusing thats says that changes to the file will not be persistent. =P will bakup that file and create a new one "config.yaml"20:05
granjeroexcuse my english20:05
granjeroit is a bit rusty20:06
cyphermoxgranjero: well, it's persistent unless the metadata changes, which depends on what kind of server it is20:06
granjeroalso confused about the indentation of the file.20:07
granjerois there a "tab" then 2 tabs an so on?20:07
dpb1don't use tabs20:08
dpb1spaces only20:10
granjerocyphermox, the name of my ethernet interface comes from the comand ip?20:19
granjeroip a?20:19
cyphermoxyes20:19
cyphermoxip link20:19
granjerogreat. thanks20:20
rbasaknacc: o/20:21
rbasaknacc: git ubuntu merge start --tags-only currently fails on ntp20:21
rbasaknacc: the root cause I believe is that dpkg-parsechangelog output mismatches the parsing of debian.changelog.whatever20:22
rbasaknacc: and that fails the assertion20:22
rbasakThe reason for the mismatch is that in the ntp changelog currently in Ubuntu, a changelog entry is duplicated20:22
rbasakLike it is in my test case20:22
rbasaknacc: I haven't checked but I suspect that there weren't actually two uploads or anything. It's a changelog transcription error from the uploader probably.20:24
rbasakOr else it's intentional and represents how the maintainer decided to make something in experimental appear linear, etc.20:25
granjerocyphermox, worked like a charm!20:35
granjerothank you very much20:35
granjerosarnold, thank u too20:35
trippeh_[   10.020680] mlx4_en: enp2s0: Link Up20:48
trippeh_[  499.936066] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)20:48
trippeh_well thats not good :p20:48
trippeh_that is / by the way20:48
naccrbasak: uh ... it works fine here20:50
naccrbasak: what version of the snap?20:50
naccrbasak: r430 is unusable, as you know, so i'm manually on r42920:50
naccrbasak: what changelog entry do you see being duplicated?20:50
naccrbasak: i'm fairly sure the code you're talking about is completely unused by merge20:51
naccrbasak: fresh clone, merge start --tag-only worked fine with r42920:57
naccnow the rest of `merge start` does not ... but that is what i was referring to earlier21:00
trippeh_hm. it is blocking in initramfs. could be entropy maybe21:00
Bluekinghello nacc21:03
naccBlueking: hey21:03
Bluekingsup ?21:03
naccBlueking: ... nothing? you pinged me :)21:04
Blueking:)21:04
Bluekinggot mine xeon E3 'server' fixed :)21:04
naccBlueking: nice!21:04
Bluekinghad to perform bios flash with ME disabled21:05
trippeh_strange, it is modprobe ext4 that is blocking??21:30
trippeh_and it unblocks the second I send it a alt+sysrq (with no sysrq command)21:31
sdezielhmm, isn't that always builtin on Ubuntu kernels?21:31
trippeh_sdeziel: yes. it IS strange ;)21:31
trippeh_now if I could figure out how to give it a alt-sysrq-l through this POS java thing21:32
trippeh_of course if it unblocks when I get to alt-sysrq that wont work ha21:33
trippeh_hitting the keyboard until crng inits does nothing, but alt-sysrq immidiately unblocks it.21:34
* trippeh_ confused21:35
trippeh_it is a Atom C3758, fwiw21:35
trippeh_and on cosmic (pretty sure I saw it on bionic too)21:36
naccrbasak: heh, it will work properly with our non-merge upload tags21:41
naccrbasak: but is pretty broken with our merge ones, and i need to think of how it ever worked21:42
trippeh_hm on a hunch I started blacklisting drivers during initramfs21:50
trippeh_blacklisting ixgbe seems to fix it21:50
trippeh_..but now it locked up on shutdown hrm ;)21:51
trippeh_ok I've pretty reliably moved the hangs from boot to shutdown. progress? :P22:10
sarnoldheh, now you just need a reliable way to yank the power ..22:12
trippeh_the bios is confused about the ixgbe now. there might be a pattern..22:15
geniisarnold: https://imgs.xkcd.com/comics/hard_reboot.png22:16
sarnoldgenii: hehehe :)22:17
naccrbasak: cpaelzer: ok i see why merge start failed23:06
naccpkg/upload/1%4.2.8p10+dfsg23:06
naccbah, pkg/upload/1%4.2.8p10+dfsg-5ubuntu223:06
naccdoes not have an appropriate import-tag as a parent23:06
naccit was based off a point where we had the devel branches separately being merged throughout the history23:07
naccthus, `merge start` doesn't see those commits (they are not in the ancestry list) and so the cherry-pick fails23:08
naccrbasak: that's the only bug i see with ntp currently23:08
naccrbasak: i *think* our new algorithm would reject this upload tag23:09

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