longsleep / linux-pine64

Pine64 Linux Kernel
Other
111 stars 104 forks source link

REQUEST: CONFIG_VXLAN for Docker Network support #51

Closed utdrmac closed 7 years ago

utdrmac commented 7 years ago

Per this comment/conversation: https://github.com/docker/machine/issues/2753#issuecomment-232174912

I'm attempting to use my 4 Pines as a Docker swarm. I've upgraded/compiled the latest version of Docker (17.04) and still cannot use overlay networks due to kernel feature missing.

"Error": "subnet sandbox join failed for \"10.0.0.0/24\": error creating vxlan interface: operation not supported",

For the next kernel release, please enable VXLAN, possibly as a module (to keep bloat down)

atzoum commented 7 years ago

vxlan has already been enabled, please refer to https://github.com/longsleep/linux-pine64/pull/50

utdrmac commented 7 years ago

@atzoum I did see #50 but it must not have been released yet because I just attempted to modprobe and it isn't there.

root@pine51:~# pine64_update_kernel.sh
Checking for update ...
You are already on latest version - abort.
root@pine51:~# modprobe vxlan
modprobe: FATAL: Module vxlan not found in directory /lib/modules/3.10.104-2-pine64-longsleep
root@pine51:~# uname -a
Linux pine51 3.10.104-2-pine64-longsleep #113 SMP PREEMPT Thu Dec 15 21:46:07 CET 2016 aarch64 aarch64 aarch64 GNU/Linux
root@pine51:~#
root@pine51:~# find /lib/ -name "*vx*"
root@pine51:~#
umiddelb commented 7 years ago

Hi @utdrmac ,

you might want to try a mainline kernel on the Pine64 with better Docker support. The Armbian people provide nightly build images containing a mainline kernel. At this time, I'm quite happy running a 4.9.13 kernel on the Pine64.

Cheers Uli

longsleep commented 7 years ago

I supposed this is resolved. Please reopen when still an issue.

utdrmac commented 7 years ago

It was only resolved by switching to another distro. :-(