...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
ubuntu@onap-control-01:~/oom/kubernetes$ helm deploy demo local/onap --namespace onap --set global.masterPassword=WinLab_NetworkSlicing -f onap/resources/overrides/onap-all.yaml -f onap/resources/overrides/environment.yaml -f onap/resources/overrides/openstack.yaml --timeout 900s |
Verify the deploy
1200s
Output:
v3.5.2
/home/ubuntu/.local/share/helm/plugins/deploy/deploy.sh: line 92: [ -z: command not found
6
Use cache dir: /home/ubuntu/.local/share/helm/plugins/deploy/cache
0
0
/home/ubuntu/.local/share/helm/plugins/deploy/deploy.sh: line 126: expr--set global.masterPassword=OSNL_NetworkSlicing -f onap/resources/overrides/onap-all.yaml -f onap/resources/overrides/environment.yaml -f onap/resources/overrides/openstack.yaml --timeout 1200s: No such file or directory
0
fetching local/onap
history.go:56: [debug] getting history for release demo
install.go:173: [debug] Original chart version: ""
install.go:190: [debug] CHART PATH: /home/ubuntu/.local/share/helm/plugins/deploy/cache/onap
release "demo" deployed
release "demo-a1policymanagement" deployed
release "demo-aaf" deployed
release "demo-aai" deployed
release "demo-cassandra" deployed
release "demo-cds" deployed
release "demo-cert-wrapper" deployed
release "demo-cli" deployed
release "demo-consul" deployed
release "demo-contrib" deployed
release "demo-cps" deployed
release "demo-dcaegen2" deployed
release "demo-dcaegen2-services" deployed
release "demo-dcaemod" deployed
release "demo-dmaap" deployed
release "demo-esr" deployed
release "demo-holmes" deployed
release "demo-mariadb-galera" deployed
release "demo-modeling" deployed
release "demo-msb" deployed
release "demo-multicloud" deployed
release "demo-nbi" deployed
release "demo-oof" deployed
release "demo-platform" deployed
release "demo-policy" deployed
release "demo-portal" deployed
release "demo-repository-wrapper" deployed
release "demo-robot" deployed
release "demo-roles-wrapper" deployed
release "demo-sdc" deployed
release "demo-sdnc" deployed
release "demo-so" deployed
release "demo-uui" deployed
release "demo-vfc" deployed
release "demo-vid" deployed
release "demo-vnfsdk" deployed
6
ubuntu@onap-control-01:~/oom/kubernetes$ |
Verify the deploy:
Code Block |
---|
ubuntu@onap-control-01:~$ helm ls -n onap
NAME |
Code Block |
ubuntu@onap-control-01:~$ helm ls -n onap< NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE demo 1 Fri Nov 29 16:26:16 2019 DEPLOYED onap-5.0.0 El Alto onap demo-aaf 1 Fri Nov 29 16:26:17 2019 DEPLOYED aaf-5.0.0 NAMESPACE onap demo-aai REVISION UPDATED 1 Fri Nov 29 16:26:28 2019 DEPLOYED aai-5.0.0 STATUS onap demo-appc CHART 1 Fri Nov 29 16:27:30 2019 DEPLOYED appc-5.0.0 onap demo-cassandraAPP VERSION demo 1 Fri Nov 29 16:27:41 2019 DEPLOYED cassandra-5.0.0 onap onap1 demo-cds 1 2021-07-13 15:14:35.025694014 +0000 UTC deployed Fri Nov 29 16:27:56 2019 DEPLOYED cds-5 onap-8.0.0 Honolulu demo-a1policymanagement onap demo-clamp 1 1 Fri Nov 29 16:28:58 2019 DEPLOYED clamp-5.0.0 2021-07-13 15:14:38.155669343 +0000 UTC deployed a1policymanagement-8.0.0 onap1.0.0 demo-aaf demo-cli onap 1 Fri Nov 29 16:29:31 2019 DEPLOYED cli-5.0.0 1 2021-07-13 15:14:44.083961609 +0000 UTC deployed onap aaf-8.0.0 demo-consulaai 1 Fri Novonap 29 16:29:45 2019 DEPLOYED consul-5.0.0 1 onap demo-contrib 2021-07-13 15:15:43.238758595 +0000 UTC deployed 1 Fri Nov 29 16:30:04 2019 DEPLOYED contrib-5aai-8.0.0 demo-cassandra onap onap 1 demo-dcaegen2 1 Fri Nov 29 16:31:03 2019 DEPLOYED dcaegen2-5.0.0 2021-07-13 15:16:32.632257395 +0000 UTC deployed cassandra-8.0.0 demo-cds onap demo-dmaap onap 1 Fri Nov1 29 16:35:47 2019 DEPLOYED dmaap-5.0.0 2021-07-13 15:16:42.884519209 +0000 UTC deployed onap cds-8.0.0 demo-cert-esrwrapper onap 1 Fri Nov1 29 16:50:24 2019 DEPLOYED esr-5.0.0 2021-07-13 15:17:08.172161 +0000 UTC deployed onap cert-wrapper-8.0.0 demo-logcli 1 onap Fri Nov 29 16:50:38 2019 DEPLOYED log-5.0.0 1 2021-07-13 15:17:17.703468641 +0000 onapUTC deployed demo-mariadb-galera 1 Fri Nov 29 16:51:08 2019 DEPLOYED mariadb-galera-5cli-8.0.0 demo-consul onap onap demo-modeling 1 1 Fri Nov 29 16:51:29 2019 DEPLOYED modeling-5.0.0 2021-07-13 15:17:23.487068838 +0000 UTC deployed onap consul-8.0.0 demo-msbcontrib 1 onap Fri Nov 29 16:51:45 2019 DEPLOYED msb-5.0.0 1 onap2021-07-13 15:17:37.10843864 +0000 UTC deployed contrib-8.0.0 demo-multicloudcps 1 Fri Nov 29 16:52:23 2019 DEPLOYED multicloud-5.0.0 onap 1 onap demo-nbi 2021-07-13 15:18:04.024754433 +0000 1UTC deployed Fri Nov 29 16:53:26 2019 DEPLOYED nbi-5 cps-8.0.0 demo-dcaegen2 onap onap1 demo-oof 1 2021-07-13 15:18:21.92984273 +0000 UTC deployed Fri Nov 29 16:54:03 2019 DEPLOYED oof-5 dcaegen2-8.0.0 demo-dcaegen2-services onap 1 onap demo-policy 2021-07-13 15:19:27.147459081 +0000 UTC deployed 1 Fri Nov 29 16:56:27 2019 DEPLOYED policy-5dcaegen2-services-8.0.0 Honolulu demo-dcaemod onap demo-pomba 1 1 Fri Nov 29 16:59:13 2019 DEPLOYED pomba-52021-07-13 15:19:51.020335352 +0000 UTC deployed dcaemod-8.0.0 demo-dmaap onap onap demo-portal1 1 2021-07-13 15:20:23.115045736 +0000 UTC deployed Fri Nov 29 17:01:44 2019 DEPLOYED portal-5 dmaap-8.0.0 demo-esr onap onap demo-robot 1 1 Fri Nov 29 17:03:10 2019 DEPLOYED robot-5.0.0 2021-07-13 15:21:48.99450393 +0000 UTC deployed esr-8.0.0 demo-holmes onap demo-sdc 1 1 Fri Nov 29 17:03:24 2019 DEPLOYED sdc-5.0.0 2021-07-13 15:21:55.637545972 +0000 UTC deployed holmes-8.0.0 demo-mariadb-galera onap onap demo-sdnc 1 1 Fri Nov 29 17:05:27 2019 DEPLOYED sdnc-5.0.0 2021-07-13 15:22:26.899830789 +0000 UTC deployed mariadb-galera-8.0.0 demo-modeling onap demo-sniro-emulator 1 Fri1 Nov 29 17:08:24 2019 DEPLOYED sniro-emulator-5.0.0 onap demo-so2021-07-13 15:22:36.77062758 +0000 UTC deployed modeling-8.0.0 demo-msb 1 Fri Nov 29 17:10:33 2019 DEPLOYED so-5.0.0 onap 1 onap demo-uui 2021-07-13 15:22:43.955119743 +0000 UTC deployed 1 Fri Nov 29 17:24:55 2019 DEPLOYED uui-5 msb-8.0.0 demo-multicloud onap 1 onap demo-vfc 2021-07-13 1 15:22:57.122972321 +0000 UTC deployed Fri Nov 29 17:24:59 2019 DEPLOYED vfc-5 multicloud-8.0.0 demo-nbi onap onap 1 demo-vid 1 2021-07-13 15:23:10.724184832 +0000 UTC deployed Fri Nov 29 17:26:05 2019 DEPLOYED vid-5 nbi-8.0.0 demo-oof onap onap demo-vnfsdk 1 1 Fri Nov 29 17:26:38 2019 DEPLOYED vnfsdk-5.0.0 onap ubuntu@onap-control-1:~/oom/kubernetes$ |
In case of failures in deployment
If the deployment of any onap module fails, please go through these steps to redeploy the modules.
In this example, we demonstrate failure of dmaap, which normally occurs due to timeout issues.
2021-07-13 15:23:21.867288517 +0000 UTC deployed oof-8.0.0
demo-policy onap 1 2021-07-13 15:26:33.741229968 +0000 UTC deployed policy-8.0.0
demo-portal onap 1 2021-07-13 15:29:42.334773742 +0000 UTC deployed portal-8.0.0
demo-repository-wrapper onap 1 2021-07-13 15:30:24.228522944 +0000 UTC deployed repository-wrapper-8.0.0
demo-robot onap 1 2021-07-13 15:30:36.103266739 +0000 UTC deployed robot-8.0.0
demo-roles-wrapper onap 1 2021-07-13 15:30:43.592035776 +0000 UTC deployed roles-wrapper-8.0.0
demo-sdc onap 1 2021-07-13 15:30:50.662463052 +0000 UTC deployed sdc-8.0.0
demo-so onap 1 2021-07-13 15:34:44.911711191 +0000 UTC deployed so-8.0.0
demo-uui onap 1 2021-07-13 15:55:27.84129364 +0000 UTC deployed uui-8.0.0
demo-vfc onap 1 2021-07-13 15:55:32.516727818 +0000 UTC deployed vfc-8.0.0
demo-vid onap 1 2021-07-13 15:56:02.048766897 +0000 UTC deployed vid-8.0.0
demo-vnfsdk onap 1 2021-07-13 15:56:19.960367033 +0000 UTC deployed vnfsdk-8.0.0
ubuntu@onap-control-01:~/oom/kubernetes$ |
In case of missing or failures in deployment.
If the deployment of any onap module fails, please go through these steps to redeploy the modules.
In this example, we demonstrate failure of dmaap, which normally occurs due to timeout issues.
Missing deployment
In the above deployment, demo-sdnc is missing. So we reinstall this.
Code Block |
---|
ubuntu@onap-control-01:~/oom/kubernetes$ helm install --namespace onap demo-sdnc local/sdnc --set global.masterPassword=OSNL_NetworkSlicing -f onap/resources/overrides/environment.yaml -f onap/resources/overrides/onap-all.yaml --timeout 1200s
NAME: demo-sdnc
LAST DEPLOYED: Tue Jul 13 16:11:58 2021
NAMESPACE: onap
STATUS: deployed
REVISION: 1
TEST SUITE: None
ubuntu@onap-control-01:~/oom/kubernetes$ |
Check the failed modules
perform 'helm ls' on the control node.
Code Block |
---|
ubuntu@onap-control-101:~/overrides$ helm ls NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE demo 1 Fri Nov 29 16:26:16 2019 DEPLOYED onap-5.0.0 El Alto onap demo-aaf 1 Fri Nov 29 16:26:17 2019 DEPLOYED aaf-5.0.0 onap demo-aai 1 Fri Nov 29 16:26:28 2019 DEPLOYED aai-5.0.0 onap demo-appc 1 Fri Nov 29 16:27:30 2019 DEPLOYED appc-5.0.0 onap demo-cassandra 1 Fri Nov 29 16:27:41 2019 DEPLOYED cassandra-5.0.0 onap demo-cds 1 Fri Nov 29 16:27:56 2019 DEPLOYED cds-5.0.0 onap demo-clamp 1 Fri Nov 29 16:28:58 2019 DEPLOYED clamp-5.0.0 onap demo-cli 1 Fri Nov 29 16:29:31 2019 DEPLOYED cli-5.0.0 onap demo-consul 1 Fri Nov 29 16:29:45 2019 DEPLOYED consul-5.0.0 onap demo-contrib 1 Fri Nov 29 16:30:04 2019 DEPLOYED contrib-5.0.0 onap demo-dcaegen2 1 Fri Nov 29 16:31:03 2019 DEPLOYED dcaegen2-5.0.0 onap demo-dmaap 1 Mon Dec 2 05:45:05 2019 FAILED dmaap-5.0.0 onap demo-esr 1 Fri Nov 29 16:50:24 2019 DEPLOYED esr-5.0.0 onap demo-log 1 Fri Nov 29 16:50:38 2019 DEPLOYED log-5.0.0 onap demo-mariadb-galera 1 Fri Nov 29 16:51:08 2019 DEPLOYED mariadb-galera-5.0.0 onap demo-modeling 1 Fri Nov 29 16:51:29 2019 DEPLOYED modeling-5.0.0 onap demo-msb 1 Fri Nov 29 16:51:45 2019 DEPLOYED msb-5.0.0 onap demo-multicloud 1 Fri Nov 29 16:52:23 2019 DEPLOYED multicloud-5.0.0 onap demo-nbi 1 Fri Nov 29 16:53:26 2019 DEPLOYED nbi-5.0.0 onap demo-oof 1 Mon Dec 2 07:04:11 2019 DEPLOYED oof-5.0.0 onap demo-policy 1 Fri Nov 29 16:56:27 2019 DEPLOYED policy-5.0.0 onap demo-pomba 1 Fri Nov 29 16:59:13 2019 DEPLOYED pomba-5.0.0 onap demo-portal 1 Fri Nov 29 17:01:44 2019 DEPLOYED portal-5.0.0 onap demo-robot 1 Fri Nov 29 17:03:10 2019 DEPLOYED robot-5.0.0 onap demo-sdc 1 Fri Nov 29 17:03:24 2019 DEPLOYED sdc-5.0.0 onap demo-sdnc 1 Fri Nov 29 17:05:27 2019 DEPLOYED sdnc-5.0.0 onap demo-sniro-emulator 1 Fri Nov 29 17:08:24 2019 DEPLOYED sniro-emulator-5.0.0 onap demo-so 1 Mon Dec 2 08:58:33 2019 DEPLOYED so-5.0.0 onap demo-uui 1 Fri Nov 29 17:24:55 2019 DEPLOYED uui-5.0.0 onap demo-vfc 1 Fri Nov 29 17:24:59 2019 DEPLOYED vfc-5.0.0 onap demo-vid 1 Fri Nov 29 17:26:05 2019 DEPLOYED vid-5.0.0 onap demo-vnfsdk 1 Fri Nov 29 17:26:38 2019 DEPLOYED vnfsdk-5.0.0 onap |
...