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

=== cpaelzer_ is now known as cpaelzer
lordievaderGood morning07:08
victorhhi guys. is anyone experienced with running ubuntu server on a pci-express solid state drive?08:47
=== jwon_ is now known as jwon
=== kklimonda_ is now known as kklimonda
=== diddledan_ is now known as diddledan
=== fyx_ is now known as fyx
=== Mr-Pan is now known as Mr_Pan
oskieis it safe to install a new Ubuntu server (bionic) on a public IP, unfirewalled?09:56
TJ-oskie: lotuspsychje just copied your question to me since I only just arrived. Generally the answer is 'yes' but it can depend on what packages were selected at install time.10:02
TJ-oskie: E.g. there is usually a package delta between the ISO and the archive now (as bug-fixes, etc. are published) which /theoretically/ may fix vulnerabilities that could be publicly exploitable, but if you follow the usual sys-admin procedure which would be to apply default firewall rules on first boot the time-window for such an attempt would be only a minute or so /and/ an attacker would have to10:07
TJ-know in advance of the IP address, the exact version being installed, its vulnerability, and be able to launch the attack in a very narrow time window measured in seconds10:07
ahasenackgood morning10:14
victorhmorning10:25
victorhoskie: the default settings for the iptables is that none of the ports are open except for standard services as ssh. but for that matter the root account is also disabled.10:29
victorhso you should be fine, but it is not recommended10:29
victorhof course it is best so set up everything exactly how you'd like it before hooking it up to the bad and evil interwebs10:29
victorhfor the newcomers: is anyone experienced with running ubuntu server on a pci-express solid state drive?10:30
lotuspsychjevictorh: do you have one, or think to buy one10:37
vltvictorh: There are default iptables settings on Ubuntu server?10:44
blackflowthere aren't10:46
blackflowthere's uwf present iirc, but the iptables chains are of default policy ACCEPT with no rules10:46
blackflow*ufw10:46
victorhlotus: i have one. somehow its not working well with the pci-express active state power management10:56
lotuspsychjevictorh: can you provide us a link of your ssd, volunteers might have ideas10:57
=== crimastergogo_ is now known as crimastergogo
oskieTJ-, victorh thanks11:00
TJ-victorh: there are quite a few bugs arouund ASPM, there is an option to disable it in-kernel11:01
oskieI'm installing bionic from the live server ISO. Does it require an internet connection11:01
oskie? I can't seem to continue from network config because it times out.11:02
victorhtj-: how you can check if it's disabled. I also tried to set it to performance, but in /sys/module/pcie_aspm/parameters/policy it still says default11:10
TJ-there's a boot-time kernel command-line option "pcie_aspm=off"11:12
TJ-victorh: you could use that as a diagnostic aid to prove if ASPM is definitely the cause11:12
victorhTJ-: yes, and it's set in the grub right?11:12
TJ-victorh: yes, you can set it manually at boot-time by tapping Esc key to get to GRUB boot menu and editing the boot entry's command-line, or set it permanently via /etc/default/grub GRUB_CMDLINE_LINUX=11:13
victorhTJ-: i've set it in the cmdline_linux_default11:14
TJ-victorh: and do "sudo update-grub" of course!11:14
victorhnow it's "pcie_aspm=performance"11:14
victorhhaha yes of course. easy to forget though11:15
TJ-I don't see "performance" as an option, only "off" or "force"11:15
victorh$ cat /sys/module/pcie_aspm/parameters/policy => [default] performance powersave11:15
TJ-victorh: see https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html11:15
victorhTJ-: Thanks11:16
victorhi'll hook up again when I have more info11:16
victorh*afk going for lunch11:16
=== tinwood_ is now known as tinwood
=== cpaelzer__ is now known as cpaelzer
tobias-urdincoreycb: are canonical publishing stein packages? it's hard working with centos packages based on master and ubuntu rocky packages12:29
tobias-urdinalso do you know if there is any effort on debian based packaging for moving out placement?12:29
victorhtobias: no idea, sorry13:15
=== jelly-home is now known as jelly
=== rypervenche_ is now known as rypervenche
coreycbtobias-urdin: yes but i don't think it's been tested much. you'll have to do this to enable for now: https://paste.ubuntu.com/p/ZnGZq2HVBt/13:32
coreycbtobias-urdin: note that we've dropped py2 packages for stein13:32
coreycbtobias-urdin: and yes, we're aware of placement but haven't created the package yet. hopefully will get that done soon.13:32
tobias-urdincoreycb: ok thanks, we are working on py3 for the puppet projects where RDO is also working on porting the packages to py313:41
tobias-urdinthere is effort to move placement out of nova as well, that why i asked, since it's hard to perform unless both has moved out to separate packages13:42
coreycbtobias-urdin: ok yes. i'll make placement a priority for this week.13:42
coreycbtobias-urdin: yay py3 :)13:43
tobias-urdinthank you coreycb!13:43
faekjarzHi! Is there any boot option, or installer option, command line switch, that causes the alternate server installer (18.04.1 / LTS) to not setup any SWAP?15:03
Slashmanhello, where can I ask about the ubuntu certification for Dell servers?15:04
Slashmanpreviously I saw that the Dell R6415 was certified with ubuntu and now it seems it's not anymore15:05
sdezielfaekjarz: there should be a swap *file* in the root, no?15:05
Slashmanin fact this server is completely gone from the ubuntu website https://certification.ubuntu.com/server/models/?query=R641515:06
sdezielfaekjarz: what do you get from "swapon -s"?15:06
faekjarzsdeziel: in this case it's not relevant whether it's a file or a partition. The installer sets up swap, and i want to tell it not to do it. (i know, i can disable it later, but that's not the problem i intend to solve right now.)15:10
sdezielfaekjarz: oh OK, that's not what I understood, sorry15:11
faekjarzno worries15:12
faekjarzi could use btrfs; afaik, there's no swap allowed on btrfs …and the installer would comply15:55
faekjarzi stand corrected, just tested it and the alternate server installer creates a swap file on a btrfs m)16:00
lordcirthCan someone familiar with netplan tell me why this seemingly simple config doesn't work?  It works without the bridge, but the moment I add the bridge, it stops working.  Regardless of whether I put the address on the vlan or bridge.  Thanks!16:45
lordcirthhttp://paste.ubuntu.com/p/hT3f7BGpCs/16:45
compdocare the bridges used for kvm?16:46
compdocoh, vlans16:46
lordcirthFor lxc, similar16:48
lordcirthWe have 16.04 IaaS systems that have a 10Gb/s link with various dotted interfaces, each with a matching bridge, which lxc containers get attached to.  Works great. Trying to move to 18.04/netplan and it all breaks16:49
lordcirthAlso we don't normally need an address on the lxc interface, but this machine does.16:49
compdocI had problems too, but found that everything worked if I used netplan for the interfaces, then added the bridges in /etc/network/interfaces16:50
compdocin 18.0416:50
lordcirthWell that's a bit odd16:52
cyphermoxlordcirth: try something like this: https://paste.ubuntu.com/p/4WJZQ8DTCp/16:54
cyphermoxif you define the physical interface by mac address it helps networkd do the right thing16:54
lordcirthcyphermox, ah, ok, I was about to ask what the key difference was.  I will try, thanks16:55
cyphermoxthe key diff is really the fact that there's a "match: macaddress: " for the physical device16:55
lordcirthcyphermox, should I use a custom name instead of enp0s8?16:57
lordcirthDoes it matter?16:57
cyphermoxnope16:58
cyphermoxuse whatever you want16:58
cyphermoxin there I was testing more things16:58
cyphermoxthis is a config I have in production, but I do use that server to test some of the hairier configs16:58
lordcirthdoes rebooting without running 'netplan apply' apply things, or do you have to run it first?16:59
cyphermoxrebooting always applies whatever is in the file17:03
cyphermox'netplan apply' is just for if you want the changes to take effect immediately17:03
=== TheHonorableKitt is now known as THK
=== THK is now known as TKitten
xnoxjamespage, openstack-dashboard & ceph => are they switching to python3 by default and/or what is that blocked on?17:46
xnoxi've tried looking into it, but failed to establish the missing parts.17:46
lordcirthcyphermox, so, I switched to matching on mac, and now it gets stuck on boot trying to bring the network up for ages, then it boots and works.  I'm confused17:50
cyphermoxlordcirth: maybe run 'systemd-analyze blame' to see what is taking up time17:55
lordcirthcyphermox, 2min 66ms systemd-networkd-wait-online.service17:56
lordcirthsyslog: systemd-networkd[465]: enp0s8: Link is not managed by us17:58
lordcirthThat's odd17:58
lordcirthDoes netplan rendering to networkd not count as managed by networkd?17:58
cyphermoxprobably a red herring unless you do DHCPv618:04
lordcirthOk.  Not sure how to track down the error18:08
lordcirthcyphermox, hmm, networkctl status -a shows br10 as "nocarrier: configuring" and the vlan tagged iface doesn't exist18:18
=== geofft_ is now known as geofft
lordcirthenp0s8 is 'off'18:22
cyphermoxthat certainly won't help18:23
cyphermoxyou'll want to check your config, but also if the device is correctly connected, etc.18:24
cyphermoxnot much else I can help with; this depends a lot on your hardware and networkd18:24
cyphermox*network18:24
lordcirthIt's in virtualbox, actually.  The virtual network is quite standard and functional18:25
tewarddoes anyone know what the default I/O scheduler settings are for Ubuntu?18:34
tewardUbuntu Server*?18:34
tewardI accidentally posted this in the wrong channel sorry for the crosspost18:34
sdezielteward: grep CONFIG_DEFAULT_IOSCHED /boot/config-$(uname -r), says cfq here18:36
sdezielteward: you might want to check /sys/block/$DEV/queue/scheduler as some dev type use a different scheduler (virtio == none)18:38
tewardsdeziel: ack, #ubuntu-devel gave me some of the info too heh18:45
tewardthanks18:45
sdezielnp18:45
jamespagexnox: tbh I think I'm just going to drop the py2 support from ceph and switch over to py3 wholesale18:52
jamespagexnox: coreycb is workingon the dashboard + plugins but it needs a new package to complete18:52
coreycbyep working on that right now (django-debreach for horizon)18:54
xnoxjamespage, what about cloud-archive? are backports into that going to use py2 or py3?19:06
xnoxcoreycb, ooooh, nice.19:07
jamespagexnox: py319:07
xnoxok19:07
lordcirthcyphermox, I'm trying netplan 0.40 from ubuntu-proposed, in case it's related to the bug...19:45
lordcirthDoesn't seem to have helped19:49
lordcirthcyphermox, so brctl show says the bridge has no interface.  adding 'vlan10' works perfectly and ping starts working.  Any idea why netplan refuses to connect br10 to vlan10?20:07
cyphermoxlordcirth: not without looking at the full config20:18
lordcirthcyphermox, what files do you need?20:18
cyphermoxanything in /etc/netplan20:19
lordcirthcyphermox, 10-tagged.yaml: http://paste.ubuntu.com/p/XZyrc4cPdf/20:20
lordcirth01-netcfg.yaml: http://paste.ubuntu.com/p/pw3j3pbnPz/20:21
lordcirthThat's all20:21
lordcirthI've also tried with and without /etc/systemd/network/50-netplan-brup.network: http://paste.ubuntu.com/p/fVNXdgB954/20:22
cyphermoxlordcirth: I guess missing dhcp4: no  dhcp6: no  accept-ra: no for vlan1020:25
lordcirthcyphermox, no change20:27
cyphermoxok, then let's look at the files in /run/systemd/network20:28
TheBlokeHi all. I have an Ubuntu Server system with two 3TB disks. Currently only one disk is in use.  Is it possible to convert this to an LLVM array, without losing data?  The active disk has three partitions (8GB swap, 40 GB for OS, then the remainder for data.)  The second disk is blank (or will be).   Is it possible to activate the second disk as part of a RAID-0 stripe or RAID-1 mirror with the active disk, while preserving the existing20:29
TheBloke partitions and data on disk1?20:29
cyphermoxlordcirth: can you send the files to me (cyphermox at ubuntu.com)20:29
lordcirthcyphermox, does this work? http://paste.ubuntu.com/p/jmHCKwC4xM/20:30
lordcirthThey are fairly short20:30
cyphermoxyeah that works20:30
lordcirth'tail -n 100 *' is handy, it puts those headers in automatically20:32
lordcirthAn interesting thing is that if I add the interface to br10 manually, it brings it up automatically, like something was blocking on it20:34
cyphermoxI see nothing wrong with the config20:34
cyphermoxdidn't you say earlier than enp0s8 was down initially?20:35
cyphermoxhere, assuming you have access to the console and not just remotely, I'd reboot and check what networkd says its state is, whether it is degraded or what, and then the output of 'ip link'20:36
cyphermoxlordcirth: maybe file a bug in Launchpad20:36
lordcirthYeah it's a VM on my workstation20:37
lordcirthnetworkctl status -a : http://paste.ubuntu.com/p/k37RzBfrRV/20:38
lordcirthip link : http://paste.ubuntu.com/p/GwvMtGCC5y/20:38
lordcirthAnything else?20:38
lordcirthI'm not even sure where the problem lies, to report it properly20:39
=== freyes_ is now known as freyes
TJ-lordcirth: I can't compare this locally at present, but in the status output for vlan10 it reports "/run/systemd/network/10-netplan-enp0s8.network" ... I'm wondering if that should be "10-netplan-vlan10.network"22:53
TJ-lordcirth: what does it show when the interface is up correctly?22:53
blackflowTJ-: unit filename is not directly related to NIC name (it only matters when overriding through the hierarchy of systemd dirs)23:05
TJ-blackflow: right, but there is a glitch there so it could be a clue.23:08
blackflowhrm, possibly yes23:09

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