GithubHelp home page GithubHelp logo

Comments (7)

karunchennuri avatar karunchennuri commented on June 2, 2024

@TrevorTaoARM @kshafiee
as per the error log shared 'am seeing error message that "CNI Genie error at addNetwork: no plugin name provided"

Also please make sure your yaml definition for pod follows this syntax https://github.com/Huawei-PaaS/CNI-Genie/blob/master/sampleyamls/pod-flannel.yaml

Having said that in your pod definition can you try changing

annotations:
cni: "flannel"

Try adding double quotes and see what happens.

Also you may debug in the below snippet of the code and see what's going on?
https://github.com/Huawei-PaaS/CNI-Genie/blob/master/genie/genie-controller.go#L117

from cni-genie.

kshafiee avatar kshafiee commented on June 2, 2024

@TrevorTaoARM please update /etc/cni/net.d/10-flannel.conf as follows:
image

make sure you have 'bridge' under /opt/cni/bin
image

from cni-genie.

TrevorTaoARM avatar TrevorTaoARM commented on June 2, 2024

@karunchennuri @kshafiee
I have tried with cni: "flannel" first, and it does not work; then I tried cni: flannel, it does not work either;
I checked /opt/cni/bin:
image
Actually I have used the flannel cni plugin solely and Multus cni plugin with 2 flannel plugins in this environment, they are all ok.

from cni-genie.

kshafiee avatar kshafiee commented on June 2, 2024

@TrevorTaoARM let's have a chat on https://kubernetes.slack.com or https://cni-genie.slack.com to fix your problem. i already invited you on https://cni-genie.slack.com

from cni-genie.

satyaranjanp avatar satyaranjanp commented on June 2, 2024

@TrevorTaoARM , looked into this issue, current delegate info of genie is not taking parameters provided in your conf, working on this to make it work with above conf

from cni-genie.

sushanthakumar avatar sushanthakumar commented on June 2, 2024

Below PR has been raised to solve this issue and under review
https://github.com/Huawei-PaaS/CNI-Genie/pull/53

from cni-genie.

sushanthakumar avatar sushanthakumar commented on June 2, 2024

Below PR resolves this issue
https://github.com/Huawei-PaaS/CNI-Genie/pull/53
If any more support needed, happy to help

from cni-genie.

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.