Zun cannot create container for virtual-kubelet

asked 2020-07-28 02:43:07 -0500

quanlm gravatar image

updated 2020-07-28 04:41:14 -0500

I have follow install zun ( can create container normally with network can ping to external)

I also install openstack virtual-kubelet but I cant create container

for human-easier look i create issue in github as well: https://github.com/virtual-kubelet/openstack-zun/issues/14 (https://github.com/virtual-kubelet/op...)

Error:

2020-07-28 07:26:21.284 3690 INFO werkzeug [-] 127.0.0.1 - - [28/Jul/2020 07:26:21] "POST /addNetwork HTTP/1.1" 500 - 2020-07-28 07:28:36.828 9129 INFO cotyledon._service [req-6e66dff7-4ae0-4588-9fe9-97c73abd2f21 - - - - -] Caught SIGTERM signal, graceful exiting of service server(0) [9129] 2020-07-28 07:28:36.828 9126 INFO cotyledon._service [req-10344618-ed07-4004-9584-9fe5d289480f - - - - -] Caught SIGTERM signal, graceful exiting of service watcher(0) [9126] 2020-07-28 07:28:36.830 9062 INFO cotyledon._service_manager [-] Caught SIGTERM signal, graceful exiting of master process 2020-07-28 07:28:36.836 9062 INFO cotyledon._service_manager [-] Child 9129 exited with status 0 2020-07-28 07:28:38.878 6628 INFO os_vif [-] Loaded VIF plugins: linux_bridge, noop, ovs 2020-07-28 07:28:38.937 6699 INFO werkzeug [-] * Running on http://127.0.0.1:9036/ (Press CTRL+C to quit) 2020-07-28 07:29:26.479 7456 INFO oslo.privsep.daemon [-] Running privsep helper: ['sudo', 'zun-rootwrap', '/etc/zun/rootwrap.conf', 'privsep-helper', '--config-file', '/etc/zun/zun. conf', '--privsep_context', 'vif_plug_ovs.privsep.vif_plug', '--privsep_sock_path', '/tmp/tmp89va56d3/privsep.sock'] 2020-07-28 07:29:27.220 7456 INFO oslo.privsep.daemon [-] Spawned new privsep daemon via rootwrap 2020-07-28 07:29:27.106 7475 INFO oslo.privsep.daemon [-] privsep daemon starting 2020-07-28 07:29:27.110 7475 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0 2020-07-28 07:29:27.112 7475 INFO oslo.privsep.daemon [-] privsep process running with capabilities (eff/prm/inh): CAP_NET_ADMIN/CAP_NET_ADMIN/none 2020-07-28 07:29:27.113 7475 INFO oslo.privsep.daemon [-] privsep daemon running as pid 7475 2020-07-28 07:29:27.864 7456 INFO os_vif [-] Successfully plugged vif VIFBridge(active=False,address=fa:16:3e:58:f8:5f,bridge_name='qbr01c10b6f-6e',has_traffic_filtering=True,id=01c1 0b6f-6e96-45ba-844e-cbff267028e9,network=Network(a4322dbc-4ffa-4a38-895d-16a32ee1deb9),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap01c10 b6f-6e') 2020-07-28 07:29:27.866 7456 INFO oslo.privsep.daemon [-] Running privsep helper: ['sudo', 'zun-rootwrap', '/etc/zun/rootwrap.conf', 'privsep-helper', '--config-file', '/etc/zun/zun. conf', '--privsep_context', 'zun.common.privileged.cni', '--privsep_sock_path', '/tmp/tmpwk5lcmcg/privsep.sock'] 2020-07-28 07:29:28.596 7456 INFO oslo.privsep.daemon [-] Spawned new privsep daemon via rootwrap 2020-07-28 07:29:28.484 7590 INFO oslo.privsep.daemon [-] privsep daemon starting 2020-07-28 07:29:28.487 7590 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0 2020-07-28 07:29:28.490 7590 INFO oslo.privsep.daemon [-] privsep process running with capabilities (eff/prm/inh): CAP_NET_ADMIN|CAP_SYS_ADMIN|CAP_SYS_PTRACE/CAP_NET_ADMIN|CAP_SYS_AD MIN|CAP_SYS_PTRACE/none 2020-07-28 07:29:28.490 7590 INFO oslo.privsep.daemon [-] privsep daemon running as pid 7590 2020-07-28 07:29:30.148 7456 ERROR zun.cni.daemon.service [-] Error when processing addNetwork request. CNI Params: {'CNI_COMMAND': 'ADD', 'CNI_CONTAINERID': '2525ea6eb4d961fd6fd334f 17d59d4f8796e11f1a5bf0b527ac9d17601438874', 'CNI_NETNS': '/var/run/netns/cni-50343555-5a4d-263b-afae-3d9c3b7dfcf6', 'CNI_ARGS': 'K8S_POD_NAME=1b77ff41-0a2f-4e61-9cd9-487cdc822f35;K8S _POD_INFRA_CONTAINER_ID=2525ea6eb4d961fd6fd334f17d59d4f8796e11f1a5bf0b527ac9d17601438874;IgnoreUnknown=1;K8S_POD_NAMESPACE=default', 'CNI_IFNAME ... (more)

edit retag flag offensive close merge delete