I add insecure registries to the docker daemon config and restart the docker daemon. I'm not familiar with the file you listed but there might be multiple ways to get docker daemon to ignore the insecure registry.
Brian From: [email protected] <[email protected]> On Behalf Of Golabek, Tomasz (Nokia - PL/Wroclaw) Sent: Tuesday, May 28, 2019 7:18 AM To: Syed Atif Husain <[email protected]>; [email protected] Subject: Re: [onap-discuss] [sdc] Error in local sdc setup - image pull fails Hi, can You try to reinstall your docker to version 18.03.1.ce and retry the process? I think that this problem refers to your environment setup or network issue associated with proxy settings (if you are using any). Best regards Tomasz Golabek ________________________________ From: Syed Atif Husain <[email protected]<mailto:[email protected]>> Sent: Tuesday, May 28, 2019 1:07:46 PM To: [email protected]<mailto:[email protected]>; Golabek, Tomasz (Nokia - PL/Wroclaw) Cc: [email protected]<mailto:[email protected]> Subject: RE: [onap-discuss] [sdc] Error in local sdc setup - image pull fails Hi Tomasz, I tried with 1.4.0 but it fails with the same error. In fact 1.4.1 is also present in nexus3, it is unable to access nexus3 itself. I got below error when I ran the build with -X option Caused by: io.fabric8.maven.docker.access.hc.http.HttpRequestException: v1 ping attempt failed with error: Get https://nexus3.onap.org:10001/v1/_ping<https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus3.onap.org-3A10001_v1_-5Fping&d=DwQF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=0chVOLyT_sf5P_6q0H1BkKlKCOX4auWx0dNlBNKeenY&s=G0tzOjh-U2PF1mxn5xtLBfiOEseZ6BaQXZCCgZssRcg&e=>: dial tcp: i/o timeout. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry nexus3.onap.org:10001` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/nexus3.onap.org:10001/ca.crt (Internal Server Error: 500) at io.fabric8.maven.docker.access.hc.ApacheHttpClientDelegate$StatusCodeCheckerResponseHandler.handleResponse(ApacheHttpClientDelegate.java:177) I tried adding `--insecure-registry nexus3.onap.org:10001 to the file /opt/config/nexus_docker_repo.txt but that also didn't help. Regards, Atif From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of Golabek, Tomasz (Nokia - PL/Wroclaw) Sent: Tuesday, May 28, 2019 5:54 PM To: [email protected]<mailto:[email protected]>; Syed Atif Husain <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]> Subject: Re: [onap-discuss] [sdc] Error in local sdc setup - image pull fails [**EXTERNAL EMAIL**] Hi, go to the https://nexus3.onap.org<https://urldefense.proofpoint.com/v2/url?u=https-3A__apc01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fnexus3.onap.org-26data-3D02-257C01-257CSyed-5Fah-2540infosys.com-257Cfa283c6f69404244a37108d6e341d1de-257C63ce7d592f3e42cda8ccbe764cff5eb6-257C1-257C0-257C636946269195632719-26sdata-3DzTS6Z2HMU1xa1Gs9u2zMdfHFupf0gLodQAPNUj-252BlihU-253D-26reserved-3D0&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=0chVOLyT_sf5P_6q0H1BkKlKCOX4auWx0dNlBNKeenY&s=CkpEiVW0Bc222CXHzfHRJiTppxxVqeGJbX7_NOVCyPo&e=> and search for the base_sdc-jetty artifact. BTW version 1.4.0 of this package is available and You can find it here: https://nexus3.onap.org/#browse/search=keyword%3Dbase_sdc-jetty:c60bc6b9612f47d3cb32f1b12117e71c<https://urldefense.proofpoint.com/v2/url?u=https-3A__apc01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fnexus3.onap.org-252F-2523browse-252Fsearch-253Dkeyword-25253Dbase-5Fsdc-2Djetty-253Ac60bc6b9612f47d3cb32f1b12117e71c-26data-3D02-257C01-257CSyed-5Fah-2540infosys.com-257Cfa283c6f69404244a37108d6e341d1de-257C63ce7d592f3e42cda8ccbe764cff5eb6-257C1-257C0-257C636946269195642713-26sdata-3DGsyXl6nmdTP4MuYO9-252BqNlcso8d0rbPKBXZY4DN-252FKcFE-253D-26reserved-3D0&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=0chVOLyT_sf5P_6q0H1BkKlKCOX4auWx0dNlBNKeenY&s=mfYEgfiSn2RDeLtivkMldbYfgPRe4s3Nd7xdjwlX2YE&e=> Best regards Tomasz Golabek Software Developer MN BOAM RD&Pz ONAP UI ML DEVOPS WRO 2 SG Nokia Contact number: +48 798 328 205 ________________________________ From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of Syed Atif Husain via Lists.Onap.Org <[email protected]<mailto:[email protected]>> Sent: Tuesday, May 28, 2019 4:38:52 AM To: [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]> Subject: [onap-discuss] [sdc] Error in local sdc setup - image pull fails Hi, I am getting below error on building SDC in my local VM. I am trying to setup local SDC on linux machine. [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.26.0:build (generate-images) on project openecomp-sdc-docker-backend: Unable to pull 'onap/base_sdc-jetty:1.4.0' from registry 'nexus3.onap.org:10001' : Error pulling image (1.4.0) from nexus3.onap.org:10001/onap/base_sdc-jetty, Server error: 404 trying to fetch remote history for -> [Help 1] I tried changing the version to other numbers but no luck. How do I check which image version is available in nexus? Regards, Atif -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17246): https://lists.onap.org/g/onap-discuss/message/17246 Mute This Topic: https://lists.onap.org/mt/31816990/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
