Giter VIP home page Giter VIP logo

Comments (13)

al-sabr avatar al-sabr commented on May 25, 2024

This is related with #42

from image-builder-odroid-c1.

docbobo avatar docbobo commented on May 25, 2024

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.

al-sabr avatar al-sabr commented on May 25, 2024

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.

al-sabr avatar al-sabr commented on May 25, 2024

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.

docbobo avatar docbobo commented on May 25, 2024

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.

al-sabr avatar al-sabr commented on May 25, 2024

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.

al-sabr avatar al-sabr commented on May 25, 2024

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.

al-sabr avatar al-sabr commented on May 25, 2024

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.

al-sabr avatar al-sabr commented on May 25, 2024

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.

firecyberice avatar firecyberice commented on May 25, 2024

@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.

al-sabr avatar al-sabr commented on May 25, 2024

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.

al-sabr avatar al-sabr commented on May 25, 2024

Fixed the problem as described at : moby/moby#33531

from image-builder-odroid-c1.

al-sabr avatar al-sabr commented on May 25, 2024

Docker swarm will never work on Odroid C1

from image-builder-odroid-c1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.