From 88a64ebf39dea43a4f0d69d18e5ab5933febea98 Mon Sep 17 00:00:00 2001 From: Denes Nemeth Date: Fri, 27 Apr 2018 12:22:22 +0200 Subject: Fix component startup Change-Id: Ia45d4a682f8faceb8c045ffedd7611bc61b21b7b Signed-off-by: Denes Nemeth Issue-ID: VFC-728 --- nokiav2/docs/fix.rst | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 nokiav2/docs/fix.rst (limited to 'nokiav2/docs/fix.rst') diff --git a/nokiav2/docs/fix.rst b/nokiav2/docs/fix.rst new file mode 100644 index 00000000..68f82534 --- /dev/null +++ b/nokiav2/docs/fix.rst @@ -0,0 +1,101 @@ +Fix ONAP installation +===================== + +This document is intended to help to fix common problems in the ONAP released software. Since the ONAP software in some +cases uses "snapshots" or "master" these steps may not be 100 percent accurate. + +Amsterdam release +----------------- + +- Create SDC consumer in SDC (username = SDC password=SDC ) + + - curl -X POST -i -H "Accept: application/json; charset=UTF-8" -H "Content-Type: application/json" -H "USER_ID: jh0003" http://sdc.api.simpledemo.onap.org:8080/sdc2/rest/v1/consumers/ -d '{"consumerName": "SDC", "consumerSalt": "00ae7619efccee9bf5b53d7f72c3cdf7","consumerPassword": "516e53e4b822601ef58d96abcc054709d15cb42179aa3b6302f48c6c7cf575a6"}' + +- Log into the multi-service node via SSH + + - Fix VF-C + + - docker exec -it `docker ps | grep nslcm | awk '{print $1}'` /bin/bash + + - vim.tiny /service/vfc/nfvo/lcm/lcm/pub/config/config.py + + - AAI_BASE_URL = "https://10.0.1.1:8443/aai/v11" + + - SDC_BASE_URL = "https://10.0.3.1:8443/sdc/v1" + + - vim.tiny /service/vfc/nfvo/lcm/lcm/ns/vnfs/grant_vnfs.py + + - Fix according to: https://gerrit.onap.org/r/#/c/27941/3/lcm/ns/vnfs/grant_vnfs.py + + - vim.tiny /service/vfc/nfvo/lcm/lcm/ns/vnfs/notify_lcm.py + + - Fix according to: https://gerrit.onap.org/r/#/c/25447/1/lcm/ns/vnfs/notify_lcm.py + + - vim.tiny /service/vfc/nfvo/lcm/lcm/ns/ns_delete.py + + - Fix according to: https://gerrit.onap.org/r/#/c/25373/ + + - exit + + - Fix catalog + + - docker exec -it `docker ps | grep catalog | awk '{print $1}'` /bin/bash + + - vim.tiny /service/vfc/nfvo/catalog/catalog/pub/config/config.py + + - SDC_BASE_URL = "https://10.0.3.1:8443" + + - vim.tiny /service/vfc/nfvo/catalog/catalog/pub/utils/toscaparser/vnfdmodel.py + + - Fix according to: https://gerrit.onap.org/r/#/c/27937/1/catalog/pub/utils/toscaparser/vnfdmodel.py + + - vim.tiny /service/vfc/nfvo/catalog/catalog/pub/utils/toscaparser/basemodel.py + + - Fix according to: https://gerrit.onap.org/r/#/c/25157/1/catalog/pub/utils/toscaparser/basemodel.py + + - exit + + - Fix multi cloud (required if cloud endpoint is over HTTPS) + + - docker exec -it `docker ps | grep ocata | awk '{print $1}'` /bin/bash + + - apt-get install vim + + - vim /opt/ocata/lib/newton/newton/requests/views/util.py + + - Change from return session.Session(auth=auth) to: session.Session(auth=auth, verify=False) + + - exit + +- Specify quotas for the tenant (VF-C resource managed does not handle unlimited quotas) + +Beijing release +--------------- + +- create SDC user (SDC:SDC) + + - curl -X POST -i -H "Accept: application/json; charset=UTF-8" -H "Content-Type: application/json" -H "USER_ID: jh0003" http://sdc.api.simpledemo.onap.org:8080/sdc2/rest/v1/consumers/ -d '{"consumerName": "SDC", "consumerSalt": "00ae7619efccee9bf5b53d7f72c3cdf7","consumerPassword": "516e53e4b822601ef58d96abcc054709d15cb42179aa3b6302f48c6c7cf575a6"}' + +- Log into the multi-service node via SSH + + - Fix catalog + + - docker exec -it `docker ps | grep catalog | awk '{print $1}'` /bin/bash + + - vim.tiny /service/vfc/nfvo/catalog/catalog/pub/config/config.py + + - SDC_BASE_URL = "https://10.0.3.1:8443" + + - Fix VF-C + + - docker exec -it `docker ps | grep nslcm | awk '{print $1}'` /bin/bash + + - vim.tiny /service/vfc/nfvo/lcm/lcm/pub/config/config.py + + - AAI_BASE_URL = "https://10.0.1.1:8443/aai/v11" + + - SDC_BASE_URL = "https://10.0.3.1:8443/sdc/v1" + + + +https://gerrit.onap.org/r/#/c/44203/ -- cgit 1.2.3-korg