Re: setting up local repository for OOM images

Gary Wu
 

Hi Vidhu,

 

I don’t use nexus3.  I use docker’s registry proxy cache.  Here is how to set it up:

 

Start with a clean install of Ubuntu 16.04.  Then run the following:

 

apt-get install docker.io

docker run -d -p 5000:5000 --restart=unless-stopped --name registry -e REGISTRY_PROXY_REMOTEURL=https://nexus3.onap.org:10001 registry:2

 

 

Thanks,

Gary

 

From: Vidhu Shekhar Pandey - ERS, HCL Tech [mailto:vidhu.pandey@...]
Sent: Thursday, August 16, 2018 7:53 AM
To: Borislav Glozman <Borislav.Glozman@...>; LUNANUOVA, DOMINIC (DOMINIC) <dgl@...>; onap-discuss@...
Cc: Mike Elliott <Mike.Elliott@...>; Michael O'Brien <Frank.Obrien@...>; Gary Wu <gary.i.wu@...>
Subject: RE: [onap-discuss] setting up local repository for OOM images

 

Thanks Borislav and Dominic for the information. Currently my problem is point number 1. I found two links related to this:

 

1.       https://wiki.onap.org/display/DW/Setting+up+a+Nexus+Proxy

 

2.       https://wiki.onap.org/pages/viewpage.action?pageId=6590586.

 

Second link has a section “Setting up Nexus 2 and 3 OSS Repositories”

 

Would be great if Gary could suggest and recommend a quick way to set it up.

 

Thanks,

Vidhu

 

From: Borislav Glozman <Borislav.Glozman@...>
Sent: 16 August 2018 20:03
To: LUNANUOVA, DOMINIC (DOMINIC) <dgl@...>; onap-discuss@...; Vidhu Shekhar Pandey - ERS, HCL Tech <vidhu.pandey@...>
Cc: Mike Elliott <Mike.Elliott@...>; Michael O'Brien <Frank.Obrien@...>; Gary Wu <gary.i.wu@...>
Subject: RE: [onap-discuss] setting up local repository for OOM images

 

Dom, thank you for sharing this method.

Indeed during development your approach is convenient (we also use it).

Please notice these are two different problem. I am not sure which one of them Vidhu is trying to solve:

1.       speeding up deployment using local nexus3, preventing network traffic and pulling from slow onap nexus3

2.       dev existing or new docker images

 

Thanks,

Borislav Glozman

O:+972.9.776.1988

M:+972.52.2835726

amdocs-a

Amdocs a Platinum member of ONAP

 

From: LUNANUOVA, DOMINIC (DOMINIC) [mailto:dgl@...]
Sent: Thursday, August 16, 2018 5:16 PM
To: onap-discuss@...; Borislav Glozman <Borislav.Glozman@...>; Vidhu Shekhar Pandey - ERS, HCL Tech <vidhu.pandey@...>
Cc: Mike Elliott <Mike.Elliott@...>; Michael O'Brien <Frank.Obrien@...>; Gary Wu <gary.i.wu@...>
Subject: RE: [onap-discuss] setting up local repository for OOM images

 

Another approach here: https://wiki.onap.org/display/DW/questions/38118463/how-to-configure-a-kubernetes-cluster-to-use-a-local-insecure-registry

 

-Dom

 

From: onap-discuss@... [mailto:onap-discuss@...] On Behalf Of Borislav Glozman
Sent: Thursday, August 16, 2018 3:34 AM
To: Vidhu Shekhar Pandey - ERS, HCL Tech <vidhu.pandey@...>
Cc: onap-discuss@...; Mike Elliott <Mike.Elliott@...>; Michael O'Brien <Frank.Obrien@...>; Gary Wu <gary.i.wu@...>
Subject: Re: [onap-discuss] setting up local repository for OOM images

 

I am not aware of such document, I know integration team did that. Adding Gary.

You do not need to change the yaml file.

You can provide parameter to helm install/upgrade “--set global.repository=mynexus3.example.com:12345” that will override the default docker image registry (nexus3.onap.org:10001).

 

Thanks,

Borislav Glozman

O:+972.9.776.1988

M:+972.52.2835726

amdocs-a

Amdocs a Platinum member of ONAP

 

From: Vidhu Shekhar Pandey - ERS, HCL Tech [mailto:vidhu.pandey@...]
Sent: Thursday, August 16, 2018 9:55 AM
To: Borislav Glozman <Borislav.Glozman@...>
Cc: onap-discuss@...; Mike Elliott <Mike.Elliott@...>; Michael O'Brien <Frank.Obrien@...>
Subject: RE: setting up local repository for OOM images

 

Hi Borislav,

 

Is there a document for setting up nexus3 that I can follow. What modifications will be required in OOM charts/values.yaml to point to local repository? I hope I won’t have to change it in all yaml files for each component?

 

Thanks,

Vidhu

 

From: Borislav Glozman <Borislav.Glozman@...>
Sent: 16 August 2018 12:17
To: Vidhu Shekhar Pandey - ERS, HCL Tech <vidhu.pandey@...>
Cc: onap-discuss@...; Mike Elliott <Mike.Elliott@...>; Michael O'Brien <Frank.Obrien@...>
Subject: RE: setting up local repository for OOM images

 

Hi,

 

You can set a local nexus3 server that would proxy and cache the images.

 

Thanks,

Borislav Glozman

O:+972.9.776.1988

M:+972.52.2835726

amdocs-a

Amdocs a Platinum member of ONAP

 

From: Vidhu Shekhar Pandey - ERS, HCL Tech [mailto:vidhu.pandey@...]
Sent: Thursday, August 16, 2018 5:56 AM
To: Borislav Glozman <Borislav.Glozman@...>
Cc: onap-discuss@...; Mike Elliott <Mike.Elliott@...>; Michael O'Brien <Frank.Obrien@...>
Subject: setting up local repository for OOM images

 

Hi Borislav,

 

I want to avoid re-pulling all the images every time from nexus repository. I there a way to host a local repository of images for installing OOM Beijing?

 

Regards,

Vidhu

::DISCLAIMER::
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,

This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,

This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,

Join onap-discuss@lists.onap.org to automatically receive all group messages.