This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 222
Getting a CNI removal error when doing ignite vm stop #393
Labels
area/dependency
Issues or PRs related to dependency changes
area/networking
Issues related to networking
kind/bug
Categorizes issue or PR as related to a bug.
Milestone
Comments
bug sudo ./ignite run weaveworks/ignite-ubuntu --runtime docker
INFO[0000] Created VM with ID "17d4cc046e3a9bda" and name "divine-field"
INFO[0001] Networking is handled by "cni"
INFO[0001] Started Firecracker VM "17d4cc046e3a9bda" in a container with ID "24219c67c4031d6bec1250062be64c72fb3652affac2dad2ed6ae990b8d99fdb"
sudo ./ignite stop divine-field --runtime docker
INFO[0000] Removing the container with ID "ignite-17d4cc046e3a9bda" from the "cni" network
FATA[0000] invalid CIDR address: !192.168.122.0/24%!(EXTRA string=could not parse destination) versions: sudo ./ignite version
Ignite version: version.Info{Major:"0", Minor:"6+", GitVersion:"v0.6.0-2+069399772e699a-dirty", GitCommit:"069399772e699ac01886c62be1355ea35e544819", GitTreeState:"dirty", BuildDate:"2019-09-03T21:05:07Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Firecracker version: v0.17.0
CNI_VERSION=v0.8.2
docker version
Client: Docker Engine - Community
Version: 19.03.2
API version: 1.40
Go version: go1.12.8
Git commit: 6a30dfca03
Built: Thu Aug 29 05:29:17 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.2
API version: 1.40 (minimum version 1.12)
Go version: go1.12.8
Git commit: 6a30dfca03
Built: Thu Aug 29 05:27:52 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683 git diff is small: diff --git a/Makefile b/Makefile
index acef5f6..24d12f1 100644
--- a/Makefile
+++ b/Makefile
@@ -74,6 +74,7 @@ endif
ifeq ($(GOARCH),$(GOHOSTARCH))
# Only tag the development image if its architecture matches the host
docker tag $(IMAGE):${IMAGE_DEV_TAG}-$(GOARCH) $(IMAGE):${IMAGE_DEV_TAG}
+ docker image save $(IMAGE):${IMAGE_DEV_TAG} | sudo ctr -n firecracker image import -
endif
ifeq ($(IS_DIRTY),0)
docker tag $(IMAGE):${IMAGE_DEV_TAG}-$(GOARCH) $(IMAGE):${IMAGE_TAG}-$(GOARCH) |
Not working --
Working:
|
It seems to be working fine with #421 applied, both for
Note that my CNI implementation is the newest one from Project Atomic PPA. |
This was referenced Sep 11, 2019
This is a bug in |
If you are affected by this bug, you can clean up all ignite nat chains like so: sudo iptables -S -t nat | grep ignite | sed 's/^-A/sudo iptables -t nat -D/' | sh |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area/dependency
Issues or PRs related to dependency changes
area/networking
Issues related to networking
kind/bug
Categorizes issue or PR as related to a bug.
No description provided.
The text was updated successfully, but these errors were encountered: