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

drabbah, still stuck on this macvlan thing. I've read all the links I could find, including stgraber's comments but still not joy, unclear what I'm doing wrong: https://github.com/lxc/lxd/issues/134300:58
drabhttps://lists.linuxcontainers.org/pipermail/lxc-users/2010-July/000557.html00:58
drabthat in theory seems pretty clear...00:58
drabbasically add a macvlan interface on the host and have the containers use that as parent with a macvlan bridge type00:58
drabmakes perfect sense, but then no joy00:59
drabonly thing I know that looks fishy is that lxc network show doesn't show mvlan000:59
drabeven tho my container is using it and it works (can get an ip, ping etc)00:59
sarnolddrab: pastebin your /etc/network/interfaces and lxd configs and maybe someone can spot it?01:02
stgraberdrab: what are you trying to do? use macvlan for your containers and still allow them to talk to the host?01:12
drabhttp://dpaste.com/0G594NT01:16
drabstgraber: yes01:16
drabwhich yuo commented on in that github issue and on the ML01:16
draband I think I'm doing what you saif, but I can't get it to work01:16
drabthe only thing that seems suspicious is the fact that lxc network list does not show mvlan001:16
drabonly eth001:16
draband if I try to do lxc network create mvlan0 I get an error that it already exists01:17
stgraberdrab: your setup looks wrong01:17
stgraberyou should have:01:17
drabok, great01:17
stgraber - eth0: unconfigured (which seems fine)01:17
stgraber - mvlan0: macvlan on top of eth0, configured with your host's IP (which seems fine)01:17
stgraber - containers: macvlan on top of eth0 (that's wrong in your setup)01:18
stgraberso set parent to eth0 for your containers and that "should" fix the problem01:18
drabah01:18
stgrabermacvlan devices can never talk to their parent, they can only talk to the outside and to their siblings01:18
drabright, which is why I set the parent to mvlan, I was hoping to be able to ping eth0 of the host01:19
drabbut that didn't work01:19
stgraberoh, I missed that, your eth0 is also wrong indeed01:19
drabsince the eth0 of the host is what is in dns and nodes will try to raech01:19
stgraberyour eth0 should be completely unconfigured. What used to be on eth0 should be moved to mvlan0. And then all containers should set parent=eth001:19
draboh, so that's basically the same thing you'd do with a bridge then01:20
stgraberyep01:20
drabI thought the point of mvlan was that I didn't need to touch eth0, but guess that's true only if I don't care about host/guest ping01:20
drabwell, point, easier to setup, fewer things to muck with01:21
stgraberright, you don't need to touch eth0 so long as you don't need to talk to it01:21
stgraberwhich is the case for a lot of people01:21
drabis there still a point in macvlan then? just the supposed better perf from container to container?01:21
drabassuming you wanna talk to the host01:21
drabthat is01:21
stgraberthere should be a bit more hardware based optimization for macvlan than for standard bridges but bridge+veth is also a much more tested setups so unless you need to squeeze every bit of performance, I'd recommend bridging01:26
=== Shadowmm_ is now known as shadowmm
=== mwsb is now known as chu
=== madsa is now known as Guest5519
=== mwsb is now known as chu
=== JanC is now known as Guest79186
=== JanC_ is now known as JanC
=== andol_ is now known as andol
=== Agent_ is now known as Agent
spatCan someone tell me how it is possible to have a disk that is 54% full and complain there is no free space?18:15
alkisgwhat's the output of df -h, and the exact message of disk full?18:17
cncr04syour inode space could be full18:32
tsimonq2spat: What FS are you using?18:33
spatext418:33
spatcncr04s: how can I check that?18:33
cncr04sdf -i ?18:34
cncr04syep18:34
spat df -i18:34
spatFilesystem     Inodes  IUsed  IFree IUse% Mounted on18:34
spatdevtmpfs       505187    378 504809    1% /dev18:34
spattmpfs          505610      1 505609    1% /dev/shm18:34
spattmpfs          505610    499 505111    1% /run18:34
spattmpfs          505610      3 505607    1% /run/lock18:34
spattmpfs          505610     16 505594    1% /sys/fs/cgroup18:34
spattmpfs          505615      4 505611    1% /run/user/570118:34
spatsorry should have pastebinned that18:35
cncr04syou only appear to have tmpfs and no actual /18:35
spat /dev/root      655360 655172    188  100% /18:35
cncr04sah, yep thats all i needed18:35
cncr04syour at 100%18:35
spatdidnĀ“t print because of the /18:36
spatyep noticed that as well18:36
spathow can I see where they are used?18:36
cncr04syour using 655,000 files somewhere18:36
cncr04sdu -hc /18:39
geniiAlmost always it's /var/log or /var/spool18:49
tpw_ruleson my 16.04LTS server openvpn doesn't start correctly on boot. its service is enabled with my config and it starts great when i do systemctl start after boot has finished. here are the logs: http://pastebin.com/tDHKnUS7 top is after boot, bottom is after running "systemctl start openvpn@server-tcp"19:33
tpw_rules /join #openvpn19:53
patdk-lpdid you, systemctl enable openvpn, and systemctl enable openvpn@server-tcp.service, assuming your config is called for openvpn /etc/openvpn/server-tcp.ovpn or /etc/openvpn/server-tcp.conf20:02
tpw_rulespatdk-lp: yes20:03
tpw_ruleswhich is how i get the first part of the log i pasted20:03
=== ewook_ is now known as ewook
drabstgraber: can you comment on the nested container issue and zfs? am I understanding correctly that the combination won't work?21:00
drabhttps://github.com/lxc/lxd/blob/master/doc/storage-backends.md21:00
drabthat page suggests that nesting is not supported with ZFS backend21:01
draband I need directory storage or btrfs21:01
drabbut maybe I'm missing something21:01
=== Edward123 is now known as EdwardIII
=== EmilienM_ is now known as EmilienM
=== mwhudson is now known as Guest34607
=== Valfor is now known as Guest45243
=== PaulePan1er is now known as PaulePanter
=== Agent is now known as Guest95782
=== Guest95782 is now known as Agent
=== trippeh_ is now known as trippeh
=== Pyrrhic is now known as Pyrrthon
DK2what could a soft lock up cpu stuck indicate to?23:02
DK2im getting kernelpanics with this error23:03
ikoniahardware error23:05

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