/srv/irclogs.ubuntu.com/2017/03/17/#ubuntu-server.txt

drabI get the million <300:24
drabit seems like if I disable predictable then the matching in udev is screwed up, don't have the time to debug why, but I can'tg et eth0 to become "lan"00:24
drabso if I make the names "predictable" again, and I will quote "predictable" to my death bed because it's the last thing those names are, the you can match with KERNEL="enp*"00:25
drabthat seems to avoid the bridge device which wuoldn't match and therefore it all works in the end00:25
drabmega workaround but worth a million. at some point that systemd bug will make it through and it'll "just work" [tm]00:26
OerHeksdrab, maybe this works, mask udev's rule file for the default policy: ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules >> https://www.shysecurity.com/post/20160510-Ubuntu%20Network%20Interfaces00:30
=== JanC is now known as Guest79577
=== JanC_ is now known as JanC
drabOerHeks: that post itself says that method doesn't :)00:39
drabanyway it's fixed per above00:39
drabI'm gonna go enjoy the million dollar :P00:39
drabcertainly hard earned00:40
OerHeksoh00:42
DirtyCajunDo we have a stable kernel release that works with AM4 ?02:07
DirtyCajunReading the release notes it looked like 4.10 was promising but i wanted some opinions02:07
sarnoldDirtyCajun: I suspect most folks just use xeons. You may have better luck in #ubuntu02:08
DirtyCajunThat is the pleb channel. i stay far away02:10
sarnoldhehe02:11
DirtyCajunXd02:11
patdk-lapI dunno why you don't ask in the kernel channel02:11
sarnoldI just figured it'd be more likely a gamer would know..02:11
DirtyCajunWat. its not for gaming02:11
DirtyCajunits a 16 thread proc. its for my plex 2u02:11
patdk-lapheh? not for gaming?02:11
sarnoldoh? I thought this was the new amd cpu; the only other person who's mentioned it on irc is a gamer..02:11
patdk-lapdunno what an AM4 even is02:11
patdk-lappeople use amd in servers?02:12
DirtyCajunabsolutely02:12
patdk-lapnever seen one, ever02:12
DirtyCajunwel.... i work at a datacenter02:12
DirtyCajunand it is in about 40% of our blades02:12
patdk-lapI have racks of servers, not a single amd02:13
sarnoldwell what do you know, an amd chip in a server ;) http://www.thinkmate.com/system/stx-nl-qe12-221002:13
patdk-lap:)02:13
patdk-lapthey are always horrible for my performance workload, due to the lack of ondie l2 cache that intel has02:13
DirtyCajunpatdk-lap, check out the specs of the Ryzen02:13
DirtyCajunand the upcoming server grade chips02:13
patdk-lapya, I'll wait for real benchmarks02:14
drabwhy is mdadm and preseeding such a pain to work with :(02:14
patdk-lapas the benchmarks so far, are not accurate02:14
DirtyCajunpassmark has 50+02:14
sarnoldin fairness it's insanely hard to do benchmarking well02:14
patdk-lapthe last benchmk I saw of amd new cpu line was, in this specific memory workload test, we beat the crap out of intel02:15
patdk-lapdue to having double the amount of memory channels02:15
patdk-lapya, anyone can make something beat the crap out of something else in one area, I want to know about normal workloads :)02:15
sarnoldgah02:17
sarnoldso, cpubenchmark.net numbers on it look pretty good but I was curious about other specs.. and was looking for an ARK link. sigh. :)02:17
patdk-lapI guess for a in memory database, that might be ok, if the ondie cache is acceptable to actually run the sql server02:17
patdk-laphehe02:18
patdk-lapI'll wait a year or two atleast02:18
drabhow si there not an option to nuke everything with preseed? just nuke, *everything*, don't try to mount raids and be smart02:19
patdk-lapintel has pretty much deadended their cpu lines though02:19
drabhave I missed it?02:19
drabI keep getting crap because some of the disks had raid stuff on it that apparently mdadm --zero-superblock hadn't cleaned and install fails02:19
draband it seems non-sense since I don't care what's on the disks, I just want the whole thing to be wiped and reinstalled02:19
sarnoldpatdk-lap: what I could find on the amd website is sorely thin on specs, but it does say for the eight core model, 2 channels of ddr4, 768kb of l1, 4mb l2, 16mb l3; 95W02:26
patdk-lapseems light02:26
patdk-lapman, have to go all the way down to a e5-2620v4 to find an 8core intel02:28
patdk-lap20mb cache02:28
patdk-lapnot as bad as it used to be02:29
sarnoldI've got a e5-2630v3, very similar specs; but four memory channels, 40 PCIe lanes (instead ofthe 24 that other news sites were reporting for the ryzen)02:29
patdk-lap4 memory channels02:29
sarnoldso says ark, hehe :)02:30
patdk-lapso says my m otherboard :)02:30
patdk-lapso it *might* be comparable02:30
patdk-laphave to see what pricing turns out to be02:31
sarnoldcpubenchmark said it'd be a bit cheaper than my cpu02:31
sarnoldif you had compute-bound tasks rather than memory bound tasks, the ryzen might be a good fit02:31
patdk-lapya, most workloads are memory issues02:32
patdk-lapexcept stuff like encoding video02:32
patdk-lapI don't know why that isn't memory bound, as I would think it should be :)02:32
sarnoldit's nice to know amd's in the game again02:33
patdk-lapintel did take themselves out of it02:33
patdk-lapbeen years since they made progress02:33
patdk-lapand now they basically admitted to giving up02:33
sarnoldthey haven't had any real need02:33
patdk-lapsure they have02:33
patdk-lapthey have almost let arm overrun them02:34
sarnoldback in early opteron days02:34
sarnoldbut it's been a decade02:34
patdk-lapintel is getting backed into a server cpu corner02:34
patdk-lapwith this, more and more amd systems for desktops, maybe laptops02:34
patdk-lapbut more and more laptops are going arm by being replaced with tablets and phones and stuff02:35
fishcookerhow to duplicate a server using the same configuration ?03:41
=== lordievader is now known as Guest76127
=== Guest76127 is now known as lordievader
ybaumyhi. what can cause something like the following. on vlan 1 iscsi connections work like a charm. on vlan 500 iscsi connections work like a charm. but on vlan 501 iscsi connection are really slow and its a lottery if they work at all07:55
ybaumythere are no dropped packets. no denies on the firewall07:56
ybaumyi dont find anything at all07:56
ybaumyjust that its incredible slow07:56
ybaumyall 3 vlans are using the same physical connection07:57
ybaumythe VM that runs vlan 501 has no memory or cpu problems07:58
ybaumythey all run 16.04 latest patches07:59
ybaumyi found the problem08:42
ybaumyfyi there was proxy arp enabled on the firewall for vlan 50108:43
ybaumyi found that in tcpdump there were no arp requests08:44
a8oKnow any tricks for saving shell history as you enter commands?  I keep getting connections lost/dropped and i loose my shell history unless i exit normall.11:42
hateballa8o: first hit on google is http://askubuntu.com/questions/67283/is-it-possible-to-make-writing-to-bash-history-immediate11:46
hateballif you keep dropping your connection you may want to consider using mosh11:47
a8ocool thanks.11:47
a8oI use mosh on some systems, but not all can have it.11:47
hateballa8o: true enough11:57
TafThorneTry using screen or tmux on the remote end.  Then your shell session will persist even if you loose ssh connection to the remote.12:01
a8onever heard of tmux.12:01
a8oi do use screen alot, but some terminal apps get all screwy when I use them in screen.  But I do use screen for stuff I need to run and watch now and then.12:02
TafThornetmux is very similar to screen.  Their use to be use case differences between then but now days I think both can do pretty much everything the other can do.  screen is often already installed on systems (just because it was around first I think).12:03
TafThorneAs long as you do not resize the terminal I usually find things behave OK inside screen.  I do not use tmux so I cannot vouch for it.12:04
a8oif anything it's fun to try something new.  Lately I've been using the fish shell.  Love that one12:05
jamespagecoreycb: hello15:22
jamespagecoreycb: https://launchpadlibrarian.net/311293238/buildlog_ubuntu-zesty-amd64.vmware-nsx_10.0.1~git20170317.bfa48c0-0ubuntu1~ubuntu17.04.1~ppa201703171404_BUILDING.txt.gz15:22
jamespagedoes that seem familiar to you - I can't get vmware-nsx to build in a PPA15:22
jamespagecoreycb: builds fine locally/on a cloud instance using sbuild15:22
coreycbjamespage, haven't seen that before.  i wonder if the tests do any db setup that is getting missed for some reason.15:24
coreycbjamespage, i see run_tests.sh has an option to recreate the database15:30
jamespagecoreycb: yeah not sure about that15:30
jamespagecoreycb: afaict nothing ever gets re-created on disk15:31
jamespagecreated rather15:31
jamespagecoreycb: I lied as well - it failed on my laptop15:31
coreycbjamespage, oh..15:31
drabanybody here using ansible by any change and has it working with a preseeded install against the in-target chroot?15:37
jamespagecoreycb: hmm15:59
jamespagecoreycb: I might have it identified15:59
jamespagecoreycb: why do we have a patch to make unit tests use an on-disk sqlite db?15:59
coreycbjamespage, is that in vmware-nsx?16:00
jamespagecoreycb: no in neutron16:00
jamespagecoreycb: disabling it to see if that helps16:00
coreycbjamespage, ok, not sure i'll take a look at it though16:01
stationcan ubuntu core be used on an intel pc with 4 Etherports as an gateway/rooter … firewall16:36
drabstation: I'm doing that16:49
drabactually just getting through the bonding part on a second machine to get a "4gbit" link16:49
draboh nm, you said core, assumed -server since this is -server, nm16:50
stationdrab: what did you use to set it up? is it a bad idea to alsow host like security cam directly on the rooter?16:53
stationim new to server ....16:54
drabstation: if by router you mean your internet modem, it's ok ime as long as you don't open it up and set up, say, port forwarding16:55
stationdrab: so i could set open sense / pfsense on one "roooter PC" and a separate server16:59
drab<troll level raised to yellow>17:01
drabstation: what are you trying to achieve? I'm having troubles to understand what you're asking for17:01
drabare you trying to build a firewall for your home?17:02
stationdrab: im still learning about server the 4 port pc will replace a slow rooter and I have to get internet access to nextcloud  rocketchat …17:05
stationwas hoping to get them both on one device with ubuntu core but …17:09
drabnacc: you might know, is there any ML I can post to about say preseed questions? ubuntu-server seems to be development list only and not for support requests17:20
drabbut I don't see any other place/ML where -server ppl are hanging out to ask a question17:20
naccdrab: you can ask here17:25
naccdrab: you can ask on -server too, you might just get redirected around a bit; i wonder if ubuntu-users is the right place17:26
drabnacc: I doubt -users deal a lot with preseed, feels like asking in ubuntu-desktop :P17:30
drabbut maybe I'm wrong, not on -users17:30
naccdrab: what's your question?17:30
drabnacc: if you don't think -server ppl are going to hate me for the rest of my life for posting support requests to a -devel list then I'll try that17:31
drabI have two preseed problems17:31
drabboth on -server and -desktop actually, altho latetr may be a bug in ubiquity installer17:31
drabso on -server, I can't figure out how to get preseed to ignore everything on the drive17:31
drabif I try to re-pxe a sytem that had raid on it, initrd I think will autostart the md device17:32
drabby the time parted kicks in the drives are in use and everything fails because there's no root device17:32
naccpxe doesn't depend on a physical device being present for root17:32
drabI have to manually get a shell, mdmad --zero-superblock, stop the mdadm device, and then dd zeros for good measure17:33
drabsure, talking about preseed17:33
drabI can't basically reinstall a system automatically as it stands17:33
drabif the disks had stuff on it17:33
naccwhile not having done this with raid, i've reinstalled many systems in the past that were already installed17:33
naccdrab: does it only happen with raid?17:34
drabeven if they had a previous install, parted stops and asks me to confirm which device I wanna use and stuff17:34
drabnope, with a single disk too, same issue17:34
naccdrab: then you're not telling preseed enough17:34
naccpartman-lvm/device_remove_lvm boolean true17:34
drabI'm sure, I just can't figure out what I'm missing17:34
naccpartman-lvm/confirm boolean true17:34
drablemme dpaste it17:34
drabhttp://dpaste.com/30B43FQ17:35
drabnacc: I have all of those already17:35
drabthat's a grep partman srv1604.seed17:35
naccdrab: can you pastebin your whoel preseed?17:37
naccdrab: iirc, what you have is sufficient for everything to get wiped by the installer and if it's still prompting you for a selection, then something else is wrong17:38
naccdrab: and please be precise as to where it stops, becasuse "asks me to confirm wich device ... and stuff" doesn't help me undersatnd where the preseed is stopping17:40
naccdrab: ideally screenshots, i think17:40
drabnacc: ok, I'll get to that, gimme a few, thank you17:44
drabI should have a windows VM on vbox to repro this so that I can get actual sshots instead of blurry pics with my phone17:45
naccdrab: in the meawhile, can you pastebin your entire preseed?17:48
drabnacc: k, that I can certainly do right away, sec17:49
drabnacc: ok this has everything , line from pxelinux that I start the install with + srv1604.seed + the partman diff with the raid1 version17:58
drabhttp://dpaste.com/27KH6SP17:58
drabthank you for taking the time to look17:59
naccdrab: do you have multiple physical disks?18:03
drabnacc: in the server using the raid-1, yes, in the testbox using the simple one, no, just one ssd18:07
naccdrab: in the latter case, does it help to specify18:07
naccd-i partman-auto/disk string /dev/sda18:07
drabok, I'll add and try with that and see if it helps18:08
drabthere is the equivalent of that in the raid1 already tho, and I still get errors due to raid being mounted, but that might be a diff issue18:09
naccdrab: right i think it is18:09
naccdrab: hence why i want to see where preseed stops :)18:09
drabok18:09
drabI'm still working on getting a VM going, it's a bit of a multitasking morning with a few more interruptions than usual, appreciate your patience18:10
naccdrab: np, i might need to step away for a bit to run some errands/lunch18:10
drabno worries at all, thank you for your help18:11
drabbtw I just figured out another neat trick this morning, just in case anybody cares...18:12
drabto do end-to-end ansible installs18:12
drabor anything else really, would be the same with chef, if you wanted to trigger a push and need ssh18:12
drabthe late-command can install ssh in /target and then you can just start it and it'll work just fine so than you can ssh in/push stuff to it and make all the changes before rebooting18:13
drabplus put in the bios boot from hd first, second network, so now I can WOL machines at night, dd a few bits to the disk to remove the mbr, reboot, and it'll go into pxe, install and then ansible it18:14
drabpoor man ipmi :)18:14
rgb-oneHey20:05
rgb-oneany osTicket users here?20:05
tarpmanoh wow. been years since I heard that name..20:09
tarpmanrgb-one: not any more, and boy am I grateful for that!20:09
rgb-onetarpman, hehe why do ya say that?20:10
drabtarpman: is there a better alternative? I've been looking for a simple ticketing system for ppl to report problems, but didn't find much20:24
rgb-onedrab, I found a list on reddit20:37
tarpmandrab: I moved to request tracker20:41
drabrgb-one: link? I saw a whole bunch, but they are all way too complicated or kinda broken20:42
tarpmanrgb-one: embarrassing... it's long enough ago that I'm actually having trouble remembering specifics20:42
rgb-onesome free ones, Request Tracker and OTRS20:44
rgb-onehttps://www.reddit.com/r/sysadmin/comments/na2r0/to_my_fellow_helpdesk_operators_what_trouble/20:44
rgb-oneFree ticketing systems: https://www.reddit.com/r/sysadmin/comments/2pp8op/free_ticketing_systems/20:46
drabrgb-one: if you go through that list it basically seems to come down to the usual 2 tho, OTRS and RT20:51
drabeverything else isn't free (despite the topic, see Jira) or is the usual hosted web thingie20:51
rgb-onedo you use either of those?20:51
drabI have in the past20:51
draband they are too complicated for where I'm at now20:52
rgb-oneOh20:52
drabI almost just need a form with a listing at the back20:52
draba mini django site would do I reckon20:52
drabeven just sending me an email would work... I could do that to start actually20:52
drabI almost implemented it as a google form... I just need a few questions/guided step for ppl to report problem20:53
drabso that they don't write "my internet is broken"20:53
draband it turns out they were at home... not joking20:53
drabI don't need multi user, report generating ITIL TLA MSG BLAH BLAH super duper flashy mobile first20:54
drab:P20:54
drabbut it seems I'm a minority so there's no such thing20:54
rgb-oneI see21:05
drabnacc: this was my other problem btw, a bug still open since 2011... https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/71338521:11
ubottuLaunchpad bug 713385 in netcfg (Ubuntu) "netcfg/choose_interface=auto fails to find the right interface" [Medium,Confirmed]21:11
drabstill working on those sshots21:11
drabI have the same prob as the initial guy, server with a quadport nic21:12
naccdrab: and they don't report link up even though they have link?21:13
drabthe problem is with the "predictable" names, in some cases the "first" port is not the one I have pxe set up on21:17
drabI understand the theory about predictable naming, but honestly I never had an issue with eth* stuff coming out of order and I could reliably say to pick, say eth4 for pxe21:18
naccdrab: and do you pass BOOTIF= down?21:18
drabso I used ifnames=0 to go back to that, which worked and could reliably pxeboot stuff, but that broke everything when I started working with the new VM server and need to preconfigure bridges21:19
drabhave not used BOOTIF=, but I passed netcfg/choose_interface=eth0 if it means the same thing21:19
naccwell, if you use BOOTIF= netcfg/choose_interface=auto should work21:20
naccfi you don't use BOOTIF=, then yes, you might need to specify the network interface21:20
naccdrab: if you don't use your recipes (but use 'atomic' or something) does it work?22:14
drabnacc: I did some more tests... it works with auto, but it doesn't do what I'd like it to do. basically, for whatever reason, what by the rear panel are port 3 and 4 come up "earlier" with systemd and are named enp129XXXX Vs the other two enp4XXX22:15
drabso I guess they are selected first and stuff gets installed/set up with the wrong interface22:16
naccstrange22:16
drabthe "funny" thing is, if I disable predict interafces with ifnames=022:17
drabthen the enp4XXX gets eth0 etc22:17
drabso eth0-3 match the panel layout22:17
draband I get preseeding etc on eth0 which is what I want22:17
drabbut like I said if I do that then I get other problems when I get to setting up the bridge22:18
drabat this point I'm inclined to give up and work around it with ansible22:19
drabas long as the install works with predictable names, when the box comes back I can reconfigure it22:20
drabthe thing that makes even less sense is that the dhcp server is set to tftp *only* on that first interface, the others don't22:21
drabso it pxeboot from iface1, then when installer stuff it loaded order is rearranged by systemd or whatever22:22
drabit dhcp out on iface3, gets an ip and continues the installation from there22:22
drabI guess a good fix would be to have the installer to use the same iface it pxebooted on, but it might not know what that is22:23
drabnacc: I'll test with atomic22:24
drabnacc: nope, same error, no root file system defined22:29
leetskeethello all, recently setup server 16.04 and I have an issue where after a reboot, I have to complete a local login before SSH with key login will work22:31
leetskeetran systemctl enable ssh and still same issue22:32
leetskeetanybody around22:39
=== notdaniel is now known as notdaniel_
drabok so I found the error...22:58
drabnacc: ubiquity: error ddf1 wrong # of devices in RAID set "ddf1_kvm5" on /dev/sda22:59
drabI've no idea why I get that22:59
drabthere's no raid on that disk, it's an old windows disk, or maybe windows was installed with fakeraid and that did something to it...22:59
JMichaelXdid a release upgrade a few weeks ago on home server, from 14.04 to 16.04, and just noticed that installation is using kernel 3.13.0-110-generic23:08
JMichaelXdesktop on 16.04 is using kernel 4.4.0-66-generic. is there a reason for this difference?23:09
geniiYou haven't done a dist-upgrade23:10
drabJMichaelX: 16.04 server uses 4.4.65 too, prolly just missing a dist-upgrade23:10
sarnoldJMichaelX: how did you do the upgrade?23:13

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