...
Code Block |
---|
ubuntu@onap-control-01:~/overrides$~$ helm ls -n onap NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION NAMESPACE demo onap 1 Fri Nov 29 16:26:16 2019 DEPLOYED onap-52021-07-13 15:14:35.025694014 +0000 UTC deployed onap-8.0.0 El Alto onap Honolulu demo-aaf a1policymanagement onap 1 Fri Nov 29 16:26:17 2019 DEPLOYED aaf-52021-07-13 15:14:38.155669343 +0000 UTC deployed a1policymanagement-8.0.0 1.0.0 demo-aaf onap 1 demo-aai 2021-07-13 15:14:44.083961609 1+0000 UTC deployed aaf-8.0.0 Fri Nov 29 16:26:28 2019 DEPLOYED aai-5.0.0 demo-aai onap demo-appc onap 1 Fri Nov 29 16:27:30 2019 DEPLOYED appc-52021-07-13 15:15:43.238758595 +0000 UTC deployed aai-8.0.0 onap demo-cassandra onap 1 Fri Nov 29 16:27:41 2019 DEPLOYED cassandra-52021-07-13 15:16:32.632257395 +0000 UTC deployed cassandra-8.0.0 onap demo-cds onap 1 Fri Nov 29 16:27:56 2019 DEPLOYED cds-52021-07-13 15:16:42.884519209 +0000 UTC deployed cds-8.0.0 onap demo-clampcert-wrapper onap 1 Fri Nov 29 16:28:58 2019 DEPLOYED clamp-52021-07-13 15:17:08.172161 +0000 UTC deployed cert-wrapper-8.0.0 demo-cli onap demo-cli onap 1 Fri Nov 29 16:29:31 2019 DEPLOYED cli-52021-07-13 15:17:17.703468641 +0000 UTC deployed cli-8.0.0 onap demo-consul 1 onap Fri Nov 29 16:29:45 2019 DEPLOYED consul-5 1 2021-07-13 15:17:23.487068838 +0000 UTC deployed consul-8.0.0 onap demo-contrib onap 1 Fri Nov 29 16:30:04 2019 DEPLOYED contrib-52021-07-13 15:17:37.10843864 +0000 UTC deployed contrib-8.0.0 demo-cps onap demo-dcaegen2 onap 1 Fri Nov 29 16:31:03 2019 DEPLOYED dcaegen2-52021-07-13 15:18:04.024754433 +0000 UTC deployed cps-8.0.0 onap demo-dmaap demo-dcaegen2 1 Mononap Dec 2 05:45:05 2019 FAILED1 dmaap-5.0.0 2021-07-13 15:18:21.92984273 +0000 UTC deployed dcaegen2-8.0.0 onap demo-esr demo-dcaegen2-services onap 1 Fri Nov 29 16:50:24 2019 DEPLOYED esr-52021-07-13 15:19:27.147459081 +0000 UTC deployed dcaegen2-services-8.0.0 Honolulu demo-dcaemod onap 1 onap 2021-07-13 15:19:51.020335352 demo-log+0000 UTC deployed dcaemod-8.0.0 1 Fri Nov 29 16:50:38 2019 DEPLOYED log-5 demo-dmaap onap 1 2021-07-13 15:20:23.115045736 +0000 UTC deployed dmaap-8.0.0 demo-esr onap demo-mariadb-galera 1 Fri Nov 29 16:51:08 2019 DEPLOYED mariadb-galera-5.0.0 2021-07-13 15:21:48.99450393 +0000 UTC deployed esr-8.0.0 demo-holmes onap 1 2021-07-13 15:21:55.637545972 +0000 UTC deployed holmes-8.0.0 demo-mariadb-galera onap 1 2021-07-13 15:22:26.899830789 +0000 UTC deployed mariadb-galera-8.0.0 demo-modeling onap 1 2021-07-13 15:22:36.77062758 +0000 UTC deployed modeling-8.0.0 demo-msb onap demo-modeling onap 1 Fri Nov 29 16:51:29 2019 DEPLOYED modeling-52021-07-13 15:22:43.955119743 +0000 UTC deployed msb-8.0.0 onap demo-msbmulticloud onap 1 Fri Nov 29 16:51:45 2019 DEPLOYED msb-52021-07-13 15:22:57.122972321 +0000 UTC deployed multicloud-8.0.0 demo-nbi onap 1 2021-07-13 15:23:10.724184832 demo-multicloud+0000 UTC deployed nbi-8.0.0 1 Fri Nov 29 16:52:23 2019 DEPLOYED multicloud-5.0.0 demo-oof onap demo-nbi onap 1 Fri Nov 29 16:53:26 2019 DEPLOYED nbi-52021-07-13 15:23:21.867288517 +0000 UTC deployed oof-8.0.0 onap demo-oofpolicy 1onap 1 Mon Dec 2 2021-07-13 15:04:11 2019 DEPLOYED oof-526:33.741229968 +0000 UTC deployed policy-8.0.0 onapdemo-portal demo-policy onap 1 Fri Nov 29 16:56:27 2019 DEPLOYED policy-52021-07-13 15:29:42.334773742 +0000 UTC deployed portal-8.0.0 onap demo-pombarepository-wrapper onap 1 Fri Nov 29 16:59:13 2019 DEPLOYED pomba-52021-07-13 15:30:24.228522944 +0000 UTC deployed repository-wrapper-8.0.0 demo-robot onap demo-portal onap 1 Fri Nov 29 17:01:44 2019 DEPLOYED portal-52021-07-13 15:30:36.103266739 +0000 UTC deployed robot-8.0.0 onap demo-roles-robotwrapper onap 1 Fri Nov 29 17:03:10 2019 DEPLOYED robot-52021-07-13 15:30:43.592035776 +0000 UTC deployed roles-wrapper-8.0.0 demo-sdc onap demo-sdc onap 1 Fri Nov 29 17:03:24 2019 DEPLOYED sdc-52021-07-13 15:30:50.662463052 +0000 UTC deployed sdc-8.0.0 onap demo-sdnc onap 1 Fri Nov 29 17:05:27 2019 DEPLOYED sdnc-5.0.0 2021-07-13 16:11:58.795467333 +0000 UTC deployed sdnc-8.0.0 onap demo-sniro-emulator 1 Fri Nov 29 17:08:24 2019 DEPLOYED sniro-emulator-5.0.0 demo-so onap demo-so onap 1 Mon Dec 2 08:58:33 2019 DEPLOYED so-52021-07-13 15:34:44.911711191 +0000 UTC deployed so-8.0.0 onap demo-uui onap 1 Fri Nov 29 17:24:55 2019 DEPLOYED uui-52021-07-13 15:55:27.84129364 +0000 UTC deployed uui-8.0.0 onap demo-vfc onap 1 Fri Nov 29 17:24:59 2019 DEPLOYED vfc-52021-07-13 15:55:32.516727818 +0000 UTC deployed vfc-8.0.0 demo-vid onap demo-vid onap 1 Fri Nov 29 17:26:05 2019 DEPLOYED vid-52021-07-13 15:56:02.048766897 +0000 UTC deployed vid-8.0.0 onap demo-vnfsdk onap 1 Fri Nov 29 17:26:38 2019 DEPLOYED vnfsdk-52021-07-13 15:56:19.960367033 +0000 UTC deployed vnfsdk-8.0.0 onap |
Delete the failed module
use the right release name from the name as shown in helm ls.
...
Code Block |
---|
helm delete demo-dmaap --purge
kubectl get persistentvolumeclaims -n onap | grep demo-dmaap | sed -r 's/(^[^ ]+).*/kubectl delete persistentvolumeclaims -n onap \1/' | bash
kubectl get persistentvolumes -n onap | grep demo-dmaap | sed -r 's/(^[^ ]+).*/kubectl delete persistentvolumes -n onap \1/' | bash
kubectl get secrets -n onap | grep demo-dmaap | sed -r 's/(^[^ ]+).*/kubectl delete secrets -n onap \1/' | bash
kubectl get clusterrolebindings -n onap | grep demo-dmaap | sed -r 's/(^[^ ]+).*/kubectl delete clusterrolebindings -n onap \1/' | bash
kubectl get jobs -n onap | grep demo-dmaap | sed -r 's/(^[^ ]+).*/kubectl delete jobs -n onap \1/' | bash
kubectl get pods -n onap | grep demo-dmaap | sed -r 's/(^[^ ]+).*/kubectl delete pods -n onap \1/' | bash
|
...
Code Block |
---|
helm install --namespace onap -n demo-dmaap local/dmaap-dmaap local/dmaap --set global.masterPassword=OSNL_NetworkSlicing -f onap/resources/overrides/environment.yaml -f onap/resources/overrides/onap-all.yaml --timeout 9001200s |
You can verify the deployment in a parallel terminal by checking the pods using the command
...
Code Block |
---|
helm undeploy demo
--purge
kubectl get persistentvolumeclaims -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete persistentvolumeclaims -n onap \1/' | bash
kubectl get persistentvolumes -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete persistentvolumes -n onap \1/' | bash
kubectl get secrets -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete secrets -n onap \1/' | bash
kubectl get clusterrolebindings -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete clusterrolebindings -n onap \1/' | bash
kubectl get jobs -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete jobs -n onap \1/' | bash
kubectl get pods -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete pods -n onap \1/' | bash
|
...
The {user} should be replaced by your user id created in orbit-lab.
Code Block |
---|
SSH from your machine to create tunnels with given ports on console.sb10.orbit.org: username@yourmachine:~$ ssh -AL 30267:localhost:30267 -t {user}@consoleL 30205:localhost:30205 <usename>@console.sb10.orbit-lab.org SSH from console.sb10.orbit.org to create tunnels with given ports on node1-4.sb10.orbit.org: hanif@console:~$ ssh -L 3193930267:localhost:30267 -L 30205:localhost:3193930205 native@node1-4 ssh -ASSH -tfrom native@node1node1-14.sb10.orbit-lab.org -L 31939:localhost:31939to create tunnels with given ports on onap-control-01: native@node1-4:~$ ssh -A -t ubuntu@10.31.3.2L 30267:localhost:30267 -L 3193930205:localhost:31939 30205 ubuntu@10.31.4.11 |
On your browser:
Code Block |
---|
http://localhost:3193930267/odlux/index.html |
The login credentials are:
...
Code Block |
---|
ubuntu@onap-control-101:~$ kubectl get service -n onap | grep sdnc pomba-sdncctxbuilder sdnc NodePort ClusterIP 10.43.145101.187189 <none> 9530/TCP8443:30267/TCP 2d21h sdnc-ansible-server ClusterIP 10.43.46.219 <none> 2d18h sdnc 8000/TCP NodePort 10.43.103.106 <none> 2d21h sdnc-callhome 8282:31939/TCP,8202:31510/TCP,8280:30246/TCP,8443:30267/TCP 7m52s sdnc-ansible-server NodePort ClusterIP 10.43.113139.22627 <none> 80006666:30266/TCP 7m52s2d21h sdnc-cluster ClusterIP None <none> 2550/TCP 2d21h 7m52s sdnc-dgbuilder NodePort 10.43.6224.5071 <none> 3000:30203/TCP 7m52s2d21h sdnc-dmaap-listener ClusterIP None <none> <none> 2d21h sdnc-oam 7m52s sdnc-portal NodePort ClusterIP 10.43.116227.73206 <none> 8443:30201/TCP 8282/TCP,8202/TCP 2d21h 7m52s sdnc-ueb-listener ClusterIP None <none> <none> 7m52s so-sdnc-adapter2d21h sdnc-web-service NodePort ClusterIP 10.43.27211.874 <none> 80868443:30205/TCP 2d21h so-sdnc-adapter 142m vfc-zte-sdnc-driver ClusterIP 10.43.18920.17058 <none> 84118086/TCP 2d17h |
Look for sdnc service only and the port bound to 8282.
In the above result it is 31939.
Code Block |
---|
http://{ip-address}:{sdnc-port-bound-to-8282}/odlux/index.html |
...
2d21h |
Troubleshooting
Documentation for troubleshooting.
...