<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<div dir="ltr">Networking should be transparent to you. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">If you have standard (runc) containers working but see failures with Kata, then this is an issue. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Can you please verify your setup as a first step?</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Eric</div>
<div dir="ltr"><br>
<blockquote type="cite">On Nov 20, 2019, at 8:41 AM, Al Lau <lauatic@gmail.com> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">Q1. Are these all kata-container VMs<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">Yes. These are all kata-containers VMs. </span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">Q2. Are you using some standard container networking infra, like CNI, to link them together?</span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">Yes. We use the CNI and set up a new bridge plugin in /etc/cni/net.d/ directory. This is what I have already done.
I'm still debugging the issue I'm facing in getting the VMs to communicate.</span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><br>
</span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">Thanks,</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">Al</span></font></p>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Nov 20, 2019 at 8:18 AM Whaley, Graham <<a href="mailto:graham.whaley@intel.com">graham.whaley@intel.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-GB">
<div class="gmail-m_3554873071242346399WordSection1">
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I won’t have the answers, but some questions to help clarify…<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Q1. Are these all kata-container VMs<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Q2. Are you using some standard container networking infra, like CNI, to link them together?<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Afaik, kata should ‘just work’ if sat under a CNI setup.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Kata has a number of ways it can discover/config/integrate with the networking passed in from the
higher levels – iirc, we default to using ‘tcfilter’ at the moment. Have a look in the config file for some more info.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><a href="https://github.com/kata-containers/runtime/blob/master/cli/config/configuration-qemu.toml.in#L378" target="_blank">https://github.com/kata-containers/runtime/blob/master/cli/config/configuration-qemu.toml.in#L378</a><u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">bottom line is I think, if the higher level orchestration has set up the networking correctly as
it would for say ‘runc’, then kata should pick that up and translate/re-configure it into the VM and host side so it works ‘seamlessly’.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Graham<u></u><u></u></span></font></p>
<p class="MsoNormal"><a name="m_3554873071242346399__MailEndCompose"><font size="2" color="#1f497d" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></font></a></p>
<div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0cm 0cm 0cm 4pt">
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><a name="m_3554873071242346399______replyseparator"></a><b><font size="2" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;font-weight:bold">From:</span></font></b><font size="2" face="Calibri"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">
Al Lau [mailto:<a href="mailto:lauatic@gmail.com" target="_blank">lauatic@gmail.com</a>]
<br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, November 20, 2019 3:27 PM<br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:kata-dev@lists.katacontainers.io" target="_blank">
kata-dev@lists.katacontainers.io</a><br>
<b><span style="font-weight:bold">Subject:</span></b> [kata-dev] Networking between containers in qemu processes<u></u><u></u></span></font></p>
</div>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">Hi,<u></u><u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">I'm looking for information on how to set up communication between containers running within virtual machines. On a host, there are multiple VMs with containers and set
up networking between the containers in different VMs.<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">Thanks,<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">Al<u></u><u></u></span></font></p>
</div>
</div>
</div>
</div>
<p>---------------------------------------------------------------------<br>
Intel Corporation (UK) Limited<br>
Registered No. 1134945 (England)<br>
Registered Office: Pipers Way, Swindon SN3 1RJ<br>
VAT No: 860 2173 47</p>
<p>This e-mail and any attachments may contain confidential material for<br>
the sole use of the intended recipient(s). Any review or distribution<br>
by others is strictly prohibited. If you are not the intended<br>
recipient, please contact the sender and delete all copies.</p>
</div>
</blockquote>
</div>
<span>_______________________________________________</span><br>
<span>kata-dev mailing list</span><br>
<span>kata-dev@lists.katacontainers.io</span><br>
<span>http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev</span><br>
</div>
</blockquote>
</body>
</html>