Hi all,
We are working on network slicing use case(using ONAP Istanbul version).
While creating slice in UUI, AN Network creation got stuck and after going
thorough logs, we got following error in 'sdnc-dmaap-listener' pod.
*INFO 2022-04-01 04:42:03.044 +0000 SdncOdlConnection - Response body :*
*{"errors":{"error":[{"error-type":"protocol","error-tag":"unknown-element","error-message":"The
module named 'ran-slice-api' does not exist."}]}}*
We found that we need to complete manual configuration mentioned in '
*ranSliceApi not deployed into SDNC* ' section of following wiki page.
https://wiki.onap.org/display/DW/Network+Slicing+-+Issues+and+Solutions
So we added following in */oom/kubernetes/sdnc/templates/statefulset.* yaml
file.
- name: SDNR_NORTHBOUND
value: "true"
And re-deployed ONAP-SDNC using following commands.
*# Build chart*
*$ cd ~/oom/kubernetes*
*$ make SKIP_LINT=TRUE sdnc; make SKIP_LINT=TRUE onap*
*# Undeploy ONAP SDNC*
*$ helm uninstall onap-sdnc -n onap*
*$ kubectl get pods -n onap | grep sdnc*
*$ kubectl get pv,pvc --all-namespaces | grep sdn | sed 's/|/ /' | awk '{print
$1}'*
*# Delete PVC*
*$ kubectl delete pvc onap-sdnc-data-onap-sdnc-0 -n onap*
*$ kubectl delete pvc data-onap-sdnrdb-master-0 -n onap*
*$ kubectl delete pvc data-onap-sdnrdb-master-1 -n onap*
*$kubectl delete pvc data-onap-sdnrdb-master-2 -n onap*
*# Clean docker nfs*
*$ rm -r dockernfs/sdnc*
*# Deploy SDNC again*
*$ helm install onap-sdnc --debug local/sdnc --namespace onap
--create-namespace --set global.masterPassword=onap123 -f
onap/resources/overrides/onap-all.yaml -f
onap/resources/overrides/environment.yaml -f
onap/resources/overrides/openstack.yaml --timeout 2400s*
After complete above steps, some of pods are going into Init Status.
ubuntu@ip-172-31-44-35://$ kubectl get pods -n onap | grep sdnc
onap-sdnc-0
1/2 Running 0 24h
onap-sdnc-ansible-server-75d6966c87-jxdnk 0/1 Init:1/2
146 24h
onap-sdnc-dbinit-job-5xnll 0/1
Completed 0 24h
onap-sdnc-dgbuilder-cd4d9fbc8-lsr9c 1/1
Running 0 24h
onap-sdnc-dmaap-listener-75f8bdfc68-n678w 0/1 Init:1/2
0 24h
onap-sdnc-sdnrdb-init-job-pkbsc 0/1
Completed 0 24h
onap-sdnc-ueb-listener-8474f89d56-257lk 0/1
Init:1/2 0 24h
onap-sdnc-web-5674c5c6b5-h4gp2 0/1
Init:2/3 146 24h
onap-so-sdnc-adapter-7ddb9647d8-cgxvv 2/2 Running
0 25h
We tried to figure out cause of Init status by using following command but did
not find anything.
kubectl logs
kubectl describe pods
*Could you help us to resolve this issue?*
Kind Regards
Ganesh Mane
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23987): https://lists.onap.org/g/onap-discuss/message/23987
Mute This Topic: https://lists.onap.org/mt/90235027/21656
Mute #slicing:https://lists.onap.org/g/onap-discuss/mutehashtag/slicing
Mute #istanbul:https://lists.onap.org/g/onap-discuss/mutehashtag/istanbul
Mute #sdnc:https://lists.onap.org/g/onap-discuss/mutehashtag/sdnc
Mute #sdnr:https://lists.onap.org/g/onap-discuss/mutehashtag/sdnr
Mute #install:https://lists.onap.org/g/onap-discuss/mutehashtag/install
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-