<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body dir="auto">
<div></div>
<div>I’m pretty confident this is proxy name resolution issues. Thanks corporate network. </div>
<div><br>
</div>
<div>Disable dnsmasq in the host. (Assuming Ubuntu host)</div>
<div><br>
</div>
<div>Thx,</div>
<div>Eric</div>
<div><br>
</div>
<div>
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;"><span style="background-color: rgba(255, 255, 255, 0);">Comment out dnsmasq in:</span></p>
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;"><span style="background-color: rgba(255, 255, 255, 0);"><code style="box-sizing: border-box; padding: 0.2em 0.4em; margin: 0px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;">$
sudo vi /etc/NetworkManager/NetworkManager.conf</code></span></p>
<pre style="box-sizing: border-box; word-wrap: normal; margin-top: 0px; padding: 16px; overflow: scroll; line-height: 1.45; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin-bottom: 0px !important;"><code style="box-sizing: border-box; padding: 0px; margin: 0px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleBody">$ sudo systemctl daemon-reload </font></code></pre>
<pre style="box-sizing: border-box; word-wrap: normal; margin-top: 0px; padding: 16px; overflow: scroll; line-height: 1.45; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin-bottom: 0px !important;"><code style="box-sizing: border-box; padding: 0px; margin: 0px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleBody">$ sudo systemctl restart network-manager</font></code></pre>
</div>
<div><br>
</div>
<div><br>
On Jun 7, 2018, at 8:20 AM, Liu, Changcheng <<a href="mailto:changcheng.liu@intel.com">changcheng.liu@intel.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Bookman Old Style";
panose-1:2 5 6 4 5 5 5 2 2 4;}
@font-face
{font-family:FangSong;
panose-1:2 1 6 9 6 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Bookman Old Style",serif;
color:#1F497D;
text-decoration:none none;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Bookman Old Style",serif;
color:#1F497D;
text-decoration:none none;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Bookman Old Style",serif;
color:#1F497D;
text-decoration:none none;}
.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;}
--></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]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D">Hi James,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D"> The issue is WAed when building centos rootfs by below changes:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D"> 1) set the proxy ip:port explicitly in rootfs.sh<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D"> 2) set the dns info when staring docker daemon.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D"> Even with the above change, I still can’t build the fedora rootfs which maybe the image’s issue. Need further check.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D"> File ticket:
<a href="https://github.com/kata-containers/osbuilder/issues/48">https://github.com/kata-containers/osbuilder/issues/48</a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D">--Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D">Changcheng<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Liu, Changcheng
<br>
<b>Sent:</b> Thursday, June 7, 2018 12:35 AM<br>
<b>To:</b> 'Hunt, James O' <<a href="mailto:james.o.hunt@intel.com">james.o.hunt@intel.com</a>><br>
<b>Cc:</b> <a href="mailto:kata-dev@lists.katacontainers.io">kata-dev@lists.katacontainers.io</a><br>
<b>Subject:</b> RE: [kata-dev] osbuilder/rootfs build with docker on native ubuntu host<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D">@James, Thanks for your reminding. I’ll raise the ticket if I still hit the issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Bookman Old Style",serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Hunt, James O [<a href="mailto:james.o.hunt@intel.com">mailto:james.o.hunt@intel.com</a>]
<br>
<b>Sent:</b> Wednesday, June 6, 2018 8:31 PM<br>
<b>To:</b> Liu, Changcheng <<a href="mailto:changcheng.liu@intel.com">changcheng.liu@intel.com</a>><br>
<b>Cc:</b> <a href="mailto:kata-dev@lists.katacontainers.io">kata-dev@lists.katacontainers.io</a><br>
<b>Subject:</b> Re: [kata-dev] osbuilder/rootfs build with docker on native ubuntu host<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Changcheng,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">It looks like it might be a network issue or (possibly?) you happened to run the command when the Fedora repo was being updated (I'm not sure if their repo updates are atomic).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Could you try re-running and if that doesn't work, raising an issue with the output of `sudo kata-collect-data.sh` pasted into the github issue?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">- <a href="https://github.com/kata-containers/osbuilder/issues/new">https://github.com/kata-containers/osbuilder/issues/new</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">James<span style="color:#1F497D"><o:p></o:p></span></p>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>kata-dev mailing list</span><br>
<span><a href="mailto:kata-dev@lists.katacontainers.io">kata-dev@lists.katacontainers.io</a></span><br>
<span><a href="http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev">http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev</a></span><br>
</div>
</blockquote>
</body>
</html>