-
Notifications
You must be signed in to change notification settings - Fork 228
Conversation
CNI plugins have graduated to stable starting with version 1.0.0
Doing a search for |
Thanks @gaby ! Good catch We do have a guide for setting up networking with Flannel -- this needs to be updated to note that the flannel CNI plugin should be installed before this section: https://ignite.readthedocs.io/en/stable/networking/#configuring-the-nodes The script for that tutorial depends on it here: https://github.com/weaveworks/ignite/blob/b5214a0/tools/ignite-flannel.sh#L20 |
I see I personally forgot to bump the go.mod in #805 and #731, but luxas did in #561. The most current fc-go-sdk commit is @ cni plugins v0.9.0 (https://github.com/firecracker-microvm/firecracker-go-sdk/blob/90688a4/go.mod#L8) but we are many commits behind on that dep as well. |
@darkowlzz is going to look at PR'ing firecracker-microvm/firecracker-go-sdk to update containernetworking/plugins. They depend on a package that has moved. |
The flannel cni plugin now lives here: https://github.com/flannel-io/cni-plugin Sadly they haven't done a release yet, so no binaries available. |
Hi, I've created firecracker-microvm/firecracker-go-sdk#351 to update CNI dependencies in firecracker-go-sdk and also another PR to tc-redirect-tap repo which fc-go-sdk depends on. I was able to locally run the tests in those repos with those changes successfully. I hope they get accepted and we can go ahead with this PR. We should also update the default CNI config in Line 57 in ca96ad4
|
Seems like changing the default config version breaks CNI.
|
@gaby that's expected for now because we are still using a different version of CNI go dependencies, not v1.0.0. It'll be fine once we have updated the go dependencies. |
It's related to CNI plugins itself, there's a PR for fixing this. |
CNI plugins 1.0.1 was just released which fixes the config file version! https://github.com/containernetworking/plugins/releases/tag/v1.0.1 |
@stealthybox and @darkowlzz, any news on getting this merged? |
@jhult Thanks for the reminder. I just pushed changes for v1.0.1 which official bumps the SPEC to 1.0.0 as stable. I think that firecracker-microvm/firecracker-go-sdk#351 needs to get merge before this PR can be merge. The firecracker PR needs awslabs/tc-redirect-tap#9 to be merge |
Submitted awslabs/tc-redirect-tap#11 to address the breaking bug in v1.0.0 |
@gaby and @stealthybox, Can this be merged now that these 2 PRs have been merged? |
@jhult The CI needs to be re-triggered. |
@gaby looking at the CI failure, https://weaveworks-foss.semaphoreci.com/jobs/6eb41f54-1bcd-4e6b-a94a-d08c49eaa109, it could be that the go dependencies need to be updated as well. |
Ahhh! I'd take a look tomorrow |
I really have no idea how to update these, |
If someone can point me out on how to update Go dependencies, I'd really appreciate it. Everything I try locally/github fails to build. |
Current output of running
I remember @darkowlzz doing changes regarding that package in firecracker-microvm/firecracker-go-sdk#351 |
It seems like https://github.com/firecracker-microvm/firecracker-go-sdk may need another PR. Output:
|
@gaby looking at the go.mod file, the version of firecracker-go-sdk is v0.22.0, which is more than a year old. ...
github.com/firecracker-microvm/firecracker-go-sdk 3de2ae41e930c8ff1d726da9f513df11957f4de3
... or the equivalent revision from the main branch of that repo. |
CNI Plugins have officially graduated to stable with version 1.0.1 released yesterday. The biggest breaking change is the removal of the flannel plugin.
Release notes here: https://github.com/containernetworking/plugins/releases/tag/v1.0.1