{"action":"created","issue":{"url":"https://api.github.com/repos/kata-containers/runtime/issues/955","repository_url":"https://api.github.com/repos/kata-containers/runtime","labels_url":"https://api.github.com/repos/kata-containers/runtime/issues/955/labels{/name}","comments_url":"https://api.github.com/repos/kata-containers/runtime/issues/955/comments","events_url":"https://api.github.com/repos/kata-containers/runtime/issues/955/events","html_url":"https://github.com/kata-containers/runtime/issues/955","id":386012996,"node_id":"MDU6SXNzdWUzODYwMTI5OTY=","number":955,"title":"kata runtime can not open listening socket on host such as tcp:127.0.0.1:4444","user":{"login":"telala","id":29300176,"node_id":"MDQ6VXNlcjI5MzAwMTc2","avatar_url":"https://avatars1.githubusercontent.com/u/29300176?v=4","gravatar_id":"","url":"https://api.github.com/users/telala","html_url":"https://github.com/telala","followers_url":"https://api.github.com/users/telala/followers","following_url":"https://api.github.com/users/telala/following{/other_user}","gists_url":"https://api.github.com/users/telala/gists{/gist_id}","starred_url":"https://api.github.com/users/telala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telala/subscriptions","organizations_url":"https://api.github.com/users/telala/orgs","repos_url":"https://api.github.com/users/telala/repos","events_url":"https://api.github.com/users/telala/events{/privacy}","received_events_url":"https://api.github.com/users/telala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-30T02:39:18Z","updated_at":"2018-11-30T09:51:12Z","closed_at":null,"author_association":"NONE","body":"# Description of problem\r\nFor some reason I have to open a tcp listening socket when running the kata container.\r\nI made some changes to the kata runtime:\r\n--- a/vendor/github.com/intel/govmm/qemu/qemu.go\r\n+++ b/vendor/github.com/intel/govmm/qemu/qemu.go\r\n@@ -1798,6 +1798,9 @@ func (config *Config) appendKnobs() {\r\n        if config.Knobs.Stopped == true {\r\n                config.qemuParams = append(config.qemuParams, \"-S\")\r\n        }\r\n **+**  \r\n **+**         config.qemuParams = append(config.qemuParams, \"-qmp\")\r\n **+**         config.qemuParams = append(config.qemuParams, \"tcp:127.0.0.1:4444,server,nowait\")\r\n }\r\n \r\n func (config *Config) appendBios() {\r\n\r\nThen using the new kata runtime to start a kata container but I can not find the listening port in the host.\r\nI added some log in the qemu where the listening socket is created and confirmed the socket is established successfully. But can not be seen from host. Seems the connection was isolated？\r\n\r\n# Expected result\r\nwe can see the listing port using netstat -ntlp something like:\r\nActive Internet connections (only servers)\r\nProto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name\r\ntcp        0      0 127.0.0.1:4444          0.0.0.0:*               LISTEN      69446/qemu-system-x\r\n\r\n\r\n\r\n\r\n# Actual result\r\n\r\nthere's NO listening socket to 127.0.0.1:4444\r\n\r\n---\r\nkata-containers/runtime$ kata-collect-data.sh\r\n\r\n# Meta details\r\n\r\nRunning `kata-collect-data.sh` version `1.3.1 (commit 258eae0)` at `2018-11-30.11:20:09.853114453+0800`.\r\n\r\n---\r\n\r\nRuntime is `/usr/bin/kata-runtime`.\r\n\r\n# `kata-env`\r\n\r\nOutput of \"`/usr/bin/kata-runtime kata-env`\":\r\n```toml\r\n[Meta]\r\n  Version = \"1.0.19\"\r\n\r\n[Runtime]\r\n  Debug = true\r\n  DisableNewNetNs = false\r\n  Path = \"/usr/bin/kata-runtime\"\r\n  [Runtime.Version]\r\n    Semver = \"1.3.0\"\r\n    Commit = \"780cd5f7b9d3c76522e96f83905b1ef224f8574d-dirty\"\r\n    OCI = \"1.0.1-dev\"\r\n  [Runtime.Config]\r\n    Path = \"/usr/share/defaults/kata-containers/configuration.toml\"\r\n\r\n[Hypervisor]\r\n  MachineType = \"pc\"\r\n  Version = \"QEMU emulator version 3.0.0 (-dirty)\\nCopyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers\"\r\n  Path = \"/usr/local/bin/qemu-system-x86_64\"\r\n  BlockDeviceDriver = \"virtio-scsi\"\r\n  EntropySource = \"/dev/urandom\"\r\n  Msize9p = 8192\r\n  MemorySlots = 10\r\n  Debug = true\r\n  UseVSock = false\r\n\r\n[Image]\r\n  Path = \"/usr/share/kata-containers/kata-containers.img\"\r\n\r\n[Kernel]\r\n  Path = \"/usr/share/kata-containers/vmlinuz-4.14.68\"\r\n  Parameters = \"agent.log=debug initcall_debug\"\r\n\r\n[Initrd]\r\n  Path = \"\"\r\n\r\n[Proxy]\r\n  Type = \"kataProxy\"\r\n  Version = \"kata-proxy version 1.3.1-d364b2e\"\r\n  Path = \"/usr/libexec/kata-containers/kata-proxy\"\r\n  Debug = false\r\n\r\n[Shim]\r\n  Type = \"kataShim\"\r\n  Version = \"kata-shim version 1.3.1-58f757d\"\r\n  Path = \"/usr/libexec/kata-containers/kata-shim\"\r\n  Debug = false\r\n\r\n[Agent]\r\n  Type = \"kata\"\r\n\r\n[Host]\r\n  Kernel = \"4.14.68-1-linux+\"\r\n  Architecture = \"amd64\"\r\n  VMContainerCapable = false\r\n  SupportVSocks = false\r\n  [Host.Distro]\r\n    Name = \"linux\"\r\n    Version = \"2.2\"\r\n  [Host.CPU]\r\n    Vendor = \"GenuineIntel\"\r\n    Model = \"Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz\"\r\n\r\n[Netmon]\r\n  Version = \"kata-netmon version 1.3.1\"\r\n  Path = \"/usr/libexec/kata-containers/kata-netmon\"\r\n  Debug = false\r\n  Enable = false\r\n```\r\n\r\n---\r\n\r\n\r\n# Runtime config files\r\n\r\n\r\n## Runtime default config files\r\n\r\n```\r\n/etc/kata-containers/configuration.toml\r\n/usr/share/defaults/kata-containers/configuration.toml\r\n```\r\n\r\n## Runtime config file contents\r\n\r\nConfig file `/etc/kata-containers/configuration.toml` not found\r\nOutput of \"`cat \"/usr/share/defaults/kata-containers/configuration.toml\"`\":\r\n```toml\r\n# Copyright (c) 2017-2018 Intel Corporation\r\n#\r\n# SPDX-License-Identifier: Apache-2.0\r\n#\r\n\r\n# XXX: WARNING: this file is auto-generated.\r\n# XXX:\r\n# XXX: Source file: \"cli/config/configuration.toml.in\"\r\n# XXX: Project:\r\n# XXX:   Name: Kata Containers\r\n# XXX:   Type: kata\r\n\r\n[hypervisor.qemu]\r\n#path = \"/usr/bin/qemu-lite-system-x86_64\"\r\npath = \"/usr/local/bin/qemu-system-x86_64\"\r\nkernel = \"/usr/share/kata-containers/vmlinuz.container\"\r\nimage = \"/usr/share/kata-containers/kata-containers.img\"\r\nmachine_type = \"pc\"\r\n\r\n# Optional space-separated list of options to pass to the guest kernel.\r\n# For example, use `kernel_params = \"vsyscall=emulate\"` if you are having\r\n# trouble running pre-2.15 glibc.\r\n#\r\n# WARNING: - any parameter specified here will take priority over the default\r\n# parameter value of the same name used to start the virtual machine.\r\n# Do not set values here unless you understand the impact of doing so as you\r\n# may stop the virtual machine from booting.\r\n# To see the list of default parameters, enable hypervisor debug, create a\r\n# container and look for 'default-kernel-parameters' log entries.\r\nkernel_params = \" agent.log=debug initcall_debug\"\r\n\r\n# Path to the firmware.\r\n# If you want that qemu uses the default firmware leave this option empty\r\nfirmware = \"\"\r\n\r\n# Machine accelerators\r\n# comma-separated list of machine accelerators to pass to the hypervisor.\r\n# For example, `machine_accelerators = \"nosmm,nosmbus,nosata,nopit,static-prt,nofw\"`\r\nmachine_accelerators=\"\"\r\n\r\n# Default number of vCPUs per SB/VM:\r\n# unspecified or 0                --> will be set to 1\r\n# < 0                             --> will be set to the actual number of physical cores\r\n# > 0 <= number of physical cores --> will be set to the specified number\r\n# > number of physical cores      --> will be set to the actual number of physical cores\r\ndefault_vcpus = 16\r\n\r\n# Default maximum number of vCPUs per SB/VM:\r\n# unspecified or == 0             --> will be set to the actual number of physical cores or to the maximum number\r\n#                                     of vCPUs supported by KVM if that number is exceeded\r\n# > 0 <= number of physical cores --> will be set to the specified number\r\n# > number of physical cores      --> will be set to the actual number of physical cores or to the maximum number\r\n#                                     of vCPUs supported by KVM if that number is exceeded\r\n# WARNING: Depending of the architecture, the maximum number of vCPUs supported by KVM is used when\r\n# the actual number of physical cores is greater than it.\r\n# WARNING: Be aware that this value impacts the virtual machine's memory footprint and CPU\r\n# the hotplug functionality. For example, `default_maxvcpus = 240` specifies that until 240 vCPUs\r\n# can be added to a SB/VM, but the memory footprint will be big. Another example, with\r\n# `default_maxvcpus = 8` the memory footprint will be small, but 8 will be the maximum number of\r\n# vCPUs supported by the SB/VM. In general, we recommend that you do not edit this variable,\r\n# unless you know what are you doing.\r\ndefault_maxvcpus = 0\r\n\r\n# Bridges can be used to hot plug devices.\r\n# Limitations:\r\n# * Currently only pci bridges are supported\r\n# * Until 30 devices per bridge can be hot plugged.\r\n# * Until 5 PCI bridges can be cold plugged per VM.\r\n#   This limitation could be a bug in qemu or in the kernel\r\n# Default number of bridges per SB/VM:\r\n# unspecified or 0   --> will be set to 1\r\n# > 1 <= 5           --> will be set to the specified number\r\n# > 5                --> will be set to 5\r\ndefault_bridges = 1\r\n\r\n# Default memory size in MiB for SB/VM.\r\n# If unspecified then it will be set 2048 MiB.\r\ndefault_memory = 32768\r\n#\r\n# Default memory slots per SB/VM.\r\n# If unspecified then it will be set 10.\r\n# This is will determine the times that memory will be hotadded to sandbox/VM.\r\n#memory_slots = 10\r\n\r\n# Disable block device from being used for a container's rootfs.\r\n# In case of a storage driver like devicemapper where a container's \r\n# root file system is backed by a block device, the block device is passed\r\n# directly to the hypervisor for performance reasons. \r\n# This flag prevents the block device from being passed to the hypervisor, \r\n# 9pfs is used instead to pass the rootfs.\r\ndisable_block_device_use = false\r\n\r\n# Block storage driver to be used for the hypervisor in case the container\r\n# rootfs is backed by a block device. This is either virtio-scsi or \r\n# virtio-blk.\r\nblock_device_driver = \"virtio-scsi\"\r\n\r\n# Enable iothreads (data-plane) to be used. This causes IO to be\r\n# handled in a separate IO thread. This is currently only implemented\r\n# for SCSI.\r\n#\r\nenable_iothreads = false\r\n\r\n# Enable pre allocation of VM RAM, default false\r\n# Enabling this will result in lower container density\r\n# as all of the memory will be allocated and locked\r\n# This is useful when you want to reserve all the memory\r\n# upfront or in the cases where you want memory latencies\r\n# to be very predictable\r\n# Default false\r\n#enable_mem_prealloc = true\r\n\r\n# Enable huge pages for VM RAM, default false\r\n# Enabling this will result in the VM memory\r\n# being allocated using huge pages.\r\n# This is useful when you want to use vhost-user network\r\n# stacks within the container. This will automatically \r\n# result in memory pre allocation\r\n#enable_hugepages = true\r\n\r\n# Enable swap of vm memory. Default false.\r\n# The behaviour is undefined if mem_prealloc is also set to true\r\n#enable_swap = true\r\n\r\n# This option changes the default hypervisor and kernel parameters\r\n# to enable debug output where available. This extra output is added\r\n# to the proxy logs, but only when proxy debug is also enabled.\r\n# \r\n# Default false\r\nenable_debug = true\r\n\r\n# Disable the customizations done in the runtime when it detects\r\n# that it is running on top a VMM. This will result in the runtime\r\n# behaving as it would when running on bare metal.\r\n# \r\n#disable_nesting_checks = true\r\n\r\n# This is the msize used for 9p shares. It is the number of bytes \r\n# used for 9p packet payload.\r\n#msize_9p = 8192\r\n\r\n# If true and vsocks are supported, use vsocks to communicate directly\r\n# with the agent and no proxy is started, otherwise use unix\r\n# sockets and start a proxy to communicate with the agent.\r\n# Default false\r\n#use_vsock = true\r\n\r\n# VFIO devices are hotplugged on a bridge by default. \r\n# Enable hotplugging on root bus. This may be required for devices with\r\n# a large PCI bar, as this is a current limitation with hotplugging on \r\n# a bridge. This value is valid for \"pc\" machine type.\r\n# Default false\r\nhotplug_vfio_on_root_bus = true\r\n\r\n# If host doesn't support vhost_net, set to true. Thus we won't create vhost fds for nics.\r\n# Default false\r\n#disable_vhost_net = true\r\n#\r\n# Default entropy source.\r\n# The path to a host source of entropy (including a real hardware RNG)\r\n# /dev/urandom and /dev/random are two main options.\r\n# Be aware that /dev/random is a blocking source of entropy.  If the host\r\n# runs out of entropy, the VMs boot time will increase leading to get startup\r\n# timeouts.\r\n# The source of entropy /dev/urandom is non-blocking and provides a\r\n# generally acceptable source of entropy. It should work well for pretty much\r\n# all practical purposes.\r\n#entropy_source= \"/dev/urandom\"\r\n\r\n[factory]\r\n# VM templating support. Once enabled, new VMs are created from template\r\n# using vm cloning. They will share the same initial kernel, initramfs and\r\n# agent memory by mapping it readonly. It helps speeding up new container\r\n# creation and saves a lot of memory if there are many kata containers running\r\n# on the same host.\r\n#\r\n# When disabled, new VMs are created from scratch.\r\n#\r\n# Default false\r\n#enable_template = true\r\n\r\n[proxy.kata]\r\npath = \"/usr/libexec/kata-containers/kata-proxy\"\r\n\r\n# If enabled, proxy messages will be sent to the system log\r\n# (default: disabled)\r\n#enable_debug = true\r\n\r\n[shim.kata]\r\npath = \"/usr/libexec/kata-containers/kata-shim\"\r\n\r\n# If enabled, shim messages will be sent to the system log\r\n# (default: disabled)\r\n#enable_debug = true\r\n\r\n[agent.kata]\r\n# There is no field for this section. The goal is only to be able to\r\n# specify which type of agent the user wants to use.\r\n\r\n[netmon]\r\n# If enabled, the network monitoring process gets started when the\r\n# sandbox is created. This allows for the detection of some additional\r\n# network being added to the existing network namespace, after the\r\n# sandbox has been created.\r\n# (default: disabled)\r\n#enable_netmon = true\r\n\r\n# Specify the path to the netmon binary.\r\npath = \"/usr/libexec/kata-containers/kata-netmon\"\r\n\r\n# If enabled, netmon messages will be sent to the system log\r\n# (default: disabled)\r\n#enable_debug = true\r\n\r\n[runtime]\r\n# If enabled, the runtime will log additional debug messages to the\r\n# system log\r\n# (default: disabled)\r\nenable_debug = true\r\n#\r\n# Internetworking model\r\n# Determines how the VM should be connected to the\r\n# the container network interface\r\n# Options:\r\n#\r\n#   - bridged\r\n#     Uses a linux bridge to interconnect the container interface to\r\n#     the VM. Works for most cases except macvlan and ipvlan.\r\n#\r\n#   - macvtap\r\n#     Used when the Container network interface can be bridged using\r\n#     macvtap.\r\ninternetworking_model=\"macvtap\"\r\n\r\n# If enabled, the runtime will create opentracing.io traces and spans.\r\n# (See https://www.jaegertracing.io/docs/getting-started).\r\n# (default: disabled)\r\n#enable_tracing = true\r\n```\r\n\r\n---\r\n\r\n\r\n# KSM throttler\r\n\r\n\r\n## version\r\n\r\nOutput of \"`/usr/lib/systemd/system/kata-ksm-throttler.service --version`\":\r\n```\r\n/usr/bin/kata-collect-data.sh: line 168: /usr/lib/systemd/system/kata-ksm-throttler.service: Permission denied\r\n```\r\nOutput of \"`/usr/libexec/kata-ksm-throttler/kata-ksm-throttler --version`\":\r\n```\r\nkata-ksm-throttler version 1.3.0-6e903fb\r\n```\r\n\r\n## systemd service\r\n\r\n\r\n# Image details\r\n\r\n```yaml\r\n---\r\nosbuilder:\r\n  url: \"https://github.com/kata-containers/osbuilder\"\r\n  version: \"unknown\"\r\nrootfs-creation-time: \"2018-11-28T10:14:59.643894945+0000Z\"\r\ndescription: \"osbuilder rootfs\"\r\nfile-format-version: \"0.0.2\"\r\narchitecture: \"x86_64\"\r\nbase-distro:\r\n  name: \"Centos\"\r\n  version: \"7\"\r\n  packages:\r\n    default:\r\n      - \"iptables\"\r\n      - \"systemd\"\r\n    extra:\r\n\r\nagent:\r\n  url: \"https://github.com/kata-containers/agent\"\r\n  name: \"kata-agent\"\r\n  version: \"1.4.0-0ff30063f7e71eb0f48d60c21156cd18b8a58024\"\r\n  agent-is-init-daemon: \"no\"\r\n```\r\n\r\n---\r\n\r\n\r\n# Initrd details\r\n\r\nNo initrd\r\n\r\n---\r\n\r\n\r\n# Logfiles\r\n\r\n\r\n## Runtime logs\r\n\r\n## Shim logs\r\n\r\nRecent shim problems found in system journal:\r\n```\r\n```\r\n\r\n## Throttler logs\r\n\r\nNo recent throttler problems found in system journal.\r\n\r\n---\r\n\r\n\r\n# Container manager details\r\n\r\nHave `docker`\r\n\r\n## Docker\r\n\r\nOutput of \"`docker version`\":\r\n```\r\nClient:\r\n Version:      17.09.0-ce\r\n API version:  1.32\r\n Go version:   go1.8.3\r\n Git commit:   afdb6d4\r\n Built:        Tue Sep 26 22:41:23 2017\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      17.09.0-ce\r\n API version:  1.32 (minimum version 1.12)\r\n Go version:   go1.8.3\r\n Git commit:   afdb6d4\r\n Built:        Tue Sep 26 22:42:49 2017\r\n OS/Arch:      linux/amd64\r\n Experimental: false\r\n```\r\nOutput of \"`docker info`\":\r\n```\r\nContainers: 42\r\n Running: 0\r\n Paused: 0\r\n Stopped: 42\r\nImages: 61\r\nServer Version: 17.09.0-ce\r\nStorage Driver: overlay\r\n Backing Filesystem: xfs\r\n Supports d_type: true\r\nLogging Driver: journald\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\n Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog\r\nSwarm: inactive\r\nRuntimes: docker-runc kata-runtime runc runv\r\nDefault Runtime: kata-runtime\r\nInit Binary: docker-init\r\ncontainerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0\r\nrunc version: 780cd5f7b9d3c76522e96f83905b1ef224f8574d-dirty (expected: 3f2f8b84a77f73d38244dd690525642a72156c64)\r\ninit version: 949e6fa\r\nSecurity Options:\r\n seccomp\r\n  Profile: default\r\nKernel Version: 4.14.68-1-linux+\r\nOperating System: linux 2.2 (Final)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 88\r\nTotal Memory: 251.6GiB\r\nName:ENT64.site\r\nID: 24SN:D4W4:U652:K77H:S6D6:XK4M:ZRUC:FUVT:M6BG:H734:6PEY:DJCU\r\nDocker Root Dir: /data1/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nLabels:\r\n ip=****\r\nExperimental: false\r\nInsecure Registries:\r\n 10.0.0.0/8\r\n 9.0.0.0/8\r\n 100.64.0.0/10\r\n 127.0.0.0/8\r\nRegistry Mirrors:\r\n http://10.55.205.212:5000/\r\nLive Restore Enabled: false\r\n```\r\nOutput of \"`systemctl show docker`\":\r\n```\r\nType=notify\r\nRestart=on-failure\r\nNotifyAccess=main\r\nRestartUSec=100ms\r\nTimeoutStartUSec=0\r\nTimeoutStopUSec=5s\r\nWatchdogUSec=0\r\nWatchdogTimestamp=Fri 2018-11-23 18:36:17 CST\r\nWatchdogTimestampMonotonic=193128536\r\nStartLimitInterval=60000000\r\nStartLimitBurst=3\r\nStartLimitAction=none\r\nFailureAction=none\r\nPermissionsStartOnly=no\r\nRootDirectoryStartOnly=no\r\nRemainAfterExit=no\r\nGuessMainPID=yes\r\nMainPID=8933\r\nControlPID=0\r\nFileDescriptorStoreMax=0\r\nStatusErrno=0\r\nResult=success\r\nExecMainStartTimestamp=Fri 2018-11-23 18:36:10 CST\r\nExecMainStartTimestampMonotonic=186275718\r\nExecMainExitTimestampMonotonic=0\r\nExecMainPID=8933\r\nExecMainCode=0\r\nExecMainStatus=0\r\nExecStart={ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd ; ignore_errors=no ; start_time=[Fri 2018-11-23 18:36:10 CST] ; stop_time=[n/a] ; pid=8933 ; code=(null) ; status=0/0 }\r\nExecReload={ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }\r\nSlice=system.slice\r\nControlGroup=/system.slice/docker.service\r\nMemoryCurrent=35435225088\r\nTasksCurrent=295\r\nDelegate=yes\r\nCPUAccounting=no\r\nCPUShares=18446744073709551615\r\nStartupCPUShares=18446744073709551615\r\nCPUQuotaPerSecUSec=infinity\r\nBlockIOAccounting=no\r\nBlockIOWeight=18446744073709551615\r\nStartupBlockIOWeight=18446744073709551615\r\nMemoryAccounting=no\r\nMemoryLimit=18446744073709551615\r\nDevicePolicy=auto\r\nTasksAccounting=no\r\nTasksMax=18446744073709551615\r\nUMask=0022\r\nLimitCPU=18446744073709551615\r\nLimitFSIZE=18446744073709551615\r\nLimitDATA=18446744073709551615\r\nLimitSTACK=18446744073709551615\r\nLimitCORE=18446744073709551615\r\nLimitRSS=18446744073709551615\r\nLimitNOFILE=18446744073709551615\r\nLimitAS=18446744073709551615\r\nLimitNPROC=18446744073709551615\r\nLimitMEMLOCK=65536\r\nLimitLOCKS=18446744073709551615\r\nLimitSIGPENDING=1030185\r\nLimitMSGQUEUE=819200\r\nLimitNICE=0\r\nLimitRTPRIO=0\r\nLimitRTTIME=18446744073709551615\r\nOOMScoreAdjust=0\r\nNice=0\r\nIOScheduling=0\r\nCPUSchedulingPolicy=0\r\nCPUSchedulingPriority=0\r\nTimerSlackNSec=50000\r\nCPUSchedulingResetOnFork=no\r\nNonBlocking=no\r\nStandardInput=null\r\nStandardOutput=journal\r\nStandardError=inherit\r\nTTYReset=no\r\nTTYVHangup=no\r\nTTYVTDisallocate=no\r\nSyslogPriority=30\r\nSyslogLevelPrefix=yes\r\nSecureBits=0\r\nCapabilityBoundingSet=18446744073709551615\r\nAmbientCapabilities=0\r\nMountFlags=0\r\nPrivateTmp=no\r\nPrivateNetwork=no\r\nPrivateDevices=no\r\nProtectHome=no\r\nProtectSystem=no\r\nSameProcessGroup=no\r\nIgnoreSIGPIPE=yes\r\nNoNewPrivileges=no\r\nSystemCallErrorNumber=0\r\nRuntimeDirectoryMode=0755\r\nKillMode=process\r\nKillSignal=15\r\nSendSIGKILL=yes\r\nSendSIGHUP=no\r\nId=docker.service\r\nNames=docker.service\r\nRequires=basic.target\r\nWants=network-online.target system.slice\r\nConflicts=shutdown.target\r\nBefore=shutdown.target\r\nAfter=basic.target systemd-journald.socket system.slice network-online.target firewalld.service\r\nDocumentation=https://docs.docker.com\r\nDescription=Docker Application Container Engine\r\nLoadState=loaded\r\nActiveState=active\r\nSubState=running\r\nFragmentPath=/usr/lib/systemd/system/docker.service\r\nUnitFileState=disabled\r\nUnitFilePreset=disabled\r\nInactiveExitTimestamp=Fri 2018-11-23 18:36:10 CST\r\nInactiveExitTimestampMonotonic=186275748\r\nActiveEnterTimestamp=Fri 2018-11-23 18:36:17 CST\r\nActiveEnterTimestampMonotonic=193128576\r\nActiveExitTimestampMonotonic=0\r\nInactiveEnterTimestampMonotonic=0\r\nCanStart=yes\r\nCanStop=yes\r\nCanReload=yes\r\nCanIsolate=no\r\nStopWhenUnneeded=no\r\nRefuseManualStart=no\r\nRefuseManualStop=no\r\nAllowIsolate=no\r\nDefaultDependencies=yes\r\nOnFailureJobMode=replace\r\nIgnoreOnIsolate=no\r\nIgnoreOnSnapshot=no\r\nNeedDaemonReload=no\r\nJobTimeoutUSec=0\r\nJobTimeoutAction=none\r\nConditionResult=yes\r\nAssertResult=yes\r\nConditionTimestamp=Fri 2018-11-23 18:36:10 CST\r\nConditionTimestampMonotonic=186274008\r\nAssertTimestamp=Fri 2018-11-23 18:36:10 CST\r\nAssertTimestampMonotonic=186274008\r\nTransient=no\r\n```\r\nHave `kubectl`\r\n\r\n## Kubernetes\r\n\r\nOutput of \"`kubectl version`\":\r\n```\r\nClient Version: version.Info{Major:\"1\", Minor:\"9\", GitVersion:\"v1.9.2\", GitCommit:\"5fa2db2bd46ac79e5e00a4e6ed24191080aa463b\", GitTreeState:\"clean\", BuildDate:\"2018-01-18T10:09:24Z\", GoVersion:\"go1.9.2\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nThe connection to the server localhost:8080 was refused - did you specify the right host or port?\r\n```\r\nOutput of \"`kubectl config view`\":\r\n```\r\napiVersion: v1\r\nclusters: []\r\ncontexts: []\r\ncurrent-context: \"\"\r\nkind: Config\r\npreferences: {}\r\nusers: []\r\n```\r\nOutput of \"`systemctl show kubelet`\":\r\n```\r\nType=simple\r\nRestart=on-failure\r\nNotifyAccess=none\r\nRestartUSec=5s\r\nTimeoutStartUSec=1min 30s\r\nTimeoutStopUSec=5s\r\nWatchdogUSec=0\r\nWatchdogTimestampMonotonic=0\r\nStartLimitInterval=10000000\r\nStartLimitBurst=5\r\nStartLimitAction=none\r\nFailureAction=none\r\nPermissionsStartOnly=no\r\nRootDirectoryStartOnly=no\r\nRemainAfterExit=no\r\nGuessMainPID=yes\r\nMainPID=0\r\nControlPID=0\r\nFileDescriptorStoreMax=0\r\nStatusErrno=0\r\nResult=success\r\nExecMainStartTimestampMonotonic=0\r\nExecMainExitTimestampMonotonic=0\r\nExecMainPID=0\r\nExecMainCode=0\r\nExecMainStatus=0\r\nExecStart={ path=/usr/local/bin/kubelet ; argv[]=/usr/local/bin/kubelet --address=100.119.241.11 --hostname-override=100.119.241.11 --pod-infra-container-image=10.55.205.212:5000/library/pause-amd64:3.0 --bootstrap-kubeconfig=/etc/kubernetes/bootstrap.kubeconfig --kubeconfig=/etc/kubernetes/kubelet.kubeconfig --pod-manifest-path=/etc/kubernetes/manifests --cert-dir=/etc/kubernetes/ssl --cluster-dns=192.168.0.2 --cluster-domain=cluster.local. --hairpin-mode promiscuous-bridge --allow-privileged=true --serialize-image-pulls=false --v=2 --cgroup-driver=cgroupfs --fail-swap-on=false --feature-gates=Accelerators=true,DevicePlugins=true,RotateKubeletClientCertificate=true,RotateKubeletServerCertificate=true # --cpu-manager-policy=nvidia --kube-reserved=cpu=0 --minimum-image-ttl-duration=43800h --logtostderr=false --root-dir=/var/lib/kubelet --log-dir=/data/log/k8s --image-gc-low-threshold=100 --image-gc-high-threshold=100 --eviction-hard=nodefs.available<1% --image-pull-progress-deadline=10m --network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }\r\nSlice=system.slice\r\nMemoryCurrent=18446744073709551615\r\nTasksCurrent=18446744073709551615\r\nDelegate=no\r\nCPUAccounting=no\r\nCPUShares=18446744073709551615\r\nStartupCPUShares=18446744073709551615\r\nCPUQuotaPerSecUSec=infinity\r\nBlockIOAccounting=no\r\nBlockIOWeight=18446744073709551615\r\nStartupBlockIOWeight=18446744073709551615\r\nMemoryAccounting=no\r\nMemoryLimit=18446744073709551615\r\nDevicePolicy=auto\r\nTasksAccounting=no\r\nTasksMax=18446744073709551615\r\nUMask=0022\r\nLimitCPU=18446744073709551615\r\nLimitFSIZE=18446744073709551615\r\nLimitDATA=18446744073709551615\r\nLimitSTACK=18446744073709551615\r\nLimitCORE=18446744073709551615\r\nLimitRSS=18446744073709551615\r\nLimitNOFILE=4096\r\nLimitAS=18446744073709551615\r\nLimitNPROC=1030185\r\nLimitMEMLOCK=65536\r\nLimitLOCKS=18446744073709551615\r\nLimitSIGPENDING=1030185\r\nLimitMSGQUEUE=819200\r\nLimitNICE=0\r\nLimitRTPRIO=0\r\nLimitRTTIME=18446744073709551615\r\nWorkingDirectory=/var/lib/kubelet\r\nOOMScoreAdjust=0\r\nNice=0\r\nIOScheduling=0\r\nCPUSchedulingPolicy=0\r\nCPUSchedulingPriority=0\r\nTimerSlackNSec=50000\r\nCPUSchedulingResetOnFork=no\r\nNonBlocking=no\r\nStandardInput=null\r\nStandardOutput=journal\r\nStandardError=inherit\r\nTTYReset=no\r\nTTYVHangup=no\r\nTTYVTDisallocate=no\r\nSyslogPriority=30\r\nSyslogLevelPrefix=yes\r\nSecureBits=0\r\nCapabilityBoundingSet=18446744073709551615\r\nAmbientCapabilities=0\r\nMountFlags=0\r\nPrivateTmp=no\r\nPrivateNetwork=no\r\nPrivateDevices=no\r\nProtectHome=no\r\nProtectSystem=no\r\nSameProcessGroup=no\r\nIgnoreSIGPIPE=yes\r\nNoNewPrivileges=no\r\nSystemCallErrorNumber=0\r\nRuntimeDirectoryMode=0755\r\nKillMode=process\r\nKillSignal=15\r\nSendSIGKILL=yes\r\nSendSIGHUP=no\r\nId=kubelet.service\r\nNames=kubelet.service\r\nRequires=-.mount basic.target\r\nWants=system.slice\r\nConflicts=shutdown.target\r\nBefore=shutdown.target\r\nAfter=-.mount basic.target system.slice systemd-journald.socket\r\nRequiresMountsFor=/var/lib/kubelet\r\nDocumentation=https://kubernetes.io/docs/home/\r\nDescription=kubernetes Kubelet\r\nLoadState=loaded\r\nActiveState=inactive\r\nSubState=dead\r\nFragmentPath=/etc/systemd/system/kubelet.service\r\nUnitFileState=disabled\r\nUnitFilePreset=disabled\r\nInactiveExitTimestampMonotonic=0\r\nActiveEnterTimestampMonotonic=0\r\nActiveExitTimestampMonotonic=0\r\nInactiveEnterTimestampMonotonic=0\r\nCanStart=yes\r\nCanStop=yes\r\nCanReload=no\r\nCanIsolate=no\r\nStopWhenUnneeded=no\r\nRefuseManualStart=no\r\nRefuseManualStop=no\r\nAllowIsolate=no\r\nDefaultDependencies=yes\r\nOnFailureJobMode=replace\r\nIgnoreOnIsolate=no\r\nIgnoreOnSnapshot=no\r\nNeedDaemonReload=no\r\nJobTimeoutUSec=0\r\nJobTimeoutAction=none\r\nConditionResult=no\r\nAssertResult=no\r\nConditionTimestampMonotonic=0\r\nAssertTimestampMonotonic=0\r\nTransient=no\r\n```\r\nNo `crio`\r\n\r\n---\r\n\r\n\r\n# Packages\r\n\r\nNo `dpkg`\r\nHave `rpm`\r\nOutput of \"`rpm -qa|egrep \"(cc-oci-runtimecc-runtimerunv|kata-proxy|kata-runtime|kata-shim|kata-ksm-throttler|kata-containers-image|linux-container|qemu-)\"`\":\r\n```\r\nqemu-vanilla-bin-2.11.2+git.0982a56a55-5.1.x86_64\r\nkata-proxy-1.3.1+git.d364b2e-3.1.x86_64\r\nqemu-lite-2.11.0+git.f886228056-5.1.x86_64\r\nkata-runtime-1.3.1+git.258eae0-3.1.x86_64\r\nqemu-lite-data-2.11.0+git.f886228056-5.1.x86_64\r\nqemu-lite-bin-2.11.0+git.f886228056-5.1.x86_64\r\nkata-ksm-throttler-1.3.1.git+6e903fb-3.1.x86_64\r\nkata-containers-image-1.3.1-3.1.x86_64\r\nqemu-vanilla-2.11.2+git.0982a56a55-5.1.x86_64\r\nkata-shim-1.3.1+git.58f757d-3.1.x86_64\r\nkata-linux-container-4.14.67.16-4.1.x86_64\r\nkata-shim-bin-1.3.1+git.58f757d-3.1.x86_64\r\nkata-linux-container-debug-4.14.67.16-4.1.x86_64\r\nqemu-vanilla-data-2.11.2+git.0982a56a55-5.1.x86_64\r\nkata-proxy-bin-1.3.1+git.d364b2e-3.1.x86_64\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kata-containers/runtime/issues/comments/443150481","html_url":"https://github.com/kata-containers/runtime/issues/955#issuecomment-443150481","issue_url":"https://api.github.com/repos/kata-containers/runtime/issues/955","id":443150481,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzE1MDQ4MQ==","user":{"login":"telala","id":29300176,"node_id":"MDQ6VXNlcjI5MzAwMTc2","avatar_url":"https://avatars1.githubusercontent.com/u/29300176?v=4","gravatar_id":"","url":"https://api.github.com/users/telala","html_url":"https://github.com/telala","followers_url":"https://api.github.com/users/telala/followers","following_url":"https://api.github.com/users/telala/following{/other_user}","gists_url":"https://api.github.com/users/telala/gists{/gist_id}","starred_url":"https://api.github.com/users/telala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telala/subscriptions","organizations_url":"https://api.github.com/users/telala/orgs","repos_url":"https://api.github.com/users/telala/repos","events_url":"https://api.github.com/users/telala/events{/privacy}","received_events_url":"https://api.github.com/users/telala/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T09:51:12Z","updated_at":"2018-11-30T09:51:12Z","author_association":"NONE","body":"@caoruidong I have to set a listening port corresponding the listening So I have to use the tcp..."}}
{"actor":{"display_login":"telala"}}