...
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
Offline Install workarounds
If you want to instantiate PM-Mapper (and Datafile Collector) they will need to be copied from a server with internet access to the ONAP deployment which doesnt.
Create the docker image on a server which has internet access i.e.
# docker pull nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:1.2.0
1.2.0: Pulling from onap/org.onap.dcaegen2.services.pm-mapper
Digest: sha256:f6a9349b575d7a62525196fec4f610a773db0ec6ff49be0bc6d0b134fc52a76d
Status: Downloaded newer image for nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:1.2.0
nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:1.2.0
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper 1.2.0 2bb6a1b426ab 36 minutes ago 101MB
# docker save 2bb6a1b426ab > 1.2.0.mapper.tar
On each of the K8s worker nodes copy the docker image for mapper (and DFC).
i.e.
cd /dockerdata-nfs/onap-dcaegen2/
docker load -i 1.2.0.mapper.tar
docker images
docker tag 06776409bc03 dcaegen2/pmmapper.1.2.0
On on bootstrap pod. (Look at the imports that are required in the blueprints) i.e
imports:
- 'http://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml'
- 'https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R5/k8splugin/1.6.0/k8splugin_types.yaml'
- 'https://nexus.onap.org/service/local/repositories/raw/content/org.onap.ccsdk.platform.plugins/type_files/dmaap/dmaap.yaml'
For each of the above yaml files open them on a server that has internet access then create a corresponding file on the bootstrap pod and paste the contents into that yaml.
so it becomesÂ
imports:
- 455types.yaml
- 1608splugin.yaml
- dmaap.yaml
And also change
tag_version:
type: string
description: Docker image to be used
default: dcaegen2/pmmapper.1.2.0