-
Notifications
You must be signed in to change notification settings - Fork 374
Fail to deploy pod using kata-qemu on minikube when internetworking_model="tcfilter" #1742
Comments
Hi @asaintsever - thanks for the report, and the thorough diagnostics - yes, we are aware of this - there is a short term workaround (switch the config file to 'macvtap' networking), and at the end of last week we found the solution in minikube to the issue for 'tcfilter' networking: and, that fix has now been merged into minikube sources: kubernetes/minikube#4340 I don't know when minikube will do a release update though... |
Great news. Thanks @grahamwhaley for the links to the issues. Did not try |
@grahamwhaley - can we get insight into minikube release that we can reference here? |
Timely it seems. Just checked, and minikube look to have done a release 3 days ago with our required kernel config change in it: Tomorrow I'll test that and then update my pending minikube PR to see if we can land it. /cc @amshinde |
@asaintsever - OK to close this one now? |
Yes LGTM! |
Description of problem
Runtime context:
Minikube started using command line:
minikube start -p minikube-k8s114-crio-kata --container-runtime=cri-o --network-plugin=cni --enable-default-cni --cpus 4 --memory 16384 --vm-driver kvm2
Deploying Kata Containers with:
kubectl apply -f kata-rbac.yaml
kubectl apply -f kata-deploy.yaml
kubectl apply -f https://raw.githubusercontent.com/kata-containers/packaging/master/kata-deploy/k8s-1.14/kata-qemu-runtimeClass.yaml
Deploying test workload:
kubectl apply -f https://raw.githubusercontent.com/kata-containers/packaging/master/kata-deploy/examples/test-deploy-kata-qemu.yaml
Pod is stuck with status:
ContainerCreating
NAMESPACE NAME READY STATUS RESTARTS AGE
default pod/php-apache-kata-qemu-557fdb9bd6-b5t9h 0/1 ContainerCreating 0
Expected result
Pod should be deployed successfully with final status
Running
.Actual result
Pod is always waiting for creating with status
ContainerCreating
.SSH into Minikube and running command
journalctl -t kata-runtime
shows following errors:Found following working configuration by editing config file
/opt/kata/share/defaults/kata-containers/configuration-qemu.toml
:setting
internetworking_model="bridged"
instead of defaultinternetworking_model="tcfilter"
solves the issue (pod successfully running and no errors in kata-runtime journal)Show kata-collect-data.sh details
Meta details
Running
kata-collect-data.sh
version1.7.0 (commit d4f4644312d2acbfed8a150e49831787f8ebdd90)
at2019-05-26.17:09:02.952594046+0000
.Runtime is
/opt/kata/bin/kata-runtime
.kata-env
Output of "
/opt/kata/bin/kata-runtime kata-env
":Runtime config files
Runtime default config files
Runtime config file contents
Config file
/etc/kata-containers/configuration.toml
not foundOutput of "
cat "/opt/kata/share/defaults/kata-containers/configuration.toml"
":Config file
/usr/share/defaults/kata-containers/configuration.toml
not foundKSM throttler
version
Output of "
--version
":systemd service
Image details
losetup: invalid option -- 'P'
BusyBox v1.28.4 (2019-05-20 23:43:51 UTC) multi-call binary.
Usage: losetup [-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices
losetup -d LOOPDEV - disassociate
losetup -a - show status
losetup -f - show next free loop device
losetup: invalid option -- 'j'
BusyBox v1.28.4 (2019-05-20 23:43:51 UTC) multi-call binary.
Usage: losetup [-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices
losetup -d LOOPDEV - disassociate
losetup -a - show status
losetup -f - show next free loop device
losetup: invalid option -- 'P'
BusyBox v1.28.4 (2019-05-20 23:43:51 UTC) multi-call binary.
Usage: losetup [-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices
losetup -d LOOPDEV - disassociate
losetup -a - show status
losetup -f - show next free loop device
losetup: invalid option -- 'j'
BusyBox v1.28.4 (2019-05-20 23:43:51 UTC) multi-call binary.
Usage: losetup [-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices
losetup -d LOOPDEV - disassociate
losetup -a - show status
losetup -f - show next free loop device
unknown
Initrd details
No initrd
Logfiles
Runtime logs
Recent runtime problems found in system journal:
Proxy logs
No recent proxy problems found in system journal.
Shim logs
No recent shim problems found in system journal.
Throttler logs
No recent throttler problems found in system journal.
Container manager details
Have
docker
Docker
Output of "
docker version
":Output of "
docker info
":Output of "
systemctl show docker
":No
kubectl
Have
crio
crio
Output of "
crio --version
":Output of "
systemctl show crio
":Output of "
cat /etc/crio/crio.conf
":Have
containerd
containerd
Output of "
containerd --version
":Output of "
systemctl show containerd
":Output of "
cat /etc/containerd/config.toml
":Packages
No
dpkg
No
rpm
The text was updated successfully, but these errors were encountered: