<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.msipheadera92f4c5c, li.msipheadera92f4c5c, div.msipheadera92f4c5c
        {mso-style-name:msipheadera92f4c5c;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:62069479;
        mso-list-template-ids:2024303118;}
@list l0:level1
        {mso-level-start-at:2;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:489098662;
        mso-list-template-ids:-1962249220;}
@list l1:level1
        {mso-level-start-at:3;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2
        {mso-list-id:679309453;
        mso-list-template-ids:1237899436;}
@list l3
        {mso-list-id:873738538;
        mso-list-template-ids:-1663918964;}
@list l3:level1
        {mso-level-start-at:5;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l4
        {mso-list-id:958071720;
        mso-list-template-ids:170537904;}
@list l4:level1
        {mso-level-start-at:6;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l5
        {mso-list-id:1169753572;
        mso-list-type:hybrid;
        mso-list-template-ids:-2007733386 930784972 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l5:level1
        {mso-level-text:"\(%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l5:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l5:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l5:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l5:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l5:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l5:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l5:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l5:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l6
        {mso-list-id:1639188627;
        mso-list-template-ids:1374441676;}
@list l6:level1
        {mso-level-start-at:4;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="msipheadera92f4c5c" style="margin:0in"><span style="font-family:"Arial",sans-serif;color:#0078D7">[AMD Official Use Only - Internal Distribution Only]</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Developers,<o:p></o:p></p>
<ol start="1" type="1">
<li class="MsoListParagraph" style="mso-list:l5 level1 lfo3">Trying version-1 syntax:          (for /usr/local/bin/containerd –config /etc/containerd/config.toml),<o:p></o:p></li></ol>
<p class="MsoListParagraph" style="margin-left:.5in"># cat /etc/containerd/config.toml<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">[plugins.cri.containerd]<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">      no_pivot = false<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">    [plugins.cri.containerd.runtimes]<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">      [plugins.cri.containerd.runtimes.runc]<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">         runtime_type = "io.containerd.runc.v1"<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">         [plugins.cri.containerd.runtimes.runc.options]<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           NoPivotRoot = false<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           NoNewKeyring = false<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           ShimCgroup = ""<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           IoUid = 0<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           IoGid = 0<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           BinaryName = "runc"<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           Root = ""<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           CriuPath = ""<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           SystemdCgroup = false<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">      [plugins.cri.containerd.runtimes.kata]<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">         runtime_type = "io.containerd.kata.v2"<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">          [plugins.cri.containerd.runtimes.kata.options]<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           ConfigPath = "/etc/kata-containers/configuration.toml"<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">      [plugins.cri.containerd.runtimes.katacli]<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">         runtime_type = "io.containerd.runc.v1"<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">         [plugins.cri.containerd.runtimes.katacli.options]<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           NoPivotRoot = false<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           NoNewKeyring = false<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           ShimCgroup = ""<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           IoUid = 0<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           IoGid = 0<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           BinaryName = "/usr/local/bin/kata-runtime"<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           Root = ""<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           CriuPath = ""<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">           SystemdCgroup = false<o:p></o:p></p>
<ol start="2" type="1">
<li class="MsoListParagraph" style="mso-list:l5 level1 lfo3">kata-runtime version 1.1.0 is successful as follows :<o:p></o:p></li></ol>
<p class="MsoListParagraph" style="margin-left:.5in">/usr/local/bin/kata-runtime --version<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">kata-runtime  : 1.1.0<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">   commit   : 292786890bd4792226c4fbf9b5268a92c27fe0f1-dirty<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">   OCI specs: 1.0.1<o:p></o:p></p>
<ol start="3" type="1">
<li class="MsoListParagraph" style="mso-list:l5 level1 lfo3">kata-runtime ver 1.1.0 works, as follows :  
<o:p></o:p></li></ol>
<p class="MsoListParagraph" style="margin-left:.5in"># ctr run --runtime io.containerd.run.kata.v2 -t --rm docker.io/library/busybox:latest sh<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">/ #<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">/ # ps -eaf<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">PID   USER     TIME  COMMAND<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">    1 root      0:00 sh<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">    6 root      0:00 ps -eaf<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">/ #<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">/ # uname -a<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">Linux kata-container 5.6.0-sev-sev-es-5.6-v3.container #3 SMP Tue Nov 3 06:38:40 UTC 2020 x86_64 GNU/Linux<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">/ #<o:p></o:p></p>
<ol start="4" type="1">
<li class="MsoListParagraph" style="mso-list:l5 level1 lfo3">For kata-runtime, ver 1.1.0 :<o:p></o:p></li></ol>
<p class="MsoListParagraph" style="margin-left:.5in"># ps -eaf | grep -i container<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">root       98257       1  0 03:52 ?        00:00:19 /usr/local/bin/containerd<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">root       98329       1  0 03:52 ?        00:00:33 /usr/local/bin/containerd-shim-kata-v2 -namespace default -address /run/containerd/containerd.sock -publish-binary /usr/local/bin/containerd -id bash<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">root       98347       1  0 03:52 ?        00:00:51 /usr/local/bin/qemu-system-x86_64 -name sandbox-bash -uuid 27d16f68-1fc9-483f-a33b-e6224772273e -machine q35,accel=kvm,kernel_irqchip -cpu host, -qmp unix:/run/vc/vm/bash/qmp.sock,server,nowait
 -m 512M,slots=10,maxmem=129755M -device pci-bridge,bus=pcie.0,id=pci-bridge-0,chassis_nr=1,shpc=on,addr=2,romfile= -device virtio-serial-pci,disable-modern=false,id=serial0,romfile= -device virtconsole,chardev=charconsole0,id=console0 -chardev socket,id=charconsole0,path=/run/vc/vm/bash/console.sock,server,nowait
 -object rng-random,id=rng0,filename=/dev/urandom -device virtio-rng-pci,rng=rng0,romfile= -device virtserialport,chardev=charch0,id=channel0,name=agent.channel.0 -chardev socket,id=charch0,path=/run/vc/vm/bash/kata.sock,server,nowait -device virtio-9p-pci,disable-modern=false,fsdev=extra-9p-kataShared,mount_tag=kataShared,romfile=
 -fsdev local,id=extra-9p-kataShared,path=/run/kata-containers/shared/sandboxes/bash/shared,security_model=none,multidevs=remap -rtc base=utc,driftfix=slew,clock=host -global kvm-pit.lost_tick_policy=discard -vga none -no-user-config -nodefaults -nographic
 --no-reboot -daemonize -object memory-backend-ram,id=dimm1,size=512M -numa node,memdev=dimm1 -kernel /usr/share/kata-containers/vmlinuz-sev-es-5.6-v3.container -initrd /usr/share/kata-containers/kata-containers-initrd_alpine_1.12.0-rc0_agent_5cfb8ec960.initrd
 -append tsc=reliable no_timer_check rcupdate.rcu_expedited=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 i8042.noaux=1 noreplace-smp reboot=k console=hvc0 console=hvc1 cryptomgr.notests net.ifnames=0 pci=lastbus=0 iommu=off debug panic=1 nr_cpus=240 agent.use_vsock=false
 root=/dev/vda1 rootflags=data=ordered,errors=remount-ro agent.log=debug initcall_debug -pidfile /run/vc/vm/bash/pid -D /run/vc/vm/bash/qemu.log -smp 1,cores=1,threads=1,sockets=240,maxcpus=240<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">root       99602   99593  0 07:55 pts/1    00:00:00 grep --color=auto -i container<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in"><o:p> </o:p></p>
<ol start="5" type="1">
<li class="MsoListParagraph" style="mso-list:l5 level1 lfo3">Exactly the same (above) environment, kata-runtime ver 2.0.0 is failing as follows:<o:p></o:p></li></ol>
<p class="MsoListParagraph" style="margin-left:.5in"># /usr/local/bin/kata-runtime --version<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">  : 2.0.0<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">   commit   : <<unknown>><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">   OCI specs: 1.0.1-dev<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">/# ctr run --runtime io.containerd.run.kata.v2 -t --rm docker.io/library/busybox:latest sh<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.5in">ctr: Failed to check if grpc server is working: unexpected EOF: unknown<o:p></o:p></p>
<p class="MsoListParagraph"><o:p> </o:p></p>
<ol start="6" type="1">
<li class="MsoListParagraph" style="mso-list:l5 level1 lfo3">I can discuss this Issue in, Kata AC call in 2021 on January 5<sup>th</sup>.<o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">--Thanking You<o:p></o:p></p>
<p class="MsoNormal">--Best Regards,<o:p></o:p></p>
<p class="MsoNormal">--Sandeep Gupta<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>