/srv/irclogs.ubuntu.com/2018/11/15/#ubuntu-server.txt

patz0rhey guys, i've been trying to work around an issue i've been having installing some new servers lately, think i have found the issue but i'm not sure if it's a big in the live installer01:57
patz0ri'm trying to do something really really simple, create an mdadm raid1 to install my OS on, but I can't get it to work at all with the live installer01:57
patz0rseems to work ok with the old style alternative iso01:58
patz0rbut then i can't create bonds during the setup with that iso01:58
patz0ri wouldn't think it would be this hard tbh...01:58
sarnoldare you using 18.04 or 18.04.1?01:59
patz0r18.04.101:59
patz0ri think the main issue is that it's booting in uefi01:59
mwhudsonyou can't have /boot on your raiid01:59
mwhudsonwhich is something we need to fix02:00
patz0rwhy does it work with the non live installer?02:00
patz0ri would think it's a very common thing to do on bare metal machines02:00
sarnoldmwhudson: is that limitation still around? I thought that'd been fixed by the .1 release? :(02:02
patz0rsorry if this is a common issue but i'm new to 18.04/18.04.1 and finding it doesn't work quite how i'd expect from past experience02:03
mwhudsonsarnold: i don't think 18.04(.0) supported raid at all did it?02:03
sarnoldmwhudson: yeah I thought .0 was pretty limited and .1 a lot better, but not yet perfect... I guess it's got a lot further to go than I realized02:04
patz0rdo you guys have any suggestions for the easiest way to work around this? i've got 5 bare metal machines to install and I only have HBAs so I can't do any hardware raid02:05
sarnoldpatz0r: maybe try FAI?02:06
sarnoldpatz0r: the server is fai-server02:06
patz0ri have successfully installed my root partition to an md0 raid1 array using the alternative installer, and it did allow me to create 512mb efi partitions at the start of both disks02:06
patz0rdo you think that would have installed the /boot partition to both disks successfully?02:07
sarnoldpatz0r: how terrible is it to try scripting the networking config after the fact?02:07
patz0rnot hard will only take me a few mins to do the networking, it's a simple setup02:07
mwhudsonthe thing about /boot on raid is that it works (grub can read from raid just fine) but grub can't write to it so recordfail doesn't work02:08
patz0ri don't use any of the cloud init features from the live installer, i turn all of that off02:08
mwhudsonso if you install a bad kernel, you need to interrupt the bootloader to unwedge yourself which isn't all that easy for servers in general02:08
sarnoldmwhudson: wait what?02:08
mwhudsonbut that said d-i lets you shoot yourself in the foot this way02:08
sarnoldmwhudson: I thoguht we just failed to properly configure grub to boot from a degraded array02:09
mwhudson(d-i will also let you try to put /boot/efi on raid5 which definitely doesn't work but well)02:09
mwhudsonsarnold: this was my understanding anyway, i am not an expert02:09
sarnoldme neither, my world starts with getty or sshd :D02:09
mwhudsonthe issue of booting from a degraded array is sort of orthogonal to what i am talking about02:10
patz0ri don't think there is anything in 18.04 that i actually need, do you guys think it's safer for me to use 16.04 at this stage?02:10
patz0rthis will just be a storage box02:10
mwhudsonpatz0r: the 16.04 installer will work no better than the 18.04 alternate installer02:11
patz0rsame bug in both?02:11
mwhudsonwhat do you mean?02:12
mwhudsonyou said the 18.04 alternate installer didn't work because you couldn't configure a bond02:12
mwhudsonif that's the case i don't expect the 16.04 d-i based installer would either02:12
patz0rthat was just a minor inconvenience, i can configure the bond after the fact, i thought you guys were saying that the alternative installer would let me do this but i might still have issues if a disk failed02:13
patz0ri'd go pull a disk out and test it if i wasn't 4000km from my servers right now02:14
patz0rhence my caution in how i set this up now02:14
sarnoldit'd be worth testing with a VM locally :)02:15
sarnoldI've been meaning to do that for .. uh .. a very long time.02:16
patz0rthat's probably a better idea sarnold02:16
patz0rare you guys ubuntu dev's ?02:16
mwhudsonyes02:16
patz0rcool, thank you for your help with this, been getting frustrated with it as i thought it should be easy02:18
mwhudsonthis whole area seems to be spectacularly badly documented in genera;02:18
mwhudson(bonds too!)02:18
sarnoldyeah... I apparently don't *know* what ought to be epxected to work and in which releases ..02:19
patz0ri like the bonds networking feature in the live installer, but overall i still prefer the old installer/old style02:19
patz0ri'm not the kind who's getting my hands dirty in linux daily though, i got too many other machines to worry about02:20
patz0ri'm going to test the alternative installer raid1 on a vm now, will report back on that shortly if it would be beneficial02:21
patz0rso i've tested it, doesn't work if the first disk in the raid suddenly disappears03:20
patz0rthat's a little concerning :(03:22
patz0ranyone have any ideas on how to maybe leave /boot off my raid1 but periodically update it via crontab or something so it may not be too painful to fix if i have major issues down the track?03:58
plmHi all =D14:22
TheHonorableKit-good morning14:22
smoserrbasak: do you have ideas on https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/80/console ?14:41
rbasaksmoser: looks like a regression in the nightlies too: https://jenkins.ubuntu.com/server/view/git-ubuntu/job/git-ubuntu-ci-nightly/14:44
rbasaksmoser: probably some change to a module in PyPI14:44
smoseri didnt know we used pypi14:45
smoserwe should not14:45
smoserwhere does pypi get used ?14:45
rbasakTo create the snap14:46
smoserwell, yes. but i thought we were installing ubuntu packages for python deps.14:46
rbasakWe aren't.14:46
rbasakThe problem is that we're stuck on Xenial, because snaps are stuck on Xenial.14:47
rbasakAnd we needed newer stuff.14:47
smoserwell, then need to pin versions of stuff.14:47
rbasakSo initially we used a snap based on a newer Ubuntu, but that broke horribly and we were told that it snaps based on !Xenial aren't supported.14:47
rbasakI believe Bionic based snaps are in testing right now, but I don't know to what extent that's useable right now.14:48
smoseri'm looking at the snapcraft.yaml, its not obvious to me how pypi gets used.14:48
rbasakTo fulfil requirements of anything that says plugin: python14:49
rbasakhttps://git.launchpad.net/usd-importer/tree/setup.py14:49
rbasakBut also for launchpadlib14:49
rbasakPinning versions also caused problems for us in the past14:50
smoserhow?14:50
rbasakBecause stuff we directly specify doesn't pin themselves14:50
TheHonorableKit-any idea when Ubuntu Server will be updated to 18.10LTS?14:50
rbasakeg. we say argcomplete==1.8.1 but argcomplete 1.8.1 might not pin its dependencies14:50
rbasakAnd then they move and stuff explodes14:51
smoseryeah. there are solutions to that.14:51
smoseri thought14:51
smoserbut yeah.14:51
smoserman. what a pain. :-(14:54
sdezielTheHonorableKit-: 18.10 is not an LTS version14:55
sdezielTheHonorableKit-: but 18.10 was released for the server edition already https://www.ubuntu.com/download/server14:56
TheHonorableKit-yes, I saw it was released. I'm on LTS though. guess I'll have to wait??14:59
smoserTheHonorableKit-: you can upgrade if you want14:59
smoserbut that comes with maintenance14:59
smoser18.04 is supported for 5 years.14:59
smoser18.10 is supported for 9 months.14:59
TheHonorableKit-I did try, of course, but I'm somewhat new to linux administration. I had to revert to a backup because the upgrade failed miserably14:59
smoserso essentially, if you go to 18.10, in 6 months (or < 9m) you need to go to 19.0415:00
TheHonorableKit-if there's ever an LTS version of 18.10, I'll upgrade then15:00
smoserthere will not be15:00
smoserthe next lts will be 20.0415:00
TheHonorableKit-O.o well ****15:00
smoserif you just want to use some things from 18.10 or play with it to test things, i'd suggest looking at lxd15:01
smoseror multipass15:01
smoserlxd will provide you with containers to run whatever distro you want inside.15:01
TheHonorableKit-meh, I'm good with 18.04 for now15:01
smosermultipass will provide you with ubuntu in a kvm guest15:01
smoserlxd is really a wonderful tool, i really do suggest you try it out.15:01
TheHonorableKit-although I always did want to have a kali-linux distro run within an ubuntu distro, that would be fun15:01
nacccpaelzer: rbasak: did you want to schedule some time to go over php?16:19
rbasaknacc: that'd be good, thanks. As a handover type thing? I'm not familiar with it at the moment so would need you to drive that meeting I think.16:21
wrneed to setup dhcp, dns, ntp on ubuntu server 16.04lts, what docs link should follow?16:22
cpaelzernacc: I was working with kstenerud for basic merge training and long term we hope he takes that over16:22
cpaelzerI asked him to get in contact with you next week16:22
cpaelzerhaving one experienced one like rbasak on it as well surely will be good this cycle16:23
naccrbasak: cpaelzer: kstenerud: sounds good. Mostly about the process needed since it's such a maze of interdependencies16:24
rbasaknacc, kstenerud: so some time next week then? nacc: when works well for you?16:26
kstenerudI'm on European time, so hopefully not too late for me16:28
sdezielwr: each of those services come with various implementations, have you picked the one you want already?16:30
wrsdeziel, need all16:31
wrsdeziel, isc dhcp16:32
sdezielwr: right but each one of those have different implementations, hence the need to pick the ones you'd like to use16:32
sdezielwr: https://help.ubuntu.com/community/isc-dhcp-server16:33
sdezielwr: for the DNS, there is bind9 doc here: https://help.ubuntu.com/lts/serverguide/dns.html.en-CA16:34
wrsdeziel, yes bind9 thats the one gonna use16:34
sdezielwr: for the isc DHCP server, this one might be more current https://help.ubuntu.com/lts/serverguide/dhcp.html.en-CA16:34
sdezielwr: and finally for NTP: https://help.ubuntu.com/lts/serverguide/NTP.html.en-CA16:35
sdezielwr: I basically just skimmed https://help.ubuntu.com/lts/serverguide/index.html.en-CA for you ;)16:35
wrsdeziel, awesome now i won't screw this up16:37
sdezielwr: well, I did screw up pointing you to doc for 18.04. Please look at https://help.ubuntu.com/16.04/serverguide/index.html instead ;)16:37
ghoneHi all, our nginx on ubuntu (16.04) servers is being killed (restarted ?) randomly for a last couple of days. Any clue if any change has been applied recently to ubuntu ?16:47
lordcirthghone, any errors in nginx log?  syslog? dmesg?16:48
ghoneNov 14 06:21:23 server systemd[1]: Reloading. Nov 14 06:21:23 server systemd[1]: Started ACPI event daemon. Nov 14 06:21:23 server systemd[1]: Starting A high performance web server and a reverse proxy server...16:52
ghonewhy systemd restarts nginx ? because is is being reloaded ? if so why it is being reloaded ?16:52
rawcoso if my /boot is full and i can’t autoremove kernels, i have to manually delete them, right?16:58
rawcook, ended up using dpkg to remove the old linux images17:02
lotuspsychjerawco: wich ubuntu release is this17:03
rawco1817:03
rawcoit looks like its downloading them again17:04
rawcoi did apt-get autoremove -f17:05
rawcoshould i expand /boot ?17:11
lotuspsychjerawco: 18.04 should have unattended upgradesnow and auto cleanup kernels17:14
sdezielghone: could you pastebin the journalctl output of nginx?17:16
joop_hi people. I have a problem with ubuntu server 18.04.1 LTS on Dell Wyse thin clients (Z90DW).17:17
joop_Whenever I issue `shutdown`, the OS shuts down but the system does not perform a poweroff.17:18
joop_Radeon module is disabled in the kernel, nomodeset flag and acpi=on/off/etc flags have been tried.17:18
ghonesdeziel: https://pastebin.com/FjsheCaz17:19
sdezielghone: nginx[73195]: nginx: [emerg] open() "/etc/nginx/ssl/privkeypassword.txt" failed (2: No such file or directory) in /etc/nginx/sites-enabled/ji17:20
joop_/etc/nginx/ssl/privkeypassword.txt17:20
joop_yeah.17:20
ghoneYes I know17:20
ghonebut why it is being restarted by systemd ?17:20
ghoneit happens at least once a day ...17:21
sdezielghone: maybe it's the logrotate job that signals it?17:21
sdezielghone: it usually runs around 6:20 in the morning17:22
sdezieljoop_: have you tried "halt -p" ?17:24
joop_sdeziel: Yes, that's been tried.17:25
ghonesdeziel: logrotate sends USR1 which triggers nginx to start new log files but not restart17:25
joop_I have tried every combination / permutation of the shutdown and halt commands and their parameters.17:25
joop_I have tried some kernel flags in /etc/default/grub17:25
sdezieljoop_: sorry, that's not an area I know well17:25
leftyfbjoop_: have you tried this using a live cd/usb?17:26
joop_leftyfb: yep, I have.17:27
joop_Lubuntu live - didn't work either.17:27
leftyfbwhat type of hardware is this? Maybe it doesn't support acpi commands?17:27
joop_Ubuntu server after installation - 'Remove intallation media and press enter' -> done that, doesn't power off either17:27
joop_leftyfb: AMD G-T56N processor with Radeon HD6310 graphics on a Dell Wyse Z90DW thin client./17:28
leftyfbjoop_: tried a different linux distribution to see if it's actually an ubuntu problem as opposed to a linux kernel problem?17:29
joop_leftyfb: https://paste.ubuntu.com/p/YXQXDBZr4W/17:29
leftyfbor hardware17:29
sdezielghone: "/sbin/start-stop-daemon: warning: failed to kill 20255: No such process" is suspicious, as if the PIDfile contained the wrong pid17:29
sdezielghone: I'd recommend fixing the config error, stopping nginx, starting it and confirming the right pid ends up in the pidfile17:30
joop_Well the weird thing is, a colleage of mine tried to install FreeBSD and had nothing but issues with the GPU but he reported that OpenBSD works fine - including system poweroff.17:30
leftyfbOpenBSD != linux17:30
ghonesdeziel: it happens on a few servers ... no just one ...17:31
ghonesdeziel: it happens on a few servers ... not just one ...17:31
joop_No, it's BSD, i know, but still, it is known to work.17:31
joop_wondering...17:31
ghonesdeziel: we restart it manually and it is running for about a day and then being shut down ...17:32
sdezielghone: have you checked cron jobs and systemd timers looking for stuff touching nginx? automated configuration system?17:32
joop_I love the Wyse thin client but this is bugging me.17:41
joop_Now trying with acpi=strict.17:42
joop_Didn't change.17:42
naccrbasak: yes, next week would be fine with me, i can try and work around kstenerud's schedule, i'm a bit further east now19:34
sdezielI'd appreciate if someone with systemd experience could comment on the proposed fix in LP: #1803601, please20:33
ubottuLaunchpad bug 1803601 in base-files (Ubuntu) "motd-news.service scheduled even when /etc/update-motd.d/50-motd-news is not executable" [Undecided,New] https://launchpad.net/bugs/180360120:33

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