[Starlingx-discuss] Does openstack-helm-infra needs network access to build?
Hu, Yong
yong.hu at intel.com
Wed Nov 7 03:50:11 UTC 2018
I also met the same problem, and resolved it by adding proxy settings into “~/cgcs-root/cgcs-centos-repo/mock.cfg.proto”:
config_opts[‘rpmbuild_networking’] = False
+ config_opts[‘no_proxy’] = ‘127.0.0.1’
+ config_opts[‘http_proxy’]= ‘http://<your_http_proxy>:<your_http_proxy_port>’
+ config_opts[‘https_proxy’]= ‘http:// <your_https_proxy>:<your_https_proxy_port>’
Here is my screenshot of my build:
03:35:07 ===== wait for last jobs in iteration 1 to complete =====
03:35:07 building openstack-helm-infra-1.0-3.tis.src.rpm
03:36:02 End build on ‘b0’: /localdisk/loadbuild/yhu6/starlingx/std/rpmbuild/SRPMS/openstack-helm-infra-1.0-3.tis.src.rpm
03:36:02 Success building openstack-helm-infra-1.0-3.tis.src.rpm on ‘b0’ (edited)
I might file a patch to "~/build-tools/repo_files/mock.cfg.proto b/build-tools/repo_files/mock.cfg.proto", which is the original copy of “~/cgcs-root/cgcs-centos-repo/mock.cfg.proto".
Though, I also like to see if there is a better solution.
-yong
On 07/11/2018, 8:29 AM, "Cordoba Malibran, Erich" <erich.cordoba.malibran at intel.com> wrote:
Hi all,
We are seeing a failure today in our build environment. The openstack-
helm-infra package is failing. Checking the logs it seems that the
network access is required during building:
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Error: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Get https://kubernetes-charts.storage.googleapis.com/index.yaml: proxyconnect tcp: dial tcp: lookup <our-proxy> on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address
error: Bad exit status from /var/tmp/rpm-tmp.KecSPl (%build)
We run the build in an isolated environment without internet access.
Is someone seeing something similar? If this is true, then what would
be the best practice here, do we want network access while building? or
it should work in an isolated environment?
Thanks in advance
-Erich
_______________________________________________
Starlingx-discuss mailing list
Starlingx-discuss at lists.starlingx.io
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
More information about the Starlingx-discuss
mailing list