(continued)
Most of the problems are related to 'docker pull'.
Before you execute the install script(./dep/smo/bin/install), make sure you have all the docker images, and this is very important:
(09:09 dabs@smobronze bin) > docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
nexus3.onap.org:10001/busybox latest c7c37e472d31 4 days ago 1.22MB
registry.hub.docker.com/library/busybox latest c7c37e472d31 4 days ago 1.22MB
busybox latest c7c37e472d31 4 days ago 1.22MB
nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-a1-controller 2.0.0 22777dbdab95 2 weeks ago 1.9GB
nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-policy-agent 2.0.0 dd3da32162a1 2 weeks ago 282MB
nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-controlpanel 2.0.0 3bda066b13a6 2 weeks ago 260MB
nexus3.o-ran-sc.org:10002/o-ran-sc/a1-simulator 2.0.0 8cb1f1398ad0 2 weeks ago 328MB
nexus3.onap.org:10001/onap/sdnc-dmaap-listener-image 1.8.2 96d8e752d40b 8 weeks ago 288MB
nexus3.onap.org:10001/onap/sdnc-image 1.8.2 5ca1d411ce39 8 weeks ago 1.98GB
nexus3.onap.org:10001/onap/oom/kube2msb 1.2.6 4a48a2b4020f 2 months ago 78.6MB
nexus3.onap.org:10001/onap/msb/msb_apigateway 1.2.7 2891f11eaa9b 2 months ago 318MB
mysql/mysql-server 5.6 c170a42d5207 2 months ago 220MB
kong 1.4 e4ded3c6d1ba 2 months ago 129MB
oomk8s/readiness-check 2.2.1 189daa3f3cc4 2 months ago 142MB
gcr.io/kubernetes-helm/tiller v2.16.6 e335e80cd560 2 months ago 89.1MB
nexus3.onap.org:10001/onap/msb/msb_discovery 1.2.6 c6ed481ab398 3 months ago 296MB
nexus3.onap.org:10001/onap/dmaap/zookeeper 6.0.3 69da3b28b46a 3 months ago 2.04GB
nexus3.onap.org:10001/onap/dmaap/dmaap-mr 1.1.18 205e057bdea3 3 months ago 420MB
nexus3.onap.org:10001/onap/dmaap/kafka111 1.0.4 5138002351f7 3 months ago 619MB
quay.io/coreos/flannel v0.12.0-amd64 4e9f801d2217 3 months ago 52.8MB
bitnami/nginx 1.16-debian-9 aa33cc699539 5 months ago 83.6MB
k8s.gcr.io/kube-proxy v1.15.9 fbc6812707da 5 months ago 82.4MB
k8s.gcr.io/kube-apiserver v1.15.9 a40b40e68f34 5 months ago 207MB
k8s.gcr.io/kube-controller-manager v1.15.9 429f8a3be747 5 months ago 159MB
k8s.gcr.io/kube-scheduler v1.15.9 f61454f4e895 5 months ago 81.1MB
bitnami/elasticsearch 6.8.6-debian-9-r23 3365e7f99e6a 5 months ago 598MB
kong-docker-kubernetes-ingress-controller.bintray.io/kong-ingress-controller 0.7.0 9724592c45f4 5 months ago 69.5MB
busybox 1.30 64f5d945efcc 14 months ago 1.2MB
nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector 1.4.4 e0a752e6543e 14 months ago 302MB
consul 1.4.3 c836e84db154 16 months ago 107MB
registry.hub.docker.com/library/consul 1.4.3 c836e84db154 16 months ago 107MB
k8s.gcr.io/coredns 1.3.1 eb516548c180 17 months ago 40.3MB
k8s.gcr.io/etcd 3.3.10 2c4adeb21b4f 19 months ago 258MB
dibi/envsubst latest b45c717d7601 2 years ago 12.4MB
registry.hub.docker.com/oomk8s/ubuntu-init 2.0.0 bde1dceead54 2 years ago 300MB
oomk8s/consul 1.0.0 1b0d73e7b07f 2 years ago 122MB
consul 1.0.6 5f4915f05e27 2 years ago 54.2MB
k8s.gcr.io/pause 3.1 da86e6ba6ca1 2 years ago 742kB
docker.elastic.co/beats/filebeat 5.5.0 b61327632415 2 years ago 271MB
nexus3.onap.org:10001/adfinissygroup/k8s-mariadb-galera-centos v002 51d21fcdb9f2 3 years ago 1.09GB
(a) make sure every images listed in the two 'docker_pull_x.sh' scripts are successfully pulled:
#docker_pull_onap.sh
#ONAP part
echo && echo pulling: nexus3.onap.org:10001/busybox:latest
docker pull nexus3.onap.org:10001/busybox:latest
echo && echo pulling: registry.hub.docker.com/library/busybox:latest
docker pull registry.hub.docker.com/library/busybox:latest
echo && echo pulling: nexus3.onap.org:10001/onap/sdnc-dmaap-listener-image:1.8.2
docker pull onap/sdnc-dmaap-listener-image:1.8.2
docker tag onap/sdnc-dmaap-listener-image:1.8.2 nexus3.onap.org:10001/onap/sdnc-dmaap-listener-image:1.8.2
docker rmi onap/sdnc-dmaap-listener-image:1.8.2
echo && echo pulling: nexus3.onap.org:10001/onap/sdnc-image:1.8.2
docker pull onap/sdnc-image:1.8.2
docker tag onap/sdnc-image:1.8.2 nexus3.onap.org:10001/onap/sdnc-image:1.8.2
docker rmi onap/sdnc-image:1.8.2
echo && echo pulling: nexus3.onap.org:10001/onap/oom/kube2msb:1.2.6
docker pull nexus3.onap.org:10001/onap/oom/kube2msb:1.2.6
echo && echo pulling: nexus3.onap.org:10001/onap/msb/msb_discovery:1.2.6
docker pull nexus3.onap.org:10001/onap/msb/msb_discovery:1.2.6
echo && echo pulling: bitnami/nginx:1.16-debian-9
docker pull bitnami/nginx:1.16-debian-9
echo && echo pulling: bitnami/elasticsearch:6.8.6-debian-9-r23
docker pull bitnami/elasticsearch:6.8.6-debian-9-r23
echo && echo pulling: docker.elastic.co/beats/filebeat:5.5.0
docker pull docker.elastic.co/beats/filebeat:5.5.0
echo && echo pulling: nexus3.onap.org:10001/adfinissygroup/k8s-mariadb-galera-centos:v002
docker pull nexus3.onap.org:10001/adfinissygroup/k8s-mariadb-galera-centos:v002
echo && echo pulling: oomk8s/readiness-check:2.2.1
docker pull oomk8s/readiness-check:2.2.1
echo && echo pulling: nexus3.onap.org:10001/onap/dmaap/zookeeper:6.0.3
docker pull nexus3.onap.org:10001/onap/dmaap/zookeeper:6.0.3
echo && echo pulling: nexus3.onap.org:10001/onap/dmaap/kafka111:1.0.4
docker pull nexus3.onap.org:10001/onap/dmaap/kafka111:1.0.4
echo && echo pulling: nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.18
docker pull nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.18
echo && echo pulling: busybox:1.30
docker pull busybox:1.30
echo && echo pulling: registry.hub.docker.com/library/consul:1.4.3
docker pull registry.hub.docker.com/library/consul:1.4.3
echo && echo pulling: dibi/envsubst:latest
docker pull dibi/envsubst:latest
echo && echo pulling: registry.hub.docker.com/oomk8s/ubuntu-init:2.0.0
docker pull registry.hub.docker.com/oomk8s/ubuntu-init:2.0.0
echo && echo pulling: oomk8s/consul:1.0.0
docker pull oomk8s/consul:1.0.0
echo && echo pulling: consul:1.0.6
docker pull consul:1.0.6
#docker_pull_nonrtric.sh
#NONRTRIC part
echo && echo pulling: nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-policy-agent:2.0.0
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-policy-agent:2.0.0
echo && echo pulling: nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-controlpanel:2.0.0
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-controlpanel:2.0.0
echo && echo pulling: nexus3.o-ran-sc.org:10002/o-ran-sc/a1-simulator:2.0.0
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/a1-simulator:2.0.0
echo && echo pulling: nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-a1-controller:2.0.0
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-a1-controller:2.0.0
echo && echo pulling: mysql/mysql-server:5.6
docker pull mysql/mysql-server:5.6
echo && echo pulling: kong-docker-kubernetes-ingress-controller.bintray.io/kong-ingress-controller:0.7.0
docker pull kong-docker-kubernetes-ingress-controller.bintray.io/kong-ingress-controller:0.7.0
echo && echo pulling: kong:1.4
docker pull kong:1.4
echo && echo pulling: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.4.4
docker pull nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.4.4
If it's necessary, you may 'docker pull' from my docker-hub repository, and 'docker tag':
(09:31 dabs@smobronze Downloads) > docker search zhenggao2
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
zhenggao2/msb_discovery mirror of nexus3.onap.org:10001/onap/msb/msb… 0
zhenggao2/tiller mirror of gcr.io/kubernetes-helm/tiller for … 0
zhenggao2/kube2msb mirror of nexus3.onap.org:10001/onap/oom/kub… 0
zhenggao2/k8s-mariadb-galera-centos mirror of nexus3.onap.org:10001/adfinissygro… 0
zhenggao2/nonrtric-a1-controller mirror of nexus3.o-ran-sc.org:10002/o-ran-sc… 0
zhenggao2/sdnc-dmaap-listener-image mirror of nexus3.onap.org:10001/onap/sdnc-dm… 0
zhenggao2/sdnc-image mirror of nexus3.onap.org:10001/onap/sdnc-im… 0
zhenggao2/zookeeper mirror of nexus3.onap.org:10001/onap/dmaap/z… 0
zhenggao2/a1-simulator mirror of nexus3.o-ran-sc.org:10002/o-ran-sc… 0
zhenggao2/nonrtric-controlpanel mirror of nexus3.o-ran-sc.org:10002/o-ran-sc… 0
zhenggao2/flannel mirror of quay.io/coreos/flannel for flannel 0
zhenggao2/dmaap-mr mirror of nexus3.onap.org:10001/onap/dmaap/d… 0
zhenggao2/msb_apigateway mirror of nexus3.onap.org:10001/onap/msb/msb… 0
zhenggao2/kafka111 mirror of nexus3.onap.org:10001/onap/dmaap/k… 0
zhenggao2/nonrtric-policy-agent mirror of nexus3.o-ran-sc.org:10002/o-ran-sc… 0
zhenggao2/org.onap.dcaegen2.collectors.ves.vescollector 0
zhenggao2/kong-ingress-controller 0
(b) update values.yaml of ONAP charts to include 'pullPolicy: IfNotPresent' option:
#for consul deployment
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim consul/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim consul/charts/consul-server/values.yaml
#for dmaap deployment
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim dmaap/components/message-router/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim dmaap/components/message-router/charts/message-router-kafka/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim dmaap/components/message-router/charts/message-router-zookeeper/values.yaml
#for msb deployment
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim msb/charts/kube2msb/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim msb/charts/msb-consul/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim msb/charts/msb-discovery/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim msb/charts/msb-eag/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim msb/charts/msb-iag/values.yaml
#for sdnc deployment
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim sdnc/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim sdnc/components/dmaap-listener/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim common/mariadb-galera/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim common/elasticsearch/values.yaml
dabs@smobronze:~/oran/dep/smo/bin/smo-deploy/smo-oom/kubernetes$ sudo vim common/elasticsearch/master/values.yaml
global:
pullPolicy: IfNotPresent
Good luck!