summaryrefslogtreecommitdiffstats
path: root/nokiav2/docs/fix.rst
blob: 68f8253459550bb1ae58765950dd007c6a1a8cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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/