[00:00] <Glorfindel> alright, so now I just change sdb to xfs using the command above, move the tileserver to it and I should be golden, right?
[00:00] <JanC> it works the same, just on a different level/size
[00:01] <RoyK> Glorfindel: have you just created a VG or have you also created an LV and put a filesystem on it?
[00:01] <Glorfindel> ehhhhh what
[00:02] <JanC> this reminds me about the CERN data storage where the fast layer is (was?) spinning rust and the slow layer was tape robots...
[00:02] <RoyK> Glorfindel: pastebin the commands you used
[00:02] <RoyK> !pastebin
[00:03] <Glorfindel> I created the .img like you said, but haven't changed it to xfs yet or mounted it. then I mentioned that I added block storage and I'm assuming I can change the fs on that to xfs and run the tileserver from it, leaving the rest of the system intact?
[00:03] <RoyK> Glorfindel: you don't need that img file now - you have sdb
[00:03] <JanC> yeah, if you mount that filesystem on the block storage in the right place
[00:04] <JanC> you want the tiles to end up on that  :)
[00:04] <JanC> or maybe point the tile server to the right place, dunno what's easier
[00:05] <Glorfindel> right, ok. so now I still need to set the filesystem to xfs, and move the data for tileserver over to it?
[00:05] <JanC> how do you get the data for the tile server?
[00:06] <RoyK> rsync?
[00:06] <Glorfindel> I run java -jar ./tileserver/tileserver.jar
[00:06] <Glorfindel> tileserver.jar and the config files I got from github
[00:07] <Glorfindel> I was planning on cp-ing them over
[00:07] <RoyK> Glorfindel: anyway - just start off with 'vgcreate myfineandgloriousvolumegroup /dev/sdb' and then 'lvcreate -n mynewlogicalvolume -l 100%FREE myfineandgloriousvolumegroup' and then mkfs -t xfs /dev/myfineandgloriousvolumegroup/mynewlogicalvolume
[00:07] <RoyK> then mount it
[00:08] <RoyK> Glorfindel: and use rsync -avPHAX instead of cp
[00:08] <Glorfindel> is it ok if I change the name of my volume group? :P
[00:08] <RoyK> obviously
[00:08] <RoyK> :)
[00:08] <RoyK> and the name of the LV, of course
[00:10] <Glorfindel> mount: can't find /dev/sdb in /etc/fstab
[00:11] <Glorfindel> running "mount /dev/sdb"
[00:12] <Glorfindel> https://paste.ubuntu.com/p/Q2vV3wpQQ6/
[00:13] <Glorfindel> ignore everything after the "ls /dev/" line
[00:13] <RoyK> well, obviously you'll need to run those lvm and mount commands as root
[00:14] <RoyK> and you'll need to mkfs -t ext4 /dev/minetestvg/tileserver and that's the one to mount - not sdb
[00:15] <RoyK> also - to have it mounted automatically, add it to /etc/fstab
[00:16] <Glorfindel> didn't I want to create xfs though?
[00:16] <Glorfindel> or is ext4 part of xfs
[00:16] <RoyK> two separate things
[00:16] <Glorfindel> ok
[00:16] <RoyK> there's no mkfs.xfs or mkfs -t xfs in that pastebin, and you're trying to mount the pv, not the lv
[00:17] <sarnold> RoyK: wait why ext4 here?
[00:17] <RoyK> sarnold: sorry - my fault
[00:17] <RoyK> Glorfindel: no - don't put ext4 on that - put xfs on it - typo
[00:17] <RoyK> tiredtypo
[00:18] <Glorfindel> too late. rerun it with xfs?
[00:18] <RoyK> yep
[00:18] <RoyK> it'll tell you there's an fs there
[00:18] <Glorfindel> mkfs: failed to execute mkfs.xfs: No such file or directory
[00:18] <RoyK> apt install xfsprogs
[00:20] <Glorfindel> https://paste.ubuntu.com/p/Z2PGJTqP35/
[00:20] <Glorfindel> am I supposed to put -f all alone?
[00:20] <Glorfindel> rather than with the -t
[00:20] <sarnold> -ft xfs would probably work
[00:21] <RoyK> no -f
[00:21] <sarnold> if not, then indeed -f -t xfs
[00:21] <RoyK> sarnold++
[00:21] <RoyK> -t takes an argument
[00:21] <RoyK> -f does not so it has to come first
[00:22] <Glorfindel> invalid option 'f'
[00:22] <Glorfindel> idgi
[00:22] <RoyK> pastebin that command
[00:22] <Glorfindel> on it
[00:23] <Glorfindel> https://paste.ubuntu.com/p/g8CqG7VTm5/
[00:23] <RoyK> erm - move -f to the back or just run mkfs.xfs directly
[00:23] <RoyK> mkfs -t xfs is an alias for mkfs.xfs
[00:24] <sarnold> ow. I sure didn't expect *that* mess..
[00:25] <Glorfindel> mkfs.xfs -f /dev/restof/path worked
[00:25] <RoyK> sarnold: well, you get what you pay for and it's free ;)
[00:25] <sarnold> RoyK :D
[00:27] <Glorfindel> ok, so attempting to mount it, still complains of not being able to find it in /etc/fstab
[00:27] <RoyK> mount /dev/bla/bla /somewhere
[00:27] <Glorfindel> ooh I get it
[00:28] <RoyK> then - when it works - add it to /etc/fstab
[00:29] <Glorfindel> ok, I'll see if I can figure out this stuff myself, seems simple enough
[00:29] <RoyK> after adding it there, umount /somewhere and try 'mount -a'
[00:29] <RoyK> it should work
[00:33] <Glorfindel> worked
[00:33] <RoyK> :)
[00:33] <Glorfindel> it seems I need sudo to modify it though, how do I fix that?
[00:33] <RoyK> fix what?
[00:34] <RoyK> you need sudo to do system things
[00:34] <Glorfindel> needing sudo to add a directory
[00:34] <Glorfindel> so I'm assuming I'll need to run the .jar as sudo also
[00:34] <RoyK> depends on where
[00:34] <RoyK> !chmod
[00:34] <RoyK> !chown
[00:35] <Glorfindel> oh, right. I'll investigate chown then. thanks :D
[00:49] <Glorfindel> RoyK: everything seems to be working perfectly, many thanks for walking me through all that!
[00:49] <sarnold> nice :)
[00:50] <Glorfindel> once I open the port I'll share a link to what I was running
[01:04] <RoyK> Glorfindel: good :)
[01:25] <Glorfindel> eh, I need to mess around with this a bit more before it runs I guess. oh well. Thank you all and have a good night :)
[01:28] <Glorfindel> but here's it running on someone elses map https://pandorabox.io/map/#-1693/-58/8
[01:29] <sarnold> that's cool
[09:33] <TJ-> 18.04 (server) has an /etc/sysctl.d/xxxx that contains "net.ipv4.ip_forward=1" but it isn't being set ("systemctl status systemd-sysctl") shows the service ran. How to debug? "/lib/systemd/systemd-sysctl --prefix=net.ipv4.ip_forward" wants to set it correctly
[11:27] <Kazaaak> Hello, i faced with problem i was run ZNC but when i try connect to ZNC i got error (connection refused), what can be problem? P.S. znc online.
[11:39] <frickler> coreycb: jamespage: can you please remind me of the URL for the version check matrix for UCA packages? somehow this has dropped from my list of bookmarks
[11:41] <ahasenack> good morning
[11:41] <coreycb> frickler: https://wiki.ubuntu.com/OpenStack/VersionTracking
[11:43] <frickler> coreycb: perfect, thank you
[11:52] <tomreyn> Kazaaak: sounds like znc is no longer running or no longer reachable on the ip:port it binds to from where you are trying to connect from.
[12:11] <Kazaaak> znc true that running because i see nick is online, by /whois and i try connect via mIRC by command /server ... and i not sure or at server are firewall maybe you can tel what command at terminal i can open ZNC port?
[12:17] <tomreyn> Kazaaak: just running znc should make it bind to a port which you can then connect to. if this doesn't work, check your firewall configuration, try to connect with  nc -v  from the same server and from remote to see whether the TCP connection can be established.
[13:05] <chillage> Good time,
[13:05] <chillage> I'm here too help Kazaaak get help..
[13:08] <chillage> so we problem is that we can't connect to znc via mIRC, i think we need open port at ubuntu terminal window, so who can tell what command line can open port if port is 1234
[13:08] <ahasenack> I have an old sysv initscript (squid on xenial) that has a restart) action, and does some checks there
[13:08] <chillage> ?
[13:08] <ahasenack> xenial uses systemd, though, so that is "converted" into a service
[13:08] <ahasenack> but it looks like systemd has no specific restart action and always interprets that as stop + start
[13:09] <ahasenack> which means the code in the restart() function of the sysv script is not executed. It looks like systemd just calls the sysv script with stop and then tsart
[13:09] <ahasenack> is that interpretation correct?
[13:09] <ahasenack> (my interpretation)
[13:14] <ahasenack> cpaelzer: do you know? ^
[13:17] <ahasenack> looks like it's a known issue: https://github.com/systemd/systemd/issues/2175
[13:21] <cpaelzer> ahasenack: yes afaik it is as you describe
[13:28] <ahasenack> ok
[13:35] <kstenerud_> Has ubuntu changed how initd scripts are generated from the debian dir between xenial and bionic? I'm looking at debian/sssd-common.sssd.init.in and I can't find the file anywhere in xenial, even though it was introduced in 2010
[13:36] <ahasenack> check d/changelog for mentions, and also d/rules to see how it is and was installed before
[13:36] <kstenerud_> bionic has the file exactly in /etc/init.d/sssd, and xenial has something vaguely similar in /etc/init/sssd.conf, but it's not the same file
[13:36] <ahasenack> it might have been converted to systemd
[13:36] <ahasenack> or upstart
[13:36] <ahasenack>  /etc/init/ is an upstart config directory
[13:37] <kstenerud_> ok
[13:37] <ahasenack> you know, you can never have enough init systems
[13:37] <kstenerud_> so if I wanted to backport pidfile handling stuff, I'd need to redo it according to upstart conventions?
[13:37] <ahasenack> looks like it
[13:51] <Kazaaak> tomreyn, thank you that you try help, but i dont know how to check firewall with nc -v, i need try write at terminal at same server where running znc this command: nc -v <server_ip>:<znc_port>? Then from another server terminal same command?
[16:29] <gunix> is there any official documentation and best practice for using network namespaces on ubuntu 18.04? does netplan support network namespaces?
[16:49] <kierank> Is it possible to do uefi, preseed and software raid 1 with 14.04?
[16:53] <RoyK> kierank: never tried with preseed - but then - why 14.04? it's soon out of support
[16:54] <kierank> just to match some existing configurations
[16:54] <nacc> kierank: preseed is certainly supported in 14.04.
[16:54] <kierank> yes we do preseed and software 1 raid one with legacy bios
[16:54] <kierank> but not uefi
[16:54] <nacc> kierank: but as RoyK said, all of those existing configs are going eol in ~1 year
[16:54] <nacc> kierank: oh i see what you are asking now, sorry
[16:55] <RoyK> nacc: or ~7 months :þ
[16:56] <nacc> RoyK: rounding up ;)
[16:56] <RoyK> kierank: if it's not too complex stuff you're working with, an upgrade should be trivial
[16:56] <kierank> yes we plan to update soon but we need to match some existing configurations in a closed environment
[16:59] <sarnold> trusty is likely to get an ESM service too; if you need to keep running it beyond EOL, have a conversation with an ubuntu advantage support person about your needs
[17:00] <kierank> sure
[18:09] <nacc> sarnold: announced a little over a month ago: https://blog.ubuntu.com/2018/09/19/extended-security-maintenance-ubuntu-14-04-trusty-tahr
[18:09] <sarnold> nacc: oh :) nice
[18:10] <sarnold> nacc: thanks
[18:15] <sdeziel> I can't find how long is ESM in that page
[18:15] <sdeziel> seem like the #1 selling point for it :)
[18:23] <nacc> sarnold: np; tbh, I wasn't sure it was announced or not, but I thought it was, so I was checking for my own edification
[18:24] <sarnold> that was a sprint week for me, I'm not at all surprised it didn't make an impression on me :)
[18:24] <nacc> heh
[18:39] <Kazaaak> How to check or at server are firewal?
[18:40] <nacc> Kazaaak: Not sure I parse that, you want to check if there is a firewall on a server?
[18:41] <sdeziel> "iptables-save; ip6tables-save" should tell you what's loaded in terms of ruleset
[18:52] <Kazaaak> nacc, yes, i want to know or firewall blocks one port, because i was run ZNC and i can't connect via mIRC. Can you help me?
[18:54] <RoyK> Kazaaak: as sdeziel said, check with iptables and ip6tables, either those save commands above, or iptables -vnL and ip6tables -vnL
[18:59] <sdeziel> has anyone used keepalived+conntrackd+radvd (or different combo) to setup HA firewalls? I'm looking for some advises to address a problem during failovers
[19:02] <RoyK> sdeziel: not with firewalls, but with a postgresql install - should be about the same, except some TCP sessions will be lost
[19:03] <RoyK> didn't use conntrackd, though
[19:03] <sdeziel> RoyK: interesting, since mine are firewall, they only see TCP sessions cross them and conntrackd makes the state sync between the 2 nodes
[19:03] <RoyK> didn't know that could be clustered
[19:03] <sdeziel> RoyK: yeah, works very well
[19:04] <RoyK> what issues are you getting?
[19:04] <sdeziel> I see "bogus" RA being sent to clients
[19:04] <sdeziel> I have keepalived setup to use fe80::1 as VIP and that's what clients initially pick up as their default gw
[19:04] <RoyK> all IPv6 or mixed?
[19:04] <sdeziel> dual-stack but v4 works flawlessly
[19:05] <sdeziel> when I restart keepalived it moves the master role and along with it radvd
[19:05] <RoyK> ok - perhaps file a bug, then - maybe someone hasn't really worked too hard on the ipv6 support
[19:05] <Kazaaak> Good, RoyK, i wanna check only IPv4 so i can enter command to terminal window: iptables -vnL ,and what i need sea then?
[19:06] <sdeziel> but doing so result in the clients picking up the link local IP of the new firewall as another gw so they have 2 gw and they load balance between both which I don't want
[19:06] <sdeziel> RoyK: I'm sure I'm the one at fault here ;)
[19:11] <tomvolek> whats a good package for sharing one monitor with multiple servers? Is synergy still the only solution ?
[19:12] <sarnold> hardware kvm boxes are popular
[19:12] <sarnold> dunno if they are *good* but they're popular
[19:13] <tomvolek> sarnold: true, but i used to use Synergy, network based app, no hardware need, and it did what I wanted to do.. trying to reduce number of devices around me :)
[19:14] <sarnold> normally when you have to use a monitor something has gone wrong.. it's nice to have the simplest possible tools at that moment ;)
[19:15] <tomvolek> indeed
[19:18] <mason> tomvolek: My favourite answer is a network-accessible hardware power/kvm switch. Retrofits to existing boxes and makes them act like enterprise server hardware.
[19:19] <tomvolek> @mason any brand/model in mind ?
[19:20] <mason> tomvolek: I'm trying to remember what I used to use, but failing that I'll find one of the same class.
[19:20] <tomvolek> tx, will google it
[19:25] <mason> tomvolek: It's possible the vendor I used is gone now - it was much of a decade ago. Something vaguely like this: https://www.startech.com/Server-Management/KVM-Switches/4-Port-USB-VGA-IP-KVM-Switch-with-Virtual-Media~SV441DUSBI
[19:25] <mason> The ones I deployed last did both KVM and power.
[19:25] <Kazaaak> I think i need just try open port and be see or it's helps or not, can anyone tell what command i can open port: 1235 on Ubuntu 18.10 ?
[19:26] <sarnold> Kazaaak: the commands to use to open it depend upon the commands you used to close it in the first place..
[19:26] <sdeziel> Kazaaak: could you pastebin the iptables-save output as well as "ss -nlt"?
[19:29] <mason> tomvolek: I'm going to give up as I'm finding neither email where I talked about it nor the actual product, and I'm not remembering the brand, but it was something like https://www.startech.com/support/SV1108IPPOW , only with more ports.
[19:30] <tomvolek> @mason  thanks my friend, dont worry, i will find something,  much appreciate it
[19:30] <mason> tomvolek: Sure. Enjoy.
[19:44] <Kazaaak> sarnold, i don't close the port, i just install ZNC and i can't connect, i think at my server is on firewall... I don't know:/
[19:44] <Kazaaak> sdeziel, afcourse i can give you output at pastebin, jus tell me exactly what i need enter input command?
[19:45] <hggdh> jamespage: ping re the LP team ubuntu-server-iso-dev
[19:46] <sdeziel> Kazaaak: ( iptables-save; echo; ss -nlt ) | pastebinit
[19:51] <jamespage> hggdh: wow does that still exist?
[19:51]  * jamespage waves at hggdh
[19:52] <hggdh> jamespage: hi, long time :-)
[19:52] <jamespage> hggdh: indeed
[19:52] <hggdh> jamespage: yes, it is still there, and there are 4 or five pending joins. Looking at it, and the ML, it seems mostly dead
[19:53] <hggdh> jamespage: should we go ahead and simply bury it?
[19:53] <jamespage> hggdh: +1 I think it got superceeded a while back
[19:54] <hggdh> jamespage: what is the replacement (so that I can let these applicants know)
[19:54] <jamespage> that is a very good question
[19:54] <hggdh> heh
[19:55] <hggdh> I will go ahead and announce the funeral, and refuse the applicants; then I will find out how we can kill it, effectively
[19:56] <Kazaaak> Ok lets try, sdeziel, little bit wait.
[19:59] <jamespage> hggdh: I think this replaced it but it may have since had a similar funeral - https://utah.readthedocs.io/en/latest/index.html
[20:00] <hggdh> yeah
[20:04] <hggdh> jamespage: renewall is set to "ask" instead of auto-renewal. I set a note in the home page stating this team is no longer active, and declined the pending candidates (most requested around 2013)
[20:06] <Kazaaak> sdeziel, https://www.irccloud.com/pastebin/afeqOwDm/
[20:07] <sdeziel> Kazaaak: is that a Ubuntu server machine? (also, please avoid pastebin services requiring javascript)
[20:17] <Kazaaak> sdeziel, yes Ubuntu 18.10 VNC
[20:17] <sarnold> an ubuntu machine without iptables or iproute2? o_O very curious
[20:18] <mason> A box without hinges, key, or lid, yet golden data inside is hid.
[20:18] <sarnold> my precious!
[20:18] <sdeziel> Kazaaak: you don't seem to have a firewall configured
[20:18] <sdeziel> and yeah, no iproute2 is weird
[20:19] <sdeziel> but I haven't encounter that many cosmic machines
[20:34] <Kazaaak> sdeziel, yes stranger. My admins rent me server from appboxes.com.. I can't connect to ZNC port what i run.
[20:35] <teward> is there a subiquity bug for "Use FUll Disk and set up LVM" where it doesn't take more than 4GB of space for the LVM?
[20:36] <ahasenack> teward: yes
[20:36] <teward> what bug number is it?
[20:36] <teward> so I can subscribe and track
[20:36] <ahasenack> teward: https://bugs.launchpad.net/subiquity/+bug/1785321
[20:40] <teward> ahasenack: sounds to me like we need to make some changes to subiquity then to 'ask' how much of the LVM to utilize.  because 4GB is... real small.
[20:40] <teward> was this 'change' documented in the release notes?
[20:41] <teward> or did I miss that too?
[20:41] <ahasenack> I heard arguments that it was correct behavior, in the sense that the VG is using the whole disk, and the LV is easily resizeable
[20:41] <ahasenack> but I also think it's a bug
[20:41] <teward> i'm on the fence.
[20:41] <ahasenack> teward: it's a bug, not a "change", so no release notes entry
[20:42] <ahasenack> if you use ext4 for /, you can even resize it without booting into rescue mode
[20:42] <ahasenack> or so I heard
[20:42] <teward> ahasenack: yeah, i'm thinking if we do anything that isn't 'the whole VG' for the LV, then we should be doing 50% of the LV.  LVM was kind of the 'thing' this became, and since it's a VM it's possible I'll expand this over multiple virtual harddrives within VMware spanning multiple datastores if this gets large.
[20:43] <teward> but that's just me :P
[20:43] <teward> *goes back to fixing things now that he's expanded the LV to fill up the VG*
[20:43] <ahasenack> reducing the LV after installation is more annoying
[20:43] <ahasenack> but 4Gb by default is unexpected, that will easily be filled
[20:44] <teward> well, then at least something larger than 4GB
[20:44] <teward> 10GB even is better than 4
[20:44] <ahasenack> yep
[20:44] <ahasenack> chime in over there :)
[20:44] <teward> can't from my phone but will later when I get home probably.
[20:44] <ahasenack> hehe
[20:44] <ahasenack> understood