Comments (13)
This is related with #42
from image-builder-odroid-c1.
There hasn't been any new release since #42, as I've been waiting for an official Odroid kernel to pick up my submission. If you want to help, you could run an update of the kernel on your instance, then verifying if CONFIG_VXLAN is present.
from image-builder-odroid-c1.
I've did that already yeah and it works for VXLAN with docker. But the problem is after the IPVLAN problem with ticket #42.
How can I integrate both of them?
from image-builder-odroid-c1.
It means that everytime I get a new Odroid C1 I will have to do this :
$ sudo apt-get install -y bc curl gcc git libncurses5-dev lzop make
$ git clone --depth 1 --single-branch -b odroidc-3.10.y https://github.com/hardkernel/linux
$ cd linux
$ make odroidc_defconfig
$ sed -ie 's/# CONFIG_VXLAN is not set/CONFIG_VXLAN=m/g' .config
$ make -j 4 uImage dtbs modules
$ sudo cp arch/arm/boot/uImage arch/arm/boot/dts/*.dtb /boot
$ sudo make modules_install
$ sudo make firmware_install
$ sudo make headers_install INSTALL_HDR_PATH=/usr
$ kver=`make kernelrelease`
$ sudo cp .config /boot/config-${kver}
$ cd /boot
$ sudo update-initramfs -c -k ${kver}
$ sudo mkimage -A arm -O linux -T ramdisk -a 0x0 -e 0x0 -n initrd.img-${kver} -d initrd.img-${kver} uInitrd-${kver}
$ sudo cp uInitrd-${kver} /boot/uInitrd
Not practical at all what do you think ?
Is there a shortcut ?
from image-builder-odroid-c1.
Okay. So you are saying that the current C1 kernel does include the VXLAN module. That's good. In addition, you want a kernel that also includes IPVLAN. In theory, you could follow the same approach as outlined in #38, just adding something like
# sed -ie 's/# CONFIG_IPVLAN is not set/CONFIG_IPVLAN=m/g' .config
directly before or after
# sed -ie 's/# CONFIG_VXLAN is not set/CONFIG_VXLAN=m/g' .config
Once you've confirmed that this fixes the problem, we could try to create a PR for the official kernel, so that this module will be included in the future. However, I haven't seen anything in #42 that suggests that it does fix the problem. Or do you have additional insights?
from image-builder-odroid-c1.
I've checked in the drivers/net/ if there is ipvlan folder for this kernel and it does not.
I tried to add the missing folder + missing config manually and I'm compiling now let's see if it works.
from image-builder-odroid-c1.
Do you have any Odroid C1? If you have then make a simple test in swarm mode like It is described in the ticket as suggested from the Moby team.
You can read it here : moby/moby#33531
If your docker is able to pass the request in the 2nd node with its own load balancer then it means it is my setup which is broken and it also means that the fix you and I have worked on is not swarm ready.
Let me know
from image-builder-odroid-c1.
Unfortunately your proposition for
# sed -ie 's/# CONFIG_IPVLAN is not set/CONFIG_IPVLAN=m/g' .config
It's not as easy as you think.
Is not working because it is not in the source code for 3.10.y
from image-builder-odroid-c1.
I'm closing this ticket!
The issue is not the missing CONFIG_IPVLAN. Please check the following link : #42 (comment)
The problem is not Traefik nor Odroid C1 with HypriotOS.
It seems to be Docker the problem.
from image-builder-odroid-c1.
@gdeverlant If I remeber correctly you need kernel 3.18++ for completely working swarm mode (incl. vxlan) and the odroid c1 build uses 3.10 right now.
So it is not a docker problem.
Maybe you can try to install the raspberry pi docker debian package on a c1 to verify it.
from image-builder-odroid-c1.
And can you point me how to do that or give ma link or tutorial?
Wait a second I use the latest Docker 17.05ce from apt-get update your idea of using a debian package I'm already doing so.
In the meantime I've found this concerning the progress for mainline kernel on the C1 : http://linux-meson.com/doku.php
from image-builder-odroid-c1.
Fixed the problem as described at : moby/moby#33531
from image-builder-odroid-c1.
Docker swarm will never work on Odroid C1
from image-builder-odroid-c1.
Related Issues (20)
- Make sure not to use an outdated rootfs HOT 1
- No HDMI output HOT 8
- increase SD card lifetime HOT 1
- DHCP Client does not work out of the box
- Add VERSION file and version number to filename
- Update Docker tools
- Write HYPRIOT_DEVICE and HYPRIOT_IMAGE_VERSION to /etc/os-release
- Update tools to "Barbossa" HOT 2
- After some time impossible to connect to board via SSH. HOT 5
- How to change host name in HypriotOS for Odroid C1 HOT 9
- Tutorial steps are not reproduceable HOT 1
- Traefick and Docker Swarm generating OVERLAY network error HOT 29
- How to update my actual HypriotOS with the latest release? HOT 6
- Latest release v0.4.2 HDMI output doesn't work on HD TV HOT 2
- device-init fails with panic on Odroid C1 HOT 4
- Docker with Traefik running inside swarm manager as a service is not able to redirect requests to services that are in the same overlay network outside from the manager to other service in worker nodes. HOT 21
- make docker-machine failed: Host already exists: "image-builder-odroid-c1"
- Set partition labels HOT 1
- Docker engine doesn't start on system boot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-builder-odroid-c1.