Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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     
demo-aai	1           	1       	Fri Nov 29 16:26:28 2019	DEPLOYED	aai-5	2021-07-13 15:14:44.083961609 +0000 UTC	deployed	aaf-8.0.0           	     	      	onap     
demo-appcaai               	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-cert-clampwrapper      	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            	onap     	1       	Fri Nov 29 16:29:45 2019	DEPLOYED	consul-52021-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       	     	      	onap     
demo-dcaegen2 cps               	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-dmaapdcaegen2          	1onap     	1   	Mon  Dec  2 05:45:05 2019	FAILED  	dmaap-5	2021-07-13 15:18:21.92984273 +0000 UTC 	deployed	dcaegen2-8.0.0          	           	onap     
demo-dcaegen2-esrservices 	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     
demo-log   	2021-07-13 15:19:51.020335352 +0000 UTC	deployed	dcaemod-8.0.0        	1   	    	Fri Nov 29 16:50:38 2019	DEPLOYED	log-5.0.0     
demo-dmaap      	           	onap     
demo-mariadb-galera	1       	Fri Nov 29 16:51:08 2019	DEPLOYED	mariadb-galera-52021-07-13 15:20:23.115045736 +0000 UTC	deployed	dmaap-8.0.0	             	onap           
demo-modelingesr               	onap     	1       	Fri Nov 29 16:51:29 2019	DEPLOYED	modeling-52021-07-13 15:21:48.99450393 +0000 UTC 	deployed	esr-8.0.0        	       	      	onap     
demo-msbholmes            	onap     	1       	Fri Nov 29 16:51:45 2019	DEPLOYED	msb-52021-07-13 15:21:55.637545972 +0000 UTC	deployed	holmes-8.0.0            	           	onap
demo-mariadb-galera    	onap 
demo-multicloud    	1       	Fri Nov 29 16:52:23 2019	DEPLOYED	multicloud-52021-07-13 15:22:26.899830789 +0000 UTC	deployed	mariadb-galera-8.0.0    	           	onap
demo-modeling     
demo-nbi     	onap      	1       	Fri Nov 29 16:53:26 2019	DEPLOYED	nbi-52021-07-13 15:22:36.77062758 +0000 UTC 	deployed	modeling-8.0.0           	           	onap     
demo-oofmsb           	1    	onap   	Mon Dec  	1      2 	2021-07-13 15:04:11 2019	DEPLOYED	oof-522:43.955119743 +0000 UTC	deployed	msb-8.0.0           	    	       	onap     
demo-policymulticloud        	onap     	1       	Fri Nov 29 16:56:27 2019	DEPLOYED	policy-52021-07-13 15:22:57.122972321 +0000 UTC	deployed	multicloud-8.0.0        	           
demo-nbi      	onap     
demo-pomba    	onap     	1       	Fri Nov 29 16:59:13 2019	DEPLOYED	pomba-52021-07-13 15:23:10.724184832 +0000 UTC	deployed	nbi-8.0.0         	      	      	onap     
demo-portaloof        	1       	Frionap Nov 29 17:01:44 2019	DEPLOYED	portal-5    	1       	2021-07-13 15:23:21.867288517 +0000 UTC	deployed	oof-8.0.0        	       	      	onap     
demo-robotpolicy            	onap     	1       	Fri Nov 29 17:03:10 2019	DEPLOYED	robot-52021-07-13 15:26:33.741229968 +0000 UTC	deployed	policy-8.0.0            	           	onap
demo-portal      
demo-sdc      	onap     	1       	Fri Nov 29 17:03:24 2019	DEPLOYED	sdc-52021-07-13 15:29:42.334773742 +0000 UTC	deployed	portal-8.0.0            	           
demo-repository-wrapper	onap     
demo-sdnc          	1       	Fri Nov 29 17:05:27 2019	DEPLOYED	sdnc-52021-07-13 15:30:24.228522944 +0000 UTC	deployed	repository-wrapper-8.0.0	           
demo-robot  	           	onap     
demo-sniro-emulator	1       	Fri Nov 29 17:08:24 2019	DEPLOYED	sniro-emulator-52021-07-13 15:30:36.103266739 +0000 UTC	deployed	robot-8.0.0	             	onap           
demo-roles-sowrapper     	onap       	1       	Mon Dec  2 08:58:33 2019	DEPLOYED	so-52021-07-13 15:30:43.592035776 +0000 UTC	deployed	roles-wrapper-8.0.0     	       	    
demo-sdc       	onap     
demo-uui   	onap        	1       	Fri Nov 29 17:24:55 2019	DEPLOYED	uui-52021-07-13 15:30:50.662463052 +0000 UTC	deployed	sdc-8.0.0           	    	       	onap     
demo-vfcsdnc              	onap     	1       	Fri Nov 29 17:24:59 2019	DEPLOYED	vfc-52021-07-13 16:11:58.795467333 +0000 UTC	deployed	sdnc-8.0.0           	     	      	onap     
demo-vidso           	1     	onap  	Fri Nov 29 17:26:05 2019	DEPLOYED	vid-5.0.0	1           	   	2021-07-13 15:34:44.911711191 +0000 UTC	deployed	so-8.0.0        	onap        	           
demo-vnfsdkuui               	onap     	1       	Fri Nov 29 17:26:38 2019	DEPLOYED	vnfsdk-52021-07-13 15:55:27.84129364 +0000 UTC 	deployed	uui-8.0.0            	   	        	onap 

Delete the failed module

use the right release name from the name as shown in helm ls.

The below commands will delete all the pods and dependencies.

Code Block
helm delete 
demo-dmaapvfc --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   	onap     	1       	2021-07-13 15:55:32.516727818 +0000 UTC	deployed	vfc-8.0.0               	           
demo-vid              -n 	onap | grep demo-dmaap | sed	1 -r 's/(^[^ ]+).*/kubectl delete secrets  	2021-07-13 15:56:02.048766897 +0000 UTC	deployed	vid-8.0.0           -n  onap \1/' |	 bash
kubectl get clusterrolebindings    -n onap | grep 
demo-dmaapvnfsdk | sed -r 's/(^[^ ]+).*/kubectl delete clusterrolebindings    -n 	onap \1/' | bash
kubectl get jobs 	1       	2021-07-13 15:56:19.960367033 +0000 UTC	deployed	vnfsdk-8.0.0 

Delete the failed module

use the right release name from the name as shown in helm ls.

The below commands will delete all the pods and dependencies.

Code Block
helm delete demo-dmaap
kubectl get persistentvolumeclaims -n onap | grep demo-dmaap | sed -           -n onap | grep demo-dmaap | sed -r 's/(^[^ ]+).*/kubectl delete jobs              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 pods secrets                  -n onap | grep demo-dmaap | sed -r 's/(^[^ ]+).*/kubectl delete pods   secrets                -n onap \1/' | bash

Delete any residue data from onap-nfs-server.

Code Block
cd /dockerdata-nfs/
sudo rm -r demo-dmaap/

Reinstall module

Reinstall the deleted module with the same release name as used in the deletion

Code Block
helm install --namespace onap -nkubectl get clusterrolebindings    -n onap | grep demo-dmaap | local/dmaapsed --timeout 900

You can verify the deployment in a parallel terminal by checking the pods using the command

Code Block
kubectl get podsr 's/(^[^ ]+).*/kubectl delete clusterrolebindings    -n onap \1/' | grep demo-dmaap

This shall show you the status of the upcoming pods during the deployment wait time.

Once this is deployed, you can verify using the "helm ls" command to check all the required modules are up and running.

Undeploy ONAP

For the release name 'demo' and namespace 'onap':

Perform these below commands in onap-control-1 where the helm was deployed.

Code Block
helm undeploy demo --purge
kubectl get persistentvolumeclaims bash
kubectl get jobs                   -n onap | grep demo-dmaap | sed -r 's/(^[^ ]+).*/kubectl delete persistentvolumeclaims jobs                   -n onap \1/' | bash
kubectl get persistentvolumes pods                   -n onap | grep demo-dmaap | sed -r 's/(^[^ ]+).*/kubectl delete persistentvolumespods      -n onap \1/' | bash
kubectl get secrets                -n onap \1/' | bash

Delete any residue data from onap-nfs-server.

Code Block
cd /dockerdata-nfs/
sudo rm -r demo-dmaap/

Reinstall module

Reinstall the deleted module with the same release name as used in the deletion

Code Block
helm install --namespace onap -n demo-dmaap local/dmaap --set global.masterPassword=OSNL_NetworkSlicing -f onap/resources/overrides/environment.yaml -f onap/resources/overrides/onap-all.yaml --timeout 1200s

You can verify the deployment in a parallel terminal by checking the pods using the command

Code Block
kubectl get pods -n onap | grep demo-dmaap

This shall show you the status of the upcoming pods during the deployment wait time.

Once this is deployed, you can verify using the "helm ls" command to check all the required modules are up and running.

Undeploy ONAP

For the release name 'demo' and namespace 'onap':

Perform these below commands in onap-control-1 where the helm was deployed.

Code Block
helm undeploy demo
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/' | 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

Perform the below commands in onap-nfs-server.

This is to delete all the network shared data which will not be deleted on purge delete of helm release.

Code Block
cd /dockerdata-nfs/
sudo rm -r *

e.g.
ubuntu@onap-nfs-server:~$ cd /dockerdata-nfs/
ubuntu@onap-nfs-server:/dockerdata-nfs$ sudo rm -r *

Access SDN-R

ODLUX-GUI  at winlab

The {user} should be replaced by your user id created in orbit-lab.

pods                   -n onap \1/' | bash

Perform the below commands in onap-nfs-server.

This is to delete all the network shared data which will not be deleted on purge delete of helm release.

Code Block
cd /dockerdata-nfs/
sudo rm -r *

e.g.
ubuntu@onap-nfs-server:~$ cd /dockerdata-nfs/
ubuntu@onap-nfs-server:/dockerdata-nfs$ sudo rm -r *

Access SDN-R

ODLUX-GUI  at winlab

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 -L 30267:localhost:30267 -L 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 30267:localhost:30267 -L 30205:localhost:30205 native@node1-4

SSH from node1-4.sb10.orbit.org to create tunnels with given ports on onap-control-01:
native@node1-4:~$ ssh -L 30267:localhost:30267 -L 30205:localhost:30205 ubuntu@10.31.4.11
Code Block
ssh -A -t {user}@console.sb10.orbit-lab.org -L 31939:localhost:31939 ssh -A -t native@node1-1.sb10.orbit-lab.org -L 31939:localhost:31939 ssh -A -t ubuntu@10.31.3.2 -L 31939:localhost:31939

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-sdncctxbuildersdnc                               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                                                      7m52s2d21h
sdnc-dgbuilder                     NodePort       10.43.6224.5071     <none>                                 3000:30203/TCP                                                7m52s2d21h
sdnc-dmaap-listener                ClusterIP      None            <none>                                 <none>                                                        7m52s2d21h
sdnc-portaloam                          NodePort ClusterIP      10.43.116227.73 206   <none>                                 8443:30201/TCP        8282/TCP,8202/TCP                                        7m52s2d21h
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.

...