Open eadamsintel opened 6 years ago
@eadamsintel - can you reproduce this with Kata Containers?
Yes. I filed a bug with logs at https://github.com/kata-containers/runtime/issues/48 that is giving the same error messages about the network route not being able to be setup.
Description of problem
When using a relatively recent version of DevStack and replacing the CC 2.x runtime with CC 3.x then when executing "zun run --runtime=cc-runtime cirros ping -c 4 8.8.8.8" it errors out. The logs state that network routes could not be setup
Expected result
The container will start and you can interact with it
Actual result
The container errors out and the logs show ""Could not setup the network: Could not setup network routes: Could not add/replace route dest()/src()/gw(2001:db8::2)/dev(eth0): no route to host"
A gist on how to setup devstack is at https://gist.github.com/eadamsintel/86bd12acd7052ea061766f9698f69819 Instead of compiling and building the kata runtimes described in this gist just follow the CC 3.0 install instructions for Ubuntu after devstack is setup and replace the cor runtime with cc-runtime at /etc/docker/daemon.json, reload the daemon, and restart docker to enable CC 3.0 in Zun.
Meta details
Running
cc-collect-data.sh
version3.0.19 (commit 900d623)
at2018-03-09.13:47:08.397219692-0800
.Runtime is
/usr/bin/cc-runtime
.cc-env
Output of "
/usr/bin/cc-runtime cc-env
":Runtime config files
Runtime default config files
Runtime config file contents
Config file
/etc/clear-containers/configuration.toml
not found Output of "cat "/usr/share/defaults/clear-containers/configuration.toml"
":Logfiles
Runtime logs
Recent runtime problems found in system journal:
Proxy logs
Recent proxy problems found in system journal:
Shim logs
No recent shim 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
Packages
Have
dpkg
Output of "dpkg -l|egrep "(cc-oci-runtime|cc-proxy|cc-runtime|cc-shim|kata-proxy|kata-runtime|kata-shim|clear-containers-image|linux-container|qemu-lite|qemu-system-x86)"
":No
rpm
ccagent.log cc-proxy.log cc-runtime.log cc-shim.log