[Starlingx-discuss] stx-tools: setup stx build environment

Hu, Yong yong.hu at intel.com
Mon Nov 26 01:35:34 UTC 2018


You can use this command to fix the limitation issue in your build container (CentOS):

sudo sed -i 's/nr_inodes=0/nr_inodes=100k/g' /usr/lib/python2.7/site-packages/mockbuild/plugins/tmpfs.py


From: "Liu, Changcheng" <changcheng.liu at intel.com>
Date: Monday, 26 November 2018 at 9:28 AM
To: "Hu, Yong" <yong.hu at intel.com>, Erich Cordoba <erich.cm.lists at yandex.com>, "'starlingx-discuss at lists.starlingx.io'" <starlingx-discuss at lists.starlingx.io>, "Cordoba Malibran, Erich" <erich.cordoba.malibran at intel.com>
Subject: RE: [Starlingx-discuss] stx-tools: setup stx build environment

Hi Yong,
Yes. The proxy should be right. But the error is still there.

BTW, I also hit below error:
09:23:46 b3: INFO: mounting tmpfs at /localdisk/loadbuild/nstcc1/starlingx/std/mock/b3/root.
09:23:46 b3: ERROR: Command failed:
09:23:46 b3:  # mount -n -t tmpfs -o mode=0755 -o nr_inodes=0 -o size=11g mock_chroot_tmpfs /localdisk/loadbuild/nstcc1/starlingx/std/mock/b3/root

B.R.
Changcheng
From: Hu, Yong
Sent: Monday, November 26, 2018 9:10 AM
To: Liu, Changcheng <changcheng.liu at intel.com<mailto:changcheng.liu at intel.com>>; Erich Cordoba <erich.cm.lists at yandex.com<mailto:erich.cm.lists at yandex.com>>; 'starlingx-discuss at lists.starlingx.io' <starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>>; Cordoba Malibran, Erich <erich.cordoba.malibran at intel.com<mailto:erich.cordoba.malibran at intel.com>>
Subject: Re: [Starlingx-discuss] stx-tools: setup stx build environment

Your no_proxy env setting should resolve the following error, are you still seeing it?
21:10:47 http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable

From: "Liu, Changcheng" <changcheng.liu at intel.com<mailto:changcheng.liu at intel.com>>
Date: Sunday, 25 November 2018 at 3:24 PM
To: Erich Cordoba <erich.cm.lists at yandex.com<mailto:erich.cm.lists at yandex.com>>, "'starlingx-discuss at lists.starlingx.io'" <starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>>, "Cordoba Malibran, Erich" <erich.cordoba.malibran at intel.com<mailto:erich.cordoba.malibran at intel.com>>
Subject: Re: [Starlingx-discuss] stx-tools: setup stx build environment

Hi Erich,
Is there anything wrong with proxy env in container as below?
[nstcc1 at d8ae703a2a91 /]$ env | grep -i proxy
NO_PROXY=localhost,.intel.com,127.0.0.0/8,172,16.0.0/20,192.168.0.0/16,10.0.0.0/8
http_proxy=http://child-prc.intel.com:913
FTP_PROXY=ftp://child-prc.intel.com:913
ftp_proxy=ftp://child-prc.intel.com:913
https_proxy=http://child-prc.intel.com:913
HTTPS_PROXY=http://child-prc.intel.com:913
no_proxy=localhost,.intel.com,127.0.0.0/8,172,16.0.0/20,192.168.0.0/16,10.0.0.0/8
HTTP_PROXY=http://child-prc.intel.com:913

B.R.
Changcheng


From: Erich Cordoba [mailto:erich.cm.lists at yandex.com]
Sent: Friday, November 23, 2018 9:37 PM
To: 'starlingx-discuss at lists.starlingx.io' <starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>>; Cordoba Malibran, Erich <erich.cordoba.malibran at intel.com<mailto:erich.cordoba.malibran at intel.com>>; Liu, Changcheng <changcheng.liu at intel.com<mailto:changcheng.liu at intel.com>>
Subject: Re: [Starlingx-discuss] stx-tools: setup stx build environment

Hi Liu,

As you need to setup a proxy, you need also to set the no_proxy=127.0.0.1 env variable, so mock can find the internal repository.

This is something that we need to do in our internal build job.

-Erich

--
Sent from Yandex.Mail for mobile


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20181126/96312093/attachment.html>


More information about the Starlingx-discuss mailing list