diff options
author | mrichomme <morgan.richomme@orange.com> | 2019-10-09 14:02:17 +0200 |
---|---|---|
committer | mrichomme <morgan.richomme@orange.com> | 2019-10-09 16:11:18 +0200 |
commit | 842d3220273d962b547a84e5a17ac46781afdd20 (patch) | |
tree | 15287facf7e9e9a88f81bd692205191b084e881d | |
parent | 6754bc1b77065026d499a76d203d12257d33a113 (diff) |
WIP Update integration documentation for El Alto
Issue-ID: INT-1322
Change-Id: Idd1d5f7bd2f57e1acb2e3c050a631cc52e212e1e
Signed-off-by: mrichomme <morgan.richomme@orange.com>
-rw-r--r-- | docs/index.rst | 8 | ||||
-rw-r--r-- | docs/integration-s3p.rst | 24 | ||||
-rw-r--r-- | docs/onap-oom-heat.rst | 100 |
3 files changed, 66 insertions, 66 deletions
diff --git a/docs/index.rst b/docs/index.rst index 05befb182..57ac59220 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -2,10 +2,10 @@ INTEGRATION =========== -The Integration project provides the followning artifacts: +The Integration project provides the following artifacts: -- Heat template to deploy ONAP instance -- Test suites to check the various ONAP components based on Robot Framework -- Artifacts for the use-case deployments +- Heat template to deploy the virtual ressources needed for the ONAP deployment +- Test suites and tools to check the various ONAP components based on Robot Framework +- Artifacts and documentation for the use-case deployments .. include:: onap-oom-heat.rst diff --git a/docs/integration-s3p.rst b/docs/integration-s3p.rst index 31271bc73..2bd83b648 100644 --- a/docs/integration-s3p.rst +++ b/docs/integration-s3p.rst @@ -3,7 +3,7 @@ ONAP Maturity Testing Notes --------------------------- -For the Dublin release, ONAP continues to improve in multiple +For the El Alto release, ONAP continues to improve in multiple areas of Scalability, Security, Stability and Performance (S3P) metrics. @@ -11,15 +11,20 @@ metrics. Stability ========= -Integration Stability Testing verifies that the ONAP platform remains fully functional after running for an extended amounts of time. This is done by repeated running tests against an ONAP instance for a period of 72 hours. +Integration Stability Testing verifies that the ONAP platform remains fully +functional after running for an extended amounts of time. +This is done by repeated running tests against an ONAP instance for a period of +72 hours. Methodology ~~~~~~~~~~~ The Stability Test has two main components: -- Running "ete stability72hr" Robot suite periodically. This test suite verifies that ONAP can instantiate vDNS, vFWCL, and VVG. -- Set up vFW Closed Loop to remain running, then check periodically that the closed loop functionality is still working. +- Running "ete stability72hr" Robot suite periodically. This test suite + verifies that ONAP can instantiate vDNS, vFWCL, and VVG. +- Set up vFW Closed Loop to remain running, then check periodically that the + closed loop functionality is still working. Results: 100% PASS @@ -48,11 +53,18 @@ Detailed results can be found at https://wiki.onap.org/display/DW/Dublin+Release Resilience ========== -Integration Resilience Testing verifies that ONAP can automatically recover from failures of any of its components. This is done by deleting the ONAP pods that are involved in each particular Use Case flow and then checking that the Use Case flow can again be executed successfully after ONAP recovers. +Integration Resilience Testing verifies that ONAP can automatically recover +from failures of any of its components. +This is done by deleting the ONAP pods that are involved in each particular Use +Case flow and then checking that the Use Case flow can again be executed +successfully after ONAP recovers. Methodology ~~~~~~~~~~~ -For each Use Case, a list of the ONAP components involved is identified. The pods of each of those components are systematically deleted one-by-one; after each pod deletion, we wait for the pods to recover, then execute the Use Case again to verify successful ONAP platform recovery. +For each Use Case, a list of the ONAP components involved is identified. +The pods of each of those components are systematically deleted one-by-one; +after each pod deletion, we wait for the pods to recover, then execute the Use +Case again to verify successful ONAP platform recovery. Results: 99.4% PASS diff --git a/docs/onap-oom-heat.rst b/docs/onap-oom-heat.rst index 4426275f2..bb9c1abff 100644 --- a/docs/onap-oom-heat.rst +++ b/docs/onap-oom-heat.rst @@ -1,20 +1,35 @@ .. _onap-oom-heat: -ONAP OOM HEAT Template ----------------------- +Integration Environement Installation +------------------------------------- +ONAP is deployed on top of kubernetes through the OOM installer. +Kubernetes can be installed on bare metal or on different environments such as +OpenStack (private or public cloud), Azure, AWS,.. + +The integration team maintains a heat template to install ONAP on OpenStack. +This template creates the needed resources (VMs, networks, security groups, +...) in order to support a HA Kubernetes then a full ONAP installation. + +Sample OpenStack RC (credential) files environment files or deployment scripts +are provided, they correspond to files used on windriver environment. +This environment is used by the integration team to validate the installation, +perform tests and troubleshoot. + +If you intend to deploy your own environement, they can be used as reference but +must be adapted according to your context. Source files ~~~~~~~~~~~~ -- HEAT template files: https://git.onap.org/integration/tree/deployment/heat/onap-rke?h=dublin -- Sample OpenStack RC file: https://git.onap.org/integration/tree/deployment/heat/onap-rke/env/windriver/Integration-SB-00-openrc?h=dublin -- Sample environment file: https://git.onap.org/integration/tree/deployment/heat/onap-rke/env/windriver/onap-oom.env?h=dublin -- Deployment script: https://git.onap.org/integration/tree/deployment/heat/onap-rke/scripts/deploy.sh?h=dublin +- HEAT template files: https://git.onap.org/integration/tree/deployment/heat/onap-rke?h=elalto +- Sample OpenStack RC file: https://git.onap.org/integration/tree/deployment/heat/onap-rke/env/windriver/Integration-SB-00-openrc?h=elalto +- Sample environment file: https://git.onap.org/integration/tree/deployment/heat/onap-rke/env/windriver/onap-oom.env?h=elatlo +- Deployment script: https://git.onap.org/integration/tree/deployment/heat/onap-rke/scripts/deploy.sh?h=elalto -Description -~~~~~~~~~~~ +Heat Template Description +~~~~~~~~~~~~~~~~~~~~~~~~~ The ONAP Integration Project provides a sample HEAT template that fully automates the deployment of ONAP using OOM as described in @@ -28,6 +43,8 @@ this cluster. - 3 orch VMs for Kubernetes HA controller and etcd roles - 12 k8s VMs for Kubernetes HA worker roles +See OOM documentation for details. + Quick Start ~~~~~~~~~~~ @@ -51,11 +68,22 @@ customize the environment and RC files. You should make a copy of the sample RC and environment files shown above and customize the values for your specific OpenStack environments. -The environment file contains a block called -integration_override_yaml. The content of this block will be created -as the file integration_override.yaml in the deployed Rancher VM, and -used as the helm override files during the OOM deployment. Be sure to -customize the necessary values within this block to match your +The environment file contains a block called integration_override_yaml. + +The content of this block will be used by OOM to overwrite some parts of its +installation parameters used in the helm charts. + +This file may deal with: + +* Cloud adaptation (use the defined flavors, available images) +* Proxies (apt, docker,..) +* Pre-defined resources for use cases (networks, tenant references) +* performance tuning (initialization timers) + +Performance tuning reflects the adaptation to the hardware at a given time. +The lab may evolve and the timers shall follow. + +Be sure to customize the necessary values within this block to match your OpenStack environment as well. **Notes on select parameters** @@ -79,9 +107,8 @@ local to your lab. If you do not wish to use such proxies, you can set the apt_proxy and docker_proxy parameters to the empty string "". rancher_vm_flavor needs to have 8 GB of RAM. -k8s_vm_flavor needs to have 16 GB of RAM. +k8s_vm_flavor needs to have at least 16 GB of RAM. orch_vm_flavor needs to have 4 GB of RAM. - By default the template assumes that you have already imported a keypair named "onap_key" into your OpenStack environment. If the desired keypair has a different name, change the key_name parameter. @@ -99,48 +126,9 @@ Exploring the Rancher VM The Rancher VM that is spun up by this HEAT template serves the following key roles: -- Hosts the /dockerdata-nfs/ NFS export shared by all the k8s VMs for persistent volumes +- Hosts the /dockerdata-nfs/ NFS export shared by all the k8s VMs for persistent + volumes - git clones the oom repo into /root/oom - git clones the integration repo into /root/integration - Creates the helm override file at /root/integration-override.yaml - Deploys ONAP using helm and OOM - - - -.. _deploy-updated-manifest: - -Deploying an Updated Docker Manifest -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Some late changes in the ONAP docker images did not make it in time -for the Dublin release. Depending on the Use Case you are trying -deploy, you may need to update the docker image manifest with certain -newer docker image versions than what was shipped with ONAP Dublin -release. - -The ONAP integration repo contains a script that will apply the docker -versions specified in a given manifest into the OOM helm chart -definitions. - -To apply an updated manifest (on the Rancher VM): - -:: - - cd /root/integration/version-manifest/src/main/resources - cp docker-manifest.csv docker-manifest-custom.csv - - # customize docker-manifest-custom.csv per your requirements - - ../scripts/update-oom-image-versions.sh ./docker-manifest-custom.csv /root/oom/ - - cd /root/oom/kubernetes/ - git diff # verify that the desired docker image changes are applied successfully - make all # recompile the helm charts - -After that you can update or redeploy ONAP OOM as described here: - -.. toctree:: - :maxdepth: 1 - :titlesonly: - - ../../../../submodules/oom.git/docs/oom_quickstart_guide.rst |