aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant
AgeCommit message (Collapse)AuthorFilesLines
2019-03-22Restructuring the repo.Akhila Kishore129-7402/+0
The idea is to restructure the existing repo create a deployment independent of Vagrant or other hosting providers. Renamed KRD to KUbernetes Deploy(Kud) including the ansible scripts Added new path to functional tests. Moved samples pdfs to sites. Minor changes to Readme. Updated aio.sh, moved sample config Corrected other nits. Updated and verified test cases. Addressed comments and changes associated with it. Updated Readme and minor change in Vagrantfile. Validated test cases again. Moved aio.sh into vagrant folder. Added new README for each hosting provider and project on the whole. Updated the installer script with relative path. Updated the name to deployment_infra, moved the cFW sripcts to tests. Updated the gitignore file. Issue-ID: MULTICLOUD-301 Change-Id: Ie48c26b12ab58b604493fba58a9c5b9f8ba10942 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
2019-03-21Merge "Bring in all the other helper code"Victor Morales1-3/+3
2019-03-21Merge "Cleanup kubespray config values"Bin Yang1-12/+1
2019-03-21Merge "Update setup.sh script"Bin Yang1-7/+7
2019-03-20Workaround for Kernel Package IssueRitu Sood1-1/+1
Due to Ubuntu Kernel package issue KRD is not installing. https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1820755 This is a workaround to not install those kernel packages Change-Id: Ib298ad695c2e7b88bef46340afc9407868820e1d Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-301
2019-03-20Merge "Add cFW scripts folder"Bin Yang10-0/+337
2019-03-19Bring in all the other helper codeKiran Kamineni1-3/+3
Bring in all the helper functions added for end to end integration. This allows the api level upload of helm charts, profiles and also instantiation of said helm charts. P3: Plugin index is based on lowercase kind name whereas the map contains the correct case for kind. Convert to lower case before loading the plugin. Changes after rebasing on the new folder structure. Rebasing over the new folder structure P8: Add unit tests for Resolve function Fix the integration tests for createvnf I had to add a huge blob of base64 encoded data based on the profile and sample helm chart to test the flow. P12: Update the integration test with the rb_profile_id parameter Issue-ID: MULTICLOUD-291 Change-Id: If04c41cb185074989ab6c96557958140c43e456d Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-03-08Merge "Add test helm chart for testing"Victor Morales16-9/+576
2019-03-08Add test helm chart for testingKiran Kamineni16-9/+576
Add a test helm chart for testing the end to end flow. This chart brings up a service and a deployment. The deployment brings up two containers, vault and consul. Vault and Consul are brought up in dev mode. The helm chart also has a subchart, common, which contains templates that are used within the main chart. Added an override deployment.yaml which creates only one container instead of two Fixed plugin.sh and tar file creation steps Issue-ID: MULTICLOUD-291 Change-Id: I7eb10c9f43f8a4e09938139b5e2edee5d59feb3b Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com> Signed-off-by: Victor Morales <victor.morales@intel.com>
2019-03-07Update setup.sh scriptVictor Morales1-7/+7
This script was changed some instructions which was reported by shellcheck tool and fix some non-ubuntu instructions. Change-Id: If7dce994f024d99aa8f4d306da928e616774b013 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-03-06Cleanup kubespray config valuesVictor Morales1-12/+1
There were some kubespray configuration values that are not needed and some are causing conflicts with the dashboard. This change removes them. Change-Id: I6e58b9faf45a24bb29e2760976a157a759ac3115 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-03-04Updating virtlet versionAkhila Kishore1-1/+1
Change-Id: I39dec4a2dade465ea7cd561354724dd67cd28d20 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-301
2019-02-28Add cFW scripts folderVictor Morales10-0/+337
The Dockerfiles that are used for building the Docker images during the testing the Hybrid Firewall ONAP use case are hosted in an external repo. This change includes the latest working version for those scripts. Change-Id: I92c10c3161820ac09a94ff997c6bc39617278965 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-02-27Merge "Fix setup.sh sudo permissions"Victor Morales1-8/+12
2019-02-21Updating kubespray version.Akhila Kishore1-1/+1
Change-Id: I9c84fbfe2ceea3166e8c4dd17fb8846eed554cee Issue-ID: MULTICLOUD-301 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
2019-02-19Fix setup.sh sudo permissionsVictor Morales1-8/+12
There are some instructions in the setup.sh script file which require the addition of sudo instruction. This change fixes them. Change-Id: If680d9d9aac2a4b22d665b58ab31a4693c71588e Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-02-06Remove external script referencesVictor Morales1-5/+5
The integration_* test scripts have some references to external repositories that are out of the ONAP project scope. This change removes those references to keep everything defined in this repo. Change-Id: I0e829c6215efaf3cde9f5198f235b15350ac8235 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-02-06Add vFW scripts folderVictor Morales6-0/+343
The bash scripts that are used for testing the Firewall ONAP use case are hosted in an external repo. This change includes the latest working version for those scripts. Change-Id: Ic2d371a3e715d867cb4e61e0ad13da812edeea45 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-01-25Version update.Akhila Kishore1-1/+1
Updating the version of galaxy role kubectl to latest. Change-Id: Ie985516713700a0db21d032084c158e16516cf3f Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-301
2019-01-16Enable statd serviceVictor Morales1-0/+5
NFS uses rpc-statd service to provide locks. These service needs to be started separately. This fix enables that service to prevents 'no locks available' message errors. Change-Id: I37263226072db2b064e02811ed397bb3040254b7 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-01-10Merge "Refactor docker-compose variables"Victor Morales1-4/+13
2019-01-09Bump vagrant version to 2.2.3Victor Morales1-1/+1
Change-Id: I177d1e8ee849bab57fcf313f849c4f4c0e5ff511 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-01-06Refactor docker-compose variablesVictor Morales1-4/+13
The default environment variables required by docker-compose.yml file was exported to .env file to have better control on them. Change-Id: I52408cbf6e6918621a10158866d899d5f66a47eb Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-01-04Merge "Bump kubernetes client to 1.12.3"Victor Morales5-10/+11
2019-01-03Bump kubernetes client to 1.12.3Kiran Kamineni5-10/+11
Bumping up the kubernetes client library used to kubernetes 1.12.3 We will move it to v10.0.0 once our k8s deployment moves to 1.13.0 Bumping kubectl version to 1.12.2 as andrewrothstein/ansible-kubectl does not have 1.12.3 in its main.yml Issue-ID: MULTICLOUD-301 Change-Id: Ifb2eaecb794bfdec19d631fdc9ece051d5ebfc60 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-12-19Merge "Bump virtlet to 1.4.3 and criproxy to 0.14.0"Victor Morales1-2/+2
2018-12-15Merge "Migrating from consul to mongodb for backend"Victor Morales1-1/+1
2018-12-14Migrating from consul to mongodb for backendKiran Kamineni1-1/+1
Migrating to mongodb from consul. The main reason being the value size limitation of 512kb in consul. See https://jira.onap.org/browse/MULTICLOUD-426 for details. This requires a little bit of hierarchy management and data management. We are no longer converting structs to json encoded strings. The underlying db supports structs without any modifications. Also, since Mongo has the concept of collections, each submodule can use its own collection for storage as needed. Definition uses a collection called rbdef right now. P10: Enabling unit tests for mongo.go. This requires the usage of aliased functions. P11: Expanded unit tests for all functions in mongo.go P12: Refactored parameter validation. Removed TestHealthCheck as we are not mocking any of the db commands right now Checking return value of read with an expected value P13: Adding back consul support. Fixing functional test Full consul implementation check and modifications is being tracked by MULTICLOUD-427 P15: Fix ReadAll unit test and corresponding code ReadAll now returns error when no objects are found Issue-ID: MULTICLOUD-426 Change-Id: I42d239b324025fc4ef4e561790aceeff794001ef Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-12-14Fix issue with pip installRitu Sood1-2/+3
Pip install not preserving environment Issue-ID: MULTICLOUD-271 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I5203ca63278581b5c1de1751764de34830f5b872
2018-12-13Bump virtlet to 1.4.3 and criproxy to 0.14.0Victor Morales1-2/+2
Change-Id: I6507c294b8ac4be7ec3561560229282c7f4f0257 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-12-07Integrate OVN4NFV pluginVictor Morales9-42/+357
This change includes the files to install, configure and test the OVN4NFV plugin. Change-Id: I0c431e475bd391e13680c734cff555e4dfc055ae Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-304
2018-12-07Merge "Enable downloading binaries and containers"Victor Morales9-81/+122
2018-12-07Merge "Bump vagrant version to 2.2.2"Victor Morales1-1/+1
2018-12-07Enable downloading binaries and containersVictor Morales9-81/+122
The *download_run_once* kubespray config option allows to download container images only once then push to cluster nodes and the *download_localhost* option makes the installer node a delegate for pushing images while running the deployment with ansible. These two options pretends to reduce the amount of traffic during the deployment time of the Kubernetes cluster. Change-Id: I8239cebbf5c322ed52ae0a0bc8774e5e33aada3c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-425
2018-12-05Bump kubernetes version to 1.12.3Victor Morales1-1/+1
This version address the CVE-2018-1002105 security issue. https://discuss.kubernetes.io/t/kubernetes-security-announcement-v1-10-11-v1-11-5-v1-12-3-released-to-address-cve-2018-1002105/3700 Change-Id: I2d13c2f5a42db9492652e4e54b946099c9b83dca Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-12-05Bump kubespray version to 2.8.0Victor Morales2-1/+2
Change-Id: Ie7287f0bd0940fae67af2b1374c7be2fef37844e Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-12-05Bump vagrant version to 2.2.2Victor Morales1-1/+1
Change-Id: Ia94ce1ea3efa19952f8b9ef69fba0684b9c6b2bb Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-27Use temporal workaroundVictor Morales1-6/+6
Multus CNI require a change to allow Virtlet to use multiple nics. This change has been submitted and it's waiting for approvals, this is a workaround in the meantime. Change-Id: Ia3c9769bcb33d08e5545e133e09b95f6742d099b Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-27Refactor integration testsVictor Morales4-84/+113
The integration tests were sharing names and IP ranges in the creation of CSAR files. Those values can be centralized to have better control over them. Change-Id: I85642dbb57af1cf8908880614dffb36855ca3899 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-26Merge "Bump vagrant version to 2.2.1"Victor Morales1-1/+1
2018-11-21Bump vagrant version to 2.2.1Victor Morales1-1/+1
Change-Id: Ifddbb8b137acc40f7d0c719ff1b861e1ea5a6320 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-387
2018-11-21Centralizes version of componentsVictor Morales8-12/+30
The galaxy roles used by KRD requires to centralize their version used in the playbook/krd-vars.yml file, this file facilitates the version control and helps as single point of truth. Change-Id: If4544f529ff00689dc6cd6bca7e8adc0c876aa18 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-21Merge "Document All-in-One Bare-Metal provisioning"Bin Hu3-4/+72
2018-11-20Document All-in-One Bare-Metal provisioningVictor Morales3-4/+72
This document describe the proces to do an All-in-One deployment in a Bare-Metal deployment, listing the Hardware and Software minimal requirements, it also uses the aio.sh bash script for reducing the number of manual steps. Vagrantfile and installer.sh has been modified to disable functional tests by default and includes the passwordless sudo verification. Change-Id: Iec7b0bb37d2a46342e6b7e60bed37dbdf2019a10 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-408
2018-11-20Revert kube_proxy_mode mode to iptablesVictor Morales1-1/+1
Ipvs proxy mode affects the functionality of Virtlet. Therefore it's necessary to revert this change to its default option which is iptables. Change-Id: Id31bbd0dbbf6eaa4b29c71930c3f9e8a9d057285 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-15Change deployment approachVictor Morales4-74/+48
This change pretends to isolate the deployment script and make it consumable externally. Change-Id: I7b9859fcc55e03e706aa54d4bc632ed15b4313be Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-408
2018-11-14Enable IstioVictor Morales7-2/+100
This commit includes the playbook that installs and configure Istio Service Mesh services. It also defines a draft script for testing its sample. Change-Id: I7f0049aae4ae0033356c370a0e86d583e7bf744f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-406
2018-11-07Bumb andrewrothstein.go role to 2.1.10Victor Morales1-1/+1
This version installs golang 1.11.2 by default on the server nodes Change-Id: I0526f5c792d907ca9b25df0bdbbe38be43628aba Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-07Merge "Change proxy-mode from iptables to ipvs"Victor Morales1-0/+6
2018-11-05Merge "Add context into for sink service selector"Victor Morales1-0/+3