Versions Compared

Key

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

...

Get an openlab account - Integration / Developer Lab Access

Stephen Gooch provides excellent/fast service - raise a JIRA like the following

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyOPENLABS-75

Install openVPN - Using Lab POD-ONAP-01 Environment

For OSX both Viscosity and TunnelBlick work fine

Login to Openstack

Install openstack command line toolsTutorial: Configuring and Starting Up the Base ONAP Stack#InstallPythonvirtualenvTools(optional,butrecommended)
get your v3 rc file

verify your openstack cli access (or just use the jumpbox)
Code Block
obrienbiometrics:aws michaelobrien$ source logging-openrc.sh 
obrienbiometrics:aws michaelobrien$ openstack server list
+--------------------------------------+---------+--------+-------------------------------+------------+
| ID                                   | Name    | Status | Networks                      | Image Name |
+--------------------------------------+---------+--------+-------------------------------+------------+
| 1ed28213-62dd-4ef6-bdde-6307e0b42c8c | jenkins | ACTIVE | admin-private-mgmt=10.10.2.34 |            |
+--------------------------------------+---------+--------+-------------------------------+------------+
get some elastic IP's

You may need to release unused IPs from other tenants - as we have 4 pools of 50

fill in your stack env parameters

to fill in your config (mso) settings in values.yaml follow https://onap.readthedocs.io/en/beijing/submodules/oom.git/docs/oom_quickstart_guide.html section "To generate openStackEncryptedPasswordHere"

example

ubuntu@ip-172-31-54-73:~/_dev/log-137-57171/oom/kubernetes/so/resources/config/mso$ cat encryption.key 

aa3871669d893c7fb8abbcda31b88b4f

ubuntu@ip-172-31-54-73:~/_dev/log-137-57171/oom/kubernetes/so/resources/config/mso$ echo -n "55" | openssl aes-128-ecb -e -K aa3871669d893c7fb8abbcda31b88b4f -nosalt | xxd -c 256 -p

a355b08d52c73762ad9915d98736b23b

Run the HEAT stack
Code Block
obrienbiometrics:onap_oom-714_heat michaelobrien$ openstack stack list
+--------------------------------------+----------------------------+-----------------+----------------------+----------------------+
| ID                                   | Stack Name                 | Stack Status    | Creation Time        | Updated Time         |
+--------------------------------------+----------------------------+-----------------+----------------------+----------------------+
| 52379aea-d0a9-48db-a13e-35ca00876768 | dcae                       | CREATE_COMPLETE | 2018-03-04T22:02:12Z | 2018-03-04T22:02:12Z |
| 15203d3e-b603-4ccd-8be8-57c93f90da80 | oom20181214_obrien_rancher | CREATE_COMPLETE | 2018-02-15T01:26:27Z | 2018-02-15T01:26:27Z |
+--------------------------------------+----------------------------+-----------------+----------------------+----------------------+
obrienbiometrics:onap_oom-714_heat michaelobrien$ openstack stack create -t oom_openstack.yaml -e logging_openstack_oom.env OOM20180507a
+---------------------+-----------------------------------------+
| Field               | Value                                   |
+---------------------+-----------------------------------------+
| id                  | f40a14a1-8114-463c-b1ba-c4df28215385    |
| stack_name          | OOM20180507a                            |
| description         | Heat template to install OOM components |
| creation_time       | 2018-05-07T16:47:53Z                    |
| updated_time        | 2018-05-07T16:47:53Z                    |
| stack_status        | CREATE_IN_PROGRESS                      |
| stack_status_reason | Stack CREATE started                    |
+---------------------+-----------------------------------------+
ssh in
Code Block
themeMidnight
obrienbiometrics:onap_oom-714_heat michaelobrien$ ssh ubuntu@10.12.6.151
ubuntu@onap-oom-obrien-rancher:~$ docker version
Client:
 Version:      17.03.2-ce
 API version:  1.27
install Kubernetes stack (rancher, k8s, helm)

Get the latest oom_entrypoint.sh until OOM-710 is merged directly on the JIRA

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyOOM-710

Code Block
themeMidnight
git clone https://gerrit.onap.org/r/logging-analytics
cp logging-analytics/deploy/rancher/oom_entrypoint.sh .
sudo chmod 777 oom_entrypoint.sh 
sudo vi /etc/hosts
# put 127.0.0.1 your-host-name above
ifconfig
# get artifacts - but dont run yet
sudo ./oom_entrypoint.sh -b master -s 10.12.6.151 -e onap
# take out docker install line - already done - rerun
sudo vi oom_rancher_setup.sh 
sudo ./oom_entrypoint.sh -b master -s 10.12.6.151 -e onap
# wait 90 min
kubectl get pods --all-namespaces
kubectl get pods --all-namespaces | grep 0/
# note this will saturate your 64g vm unless you run a cluster or turn off parts of onap
sudo vi oom/kubernetes/onap/values.yaml 
# rerun cd.sh
sudo ./cd.sh -b master -e onap -c true -d true -w false -r false

...