/srv/irclogs.ubuntu.com/2017/07/28/#ubuntu-server.txt

fluvvelltomreyn,  thanks for all the help, its recovering now, looks like completing within an hour or so.  Time to take a lunch break methinks.00:24
tomreynwelcome, enoy lunch00:30
drabanybody using ldirectord or some other load balancer that can redirect queries based on src ip?01:40
drabload balancing seems the correct answer to my question from the other day re: running CF on a different box than the GW01:41
drabat this stage I'd like to run 2 CF boxes especially for upgrades01:41
drabso that I can upgrade one, and redirect some traffic to it, make sure stuff works, and then upgrade the other01:42
drabhowever I can't see a lb that will allow me to choose which traffic to route to a real server based on src ip01:42
drabthey all seem to pick the destination based on weight or availability, which isn't helpful01:42
drabI guess I could use REDIRECT on the gw and redirect to a different service based on src ip with iptables01:44
drabthat'd work01:44
tomreynnormally you'd add a custom cookie or request header to deviate from default traffic flow for testing / debugging purposes.01:50
zuljamespage:  when you get a chance https://review.openstack.org/#/c/488254/01:51
tomreyni'm not sure which open source LBs support this, but i would assume most L7 do.01:51
drabtomreyn: good point, will take another look at the config files/man pages, altho most of these LBs are advertised as L4, not L701:55
draboh, LVS has KTCPVS which is L701:58
drabnope, all those solutions seem way more work to setup and maintain than the iptables trick with multiple virtual services02:09
drabthere are some new L7 balancers like one from lyft, but they aren't even packaged02:10
=== RoyK^ is now known as RoyK
=== RoyK is now known as Guest51879
=== Guest51879 is now known as RoyK
ah-donnyHey all, Is there any cloud storage software for Ubuntu Servers that can used on my home network to communicate with Android, iOS, Linux and Windows machines06:01
lordievaderGood morning06:28
=== unreal_ is now known as unreal
=== BlackDex_ is now known as BlackDex
zulicey: I think you got more breakage in the nova-lxd tree, its missing wsgi-intercept as a build dependency now12:21
zulin the test-requirements.txt12:21
iceyzul saw that test failure :-/12:22
ivokszul ! :)12:26
zulivoks: heylo12:26
ivokshow are you?12:28
=== roaksoax_ is now known as roaksoax
zulI'm good how are you12:37
iceyzul: this one is piled on behind your tracebnack fix: https://review.openstack.org/#/c/488403/112:41
zulicey:  yeah I think you are going to have more problems though but it could be just me I think12:42
iceyzul at least it passes tox with your commit and mine ;-)12:42
zulicey: coolio12:43
xpistosHi all. I am currently running Ubuntu 16.04.02. How do I upgrade my server to the most current rev? I thought apt-get dist-upgrade would take care of that13:28
rbasakxpistos: what do you want to upgrade to?13:29
xpistosrbasak: isn't 16.04.04 out ?13:29
rbasakNo, it's not.13:30
rbasakhttps://wiki.ubuntu.com/XenialXerus/ReleaseSchedule13:30
ogra_https://wiki.ubuntu.com/XenialXerus/ReleaseSchedule13:30
ogra_*snap*13:30
xpistosok. Thanks13:31
ogra_funny ... .4 isnt even on there13:31
xpistosI thought i saw it was out but thanks for that page!13:32
xpistosSo when a point rev gets released then am I correct that dist-upgrade will install that?13:33
ogra_yes13:33
rbasakPoint releases are just roll ups of all updates released up to that point, together with some installer changes.13:34
rbasakIf you're installing updates regularly, then upgrading to a point release is effectively a no-op for you anyway.13:34
rbasak(installer defaults can change though, such as the hardware enablement stack, which you need to opt in to if upgrading; but there's no point usually if everything works since by definition you don't need hardware enablement updates then)13:35
zulicey: you have problems with the wsgi-intercept fix13:48
iceyzul and we're running a tempest test for dvsm that isn't passing :-/13:51
zulicey: *sigh*13:51
=== baggar11_ is now known as baggar11
DammitJimoh man, I'm about to get bashed... I've been asked to set up an Ubuntu Server 16.04 with Unity16:26
DammitJimhowever, stubborn me doesn't want to install everything that comes with ubuntu-desktop16:26
DammitJimso, I did the no-install-recommends16:26
DammitJimhowever, I am having a very hard time configuring rdp to this desktop16:26
DammitJimdo you guys have any pointers as to how to configure rdp for unity? I got it to work with xfce16:27
androidhow to install held packages17:55
androidheld because no verification gpg key17:57
geniiAdd the key.17:59
androidI don't have it.17:59
androidwhere can the propesed key be found in the package info?18:00
androidit is going to call for a key id such as 0xFFFFFF right?18:02
android--ignore-hold didn't work18:03
androidapt-get info <package>?18:04
androidwhere can the proposed key be found in the package info?18:29
naccandroid: the key is from the repository that hosts the package (if I understand what you are saying)18:33
androidthis is an old version18:33
androiddoes old-versions have a signer key?18:34
androidis the release upgrade going to need a new key?18:34
androidthis is planned for upgrade to system7618:35
androidnacc the virtex shader graphics need to go18:37
androidthe website says the old version can be upgraded using do release upgrade18:38
androidnacc you did well with an on target observation however support is taking too long18:39
androidyou just dont have enough energy to be support18:40
androidfind a new job18:40
androidit doesnt need to take hours to formulate a response18:41
androiddo something like production line sorter18:42
androidsort beans or somethinb18:42
=== JanC is now known as Guest48595
=== JanC_ is now known as JanC
androidok nacc18:46
androidok nacc?18:47
hashwagonHelp meh, Ubuntu 16.04 system most commands result in Segmentation fault. How do I reboot this system? sudo doesn't seem to work either. Logged in as sudo user now.19:30
hashwagonIt's a remote system so Ctrl+Alt+Delete isn't very accessible.19:30
sarnoldyou may be able to use echo something > /proc/sysrq-trigger19:31
sarnoldof course the defaults for what can be done via the sysrq-trigger are pretty limited; I can't recall off-hand what is allowed vs not allowed19:31
sarnoldthe sysrq-trigger file takes the same commands as the sysrq key on the keyboard19:32
sarnoldso u to umount, s to sync, b to boot, etc. I always used sync sync umount boot when doing a sysrq shutdown..19:32
sdezielsound advise but IIRC, writting to sysrq-trigger requires root19:32
sarnoldoh sigh I thought that was a sudo shell :/ not just sudo user. uh. that's not ideal.19:33
hashwagonPermission denied on echo to proc19:34
hashwagoncannot sudo echo19:34
sdeziellast time I ran into such situation was when I was wiping the root fs ... I hope you are no facing a similar situation19:35
hashwagonThere's some keyboard command I thought could be used to reboot, not sure if that works remotely though..19:35
sarnoldit might; that'd be the sysrq key; I think I heard some systems can let you send a break command to trigger it19:36
sdezielhashwagon: for a remote system that's what the sysrq-trigger file is for but as you noticed, you need to be root to use it19:36
sdezielhashwagon: I'd probably take a look at dmesg (if that works) just to know what's up with the machine. Regarding the reboot, there is AFAIK no way for a regular user to trigger one remotely19:42
JanCotherwise would be disastrous on any shared system  :)20:01
gunixhey guys. where was i supposed to open ticket to get the packagers to add an openstack cinder version to the package list?20:36
ahasenacknacc: hey, am I using git ubuntu lint correctly here: http://pastebin.ubuntu.com/25192910/ ?20:36
ahasenacknacc: $(pwd) is a clone of https://git.launchpad.net/~powersj/ubuntu/+source/mongodb branch fix-1584431-xenial20:37
naccahasenack: let me check20:37
gunixthere is a big bug currently within openstack horizon on ubuntu server. when cinder is available, it doesn't allow any actions related to volumes. but it should. this was corrected with the latest dashboard patch. but it's not available. where can i open a ticket for this?20:37
ahasenackI did git remote add to add the pkg remote, then used that20:37
ahasenackbefore a git fetch pkg20:37
ahasenacker, after20:37
ahasenackanyway20:37
ahasenackgunix: against horizon itself perhaps?20:39
ahasenackthe openstack-dashboard package in this case20:40
=== ikonia_ is now known as ikonia
naccahasenack: fwiw, you shouldn't need to pass -d $(pwd), that's the default20:50
ahasenackok20:50
naccahasenack: but still reproducing the issue (sorry network is a bit slow today for some reason)20:51
ahasenackit's Friday :)20:51
naccahasenack: hrm, locally (on a slightly differnet branch), i got all of them passed, let me recheck with master (need to stash some changes)20:51
ahasenacknacc: hm, they all passed now too20:52
ahasenackwith or without -d20:52
naccahasenack: there were some fixes that went out, did the snap possibly refresh locally?20:52
ahasenackthat would have been an amazing coincidence20:52
naccahasenack: yeah, it passes with master too20:52
ahasenacklet me check the logs20:52
naccahasenack: :)20:52
naccahasenack: the linter isn't stateful, so i'm not sure why it would have changed the result otherwise20:53
ahasenackI see this from a couple of minutes ago20:53
ahasenackJul 28 17:50:51 nsn7 git-ubuntu[7671]: cmd.go:118: DEBUG: restarting into "/snap/core/current/usr/bin/snap"20:53
ahasenackJul 28 17:51:41 nsn7 git-ubuntu[7777]: cmd.go:118: DEBUG: restarting into "/snap/core/current/usr/bin/snap"20:53
ahasenacknot sure yet what it means20:53
ahasenackbut there is "git-ubuntu" in it :)20:53
ahasenacksnap info has an old timestamp (many hours ago) for "refreshed"20:54
ahasenackwell, it's working20:55
naccahasenack: yeah, i'm really not sure on that20:55
naccahasenack: but yeah, all i can say is the linter seems to be passing in my testing20:55
ahasenackeven the hash in the last "git checkout" line is still the same20:56
ahasenackso yeah20:56
ahasenacklet's ignore this20:56
nacc:)20:56
gunixahasenack no, they already released the package. ubuntu has to add it to the repos21:27
ahasenackgunix: you mean they made a new source tarball release, and ubuntu has to grab it, or just backport the fix21:32
gunixyes, 11.0.3 was released but we still have 11.0.2: https://paste.gnome.org/psldpujzk21:40
draburm, I'm trying to implement that return address thing with policy routing and it seems ip route default doesn22:39
drab't like eth0:122:39
drabanybody has seen that before?22:39
sarnoldI don't know if the iproute2 utilities handle aliases well22:40
sarnoldafterall not needing aliases any more was one of their advertising points :)22:40
drabmmmh, how would I be assigning a new ip to the same interface then?22:40
drabit seems you can do it with the ip utilities, however in network/interfaces the only supported syntax seems ethX:X kind of thing22:42
sarnoldip addr add 1.2.3.4 dev eth0 kind of thing22:42
sarnoldtrue /etc/network/interfaces is twenty year old cruft :( gotta use up and down scripts there to use ip or add ipv6 to nics or whaetever22:43
drabyeah that worked (the ip addr, retrying the policy routing bit now)22:43
sarnoldthankfully something better is coming https://lists.ubuntu.com/archives/ubuntu-devel-announce/2017-June/001215.html22:44
drabis that systemd-networkd? :P22:45
sarnoldnetplan22:45
draboh, never heard of netplan, thanks for sharing22:45
drabyeah , just clicked the link22:45
drabwill read up, thanks22:45
drabnope, still not working22:47
drabI'm trying to dig as a test and it complains that "reply from unexpected source"22:47
drabwhich is the ip of eth022:47
drabmaybe I'm messing up the PR part...22:47
sarnolddrab: hrm, that reminds me a bit of22:51
sarnoldarp_filter from https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt22:51
drabsarnold: good idea, but still having the same problem :/23:01
drabnet.ipv4.conf.all.arp_filter = 123:02
sarnolddrab: and the source routing, I've never needed to know owto do that, did you set that up as the lartc guide recommended?23:04
drabyeah, and then also found this: https://unix.stackexchange.com/questions/4420/reply-on-same-interface-as-incoming/23345#comment476516_2334523:05
drabwhich is basically confirming the same thing23:05
sarnoldwow cool23:06
sarnoldso that's what the separate routing tables are for :) not only containers23:06
drabwhat about containers?23:07
drabbtw I'm in a container... I guess I should test this on the bare host just in case23:08
sarnoldI've seen the multiple routing tables used with containers before but knew they long predated containers..23:08
drabI actually use that very lartc stuff on the gateway23:08
drabto balance 2 upstreams23:08
draband works just fine23:08
androidwhat junk are you making now?23:09
android--ignore-hold doesn't work23:10
drabI'm building a bed, a table and a shelf unit out of 2by4 and plywood23:10
draboh, maybe wrong channel?23:10
androiddrab now that isnt junk23:10
drabyou should see my table saw :P23:11
draband what the output is :...(23:11
drabbut it works and it's cheap23:11
drabplus hacking and hammering stuff together is the only way I can preserve sanity from working with computers... :)23:12
drabwoodworking as therapy ftw23:12
sarnoldsounds like you could use a lathe23:12
sarnolddoesn't matter if you actually want any lathed output. but it's hypnotic and makes a mess and smells good.23:13
draba lathe would be nice. and a jointer23:13
drablol23:13
sarnoldjointer would be more useful perhaps23:13
drabmsot of the 2by4 I get are just about ready to build arches...23:13
androidcover it with paint23:14
drabI still don't quite get how a jointer is going to fix that tho, if a piece of wood is bent and you pass it through a jointer at most you get uneven thickness23:14
androidclear paint23:14
drabwhich doesn't seem useful even if it "looks23:14
drab" flat23:14
drabanyway, need to figure out this ip route thing first :/23:15
androidip route?23:16
=== ptx0_ is now known as ptx0
androidwhat of it?23:16
drabI'm migrating services from some old hw into containers23:18
draband during the transition I need the container to have its new and final ip + the current hw's ip23:19
drabso that clients still using the old ip will work during transition23:19
androidcontainers?23:19
naccdrab: won't they see two hosts responding to the same IP?23:19
drabhowever if I just add the hw's ip to the container replies will come through the container's primary ip and the client will discard them23:19
androidamazon junk?23:19
drabnacc: the hw will go down as soon as I have this working23:19
naccdrab: i'm assuming there are more details being glossed :)23:19
naccdrab: ah sure23:20
drabso I flip the rule on and unplug the cable to the hw23:20
naccdrab: yep, that makes sense23:20
drabbut right now I'm testing on a box and can't get it to work23:20
drabtestbox*23:20
drabandroid: lxc containers23:20
drabthey have a bunch of old hw (desktops) which fail a lot so I've been migrating all their stuff into a server grade piece of hw running lxc23:21
androiddrab where do you work?23:23
androidit looks like I am being targetes by the app devels23:24
androidwhen I install an app they start updating23:24
androidI have plans on pulling source code for apps23:25
androidwhen they update they change the code23:25
drabmmmh this is both interesting, useful and annoying23:43
* drab scratches head23:43
drabso now unbound works23:43
drabbut none of the policy routing stuff was needed23:43
draball the examples I'm finding were using multiple nics/interfaces so I'm wondering if just one and a secondary address that just doesn't work for some reason23:44
drabwhat I had to change was the ip unbound listened on... using 0.0.0.0 created the routing/src ip issue23:45
drabbut if I explicitly set it to listen on primary and secondary ip then it works just fine23:45
drabwhich makes sense I guess...23:45
sarnolddrab: curious. very curious.23:46
drabon the other hand for example ssh does not seem to have a problem whatsover... set to listen on 0.0.0.0 but connections through the secondary ip work just fine23:46
sarnold0.0.0.0 is probably not ideal for a dns server anyway23:46
naccheh23:47
drabit's internal only with all wan traffic fw'ed so not a big of a deal and it saves me having more config tasks to handle, but I hear you23:48
drabfw'ed in hindsight was probably the wrong way to shorten firewalled :)23:58
drabanyway, all done and working \o/23:58
drabthanks all for the support, as usual nothing beats bouncing ideas around23:58
sarnolddrab: sweer! :D23:59
sarnoldsweet too.23:59
sarnoldheh23:59
naccsweer!23:59
naccsarnold: i like it23:59
drabsweer... sweet beer! lol23:59

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