1 answer
- 210
Look into /docker-nfs/onap/mso/mso-docker.json to configure KEYSTONE and Regions and modify. You will require to remove the MSO docker container (not the pod) to make the changes effective.
- Lukasz Urbanski
kranthi guttikonda Thanks for response,
Currently my /docker-nfs/onap/mso/ doesn't contain mounted mso-docker.json file. How to mount this direrectory to be visible in MSO's containers?
- kranthi guttikonda
Lukasz Urbanski That mean configuration was not generated properly. Did you run ./createconfig.sh -n onap before starting the containers? It will run a pod which create the configuration file for all components.
kubectl -n onap get pods -o wide -a
kubectl -n onap logs -f config
Check the logs of the config pod and see if anything wrong there.
If you inspect the mso docker container directly you should see something like below. If not something is really wrong at configuration itself.
{
"Source": "/dockerdata-nfs/onap/mso/mso",
"Destination": "/shared",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
}, - Lukasz Urbanski
kranthi guttikonda
Yes, we have run createconfig.sh.
We found that file is monted in different dir:{
"Type": "bind",
"Source": "/var/lib/kubelet/pods/ba1d10dd-2377-11e8-8033-02e15047d0cd/volumes/kubernetes.io~configmap/mso",
"Destination": "/shared",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
} - kranthi guttikonda
Lukasz Urbanski Which version of OOM are you using? I guess you are using Master branch. So, you have to change the configmap then. If it is in master then you need to perform the following
cd oom/kubernetes/mso/resources/config/mso
edit mso-docker.json
helm delete --purge onap-mso
cd oom/kubernetes/
helm install --name onap-mso mso //this will create the new configmap with modified values and pods
- Lukasz Urbanski
kranthi guttikonda Yes, we are using OOM from master branch. I will try to follow this steps.
Add your comment...
Hi,
I'm using ONAP in Kubernetes cluster on top of OpenStack. I would like to create new VF-module using VID. I have problem that currently MSO is not configured properly.
Durnig operation i have an error in /var/log/onap/MSO/VnfAdapter that shows that MSO is trying to connect to wrong URL = 1.2.3.4:5000
How to update MSO configuration to be sure that is pointing to valid openstack instance?