I’m pretty confident this is proxy name resolution issues. Thanks corporate network. 

Disable dnsmasq in the host. (Assuming Ubuntu host)

Thx,
Eric

Comment out dnsmasq in:

$ sudo vi /etc/NetworkManager/NetworkManager.conf

$ sudo systemctl daemon-reload 
$ sudo systemctl restart network-manager


On Jun 7, 2018, at 8:20 AM, Liu, Changcheng <changcheng.liu@intel.com> wrote:

Hi James,

     The issue is WAed when building centos rootfs by below changes:

           1) set the proxy ip:port explicitly in rootfs.sh

           2) set the dns info when staring docker daemon.

     Even with the above change, I still can’t build the fedora rootfs which maybe the image’s issue. Need further check.

 

     File ticket: https://github.com/kata-containers/osbuilder/issues/48

 

--Thanks

Changcheng

 

From: Liu, Changcheng
Sent: Thursday, June 7, 2018 12:35 AM
To: 'Hunt, James O' <james.o.hunt@intel.com>
Cc: kata-dev@lists.katacontainers.io
Subject: RE: [kata-dev] osbuilder/rootfs build with docker on native ubuntu host

 

@James, Thanks for your reminding. I’ll raise the ticket if I still hit the issue.

 

From: Hunt, James O [mailto:james.o.hunt@intel.com]
Sent: Wednesday, June 6, 2018 8:31 PM
To: Liu, Changcheng <changcheng.liu@intel.com>
Cc: kata-dev@lists.katacontainers.io
Subject: Re: [kata-dev] osbuilder/rootfs build with docker on native ubuntu host

 

Hi Changcheng,

 

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).

 

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?

 

https://github.com/kata-containers/osbuilder/issues/new

 

Cheers,

 

James

_______________________________________________
kata-dev mailing list
kata-dev@lists.katacontainers.io
http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev