Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/multicloud/k8s.git from branch 'master'
to 3fca6268234bd6d1ce749e8393e39cfd4a365003
- Merge "Fix setup.sh sudo permissions"
- Fix setup.sh sudo permissions
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
|
|
* Update docs/submodules/multicloud/k8s.git from branch 'master'
to 70650063048900b4396a65203a7624d435cb9741
- Change Docker execution permissions
The k8s pluging is running with root user in the Docker image, this
execution can compromise the host system. Therefore, it's necessary
to explicit change those permissions.
Change-Id: I2455895662c68943f5c8800dfff1aaf6202bd870
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-492
|
|
* Update docs/submodules/multicloud/k8s.git from branch 'master'
to b568c2b3067ed7ea0f2efbc4f8b33c32298d5cba
- Merge "Updating kubespray version."
- Updating kubespray version.
Change-Id: I9c84fbfe2ceea3166e8c4dd17fb8846eed554cee
Issue-ID: MULTICLOUD-301
Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
|
|
* Update docs/submodules/multicloud/k8s.git from branch 'master'
to f192cfd9d47fe9ebd7956e6a1842d8e43a607fc1
- Update committer INFO
Remove those committers who decided to step down as a committer
Change-Id: I393d36daa71370a5317d88f2809696496b0f2c3c
Issue-ID: MULTICLOUD-484
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
* Update docs/submodules/multicloud/k8s.git from branch 'master'
to 376223b37af0867b4c051f02bac54fae35e0d699
- Adding the keyword SNAPSHOT to build script.
This fixes the version tag for K8s plugin modifying the
image name.
Change-Id: Ie88279200607dfe4338b2490647cf02a4e2d056c
Issue-ID: MULTICLOUD-301
Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
|
|
* Update docs/submodules/multicloud/k8s.git from branch 'master'
to 4b1a17def6ca8128190cf0c75d4396a48c73ca97
- Remove external script references
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
|
|
* Update docs/submodules/multicloud/k8s.git from branch 'master'
to e711aa83716d2dcca5c0129602e9dc500b281e4b
- Add vFW scripts folder
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
|
|
Project: multicloud/k8s master d53b95760be6a17d5b14de550eb638f4a1c095d5
Add net tag to Makefile
The change that removes duplicate plugins make actions
I0efecdcb70052b4c0d66102c56e0c715481cb34a didn't consider
the flag for net module which it's needed during the runtime.
Change-Id: I534c38d017fcc08294e8ca52cc936dea117914e3
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Project: multicloud/k8s master ecd18ef2315095601454332dd44a8dbc3329c394
Add support for downloading content
Add support for downloading content for creating
the merged helm charts. This api will be used mainly
by the profile api to create a converged chart which
will then be created by the instantiation code
P2: Add unit tests for archive.go
Add download method for profile.go
Update comments for download method
P3: Add unit test for empty files
P4: Add unit tests for Download functions
P5: Rebase against new folder structure
Issue-ID: MULTICLOUD-291
Change-Id: I9779eaf95366f527f0360eaddea663722c13b196
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master f2eca1cca86160a2087b6bcbb8581898f8e77b1e
Merge "Remove duplicate plugins make action"
Remove duplicate plugins make action
The action which compiles all the plugins is duplicated in the
Makefile. This change remove that duplication to define a
consistent build process.
Change-Id: I0efecdcb70052b4c0d66102c56e0c715481cb34a
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Project: multicloud/k8s master 468e208fbe3bcf2524d3aa8ceaabc4324f242b4b
Move api.go functions
CheckEnvVariables, CheckDatabaseConnection, LoadPlugins and
CheckInitialSettings functions are utility functions which are not
related with the API. These functions need to be moved to utils.go
file.
Change-Id: Ie6dfbafe8909962fba31534916a7e0f07ded116b
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Project: multicloud/k8s master 083465d10c8fdeaffa89aa7daa93def3eca77df1
Use a standard Go project layout
This project wasn't following some Standard Go Project Layout
guidelines(https://github.com/golang-standards/project-layout). This
change pretends to organize the source code and following those
guidelines.
Change-Id: I61085ac20f28069cede013f83034bed06892d87c
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Project: multicloud/k8s master 5c4e91705457dc4bdb5526e6f5210fa879ab659d
Merge "Add another parameter to the definition"
Add another parameter to the definition
Add a ChartName parameter to definition
This is need to explicitly specify the chart name
to be used within the tar file.
Issue-ID: MULTICLOUD-291
Change-Id: I3d6e20607b74e54801622a6c27d5674777548ee1
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master 1adeeb1f5512c2d4c90158ce1f1963a99bbf9033
Version update.
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
|
|
Project: multicloud/k8s master 704d7c52983cd935b48d4eb38108c758c7b6c67d
Add support for tags in the mockdb
Add support for tags in mockdb.
Needed for supporting unit tests where a method
does multiple db calls using same uuid but different
tags. Eg: Download methods
Issue-ID: MULTICLOUD-455
Change-Id: I4eff8eeb00eac630205e4e186981a53a573b61fa
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master f26259e651ee0be263a3398d2d0ca0eb27c8995c
Merge "Fix sorting with right index value"
Fix sorting with right index value
Fix the less function used in sort.Slice
with the right index.
I am using the same index which obviously will not work.
Issue-ID: MULTICLOUD-439
Change-Id: Ibb78c03d67cf59e3941acc786796d0cc69b4f0aa
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master 073d2f7806257f27b5b92088dc59ae5a98ae6c38
Merge "Delete content when a definition is deleted"
Delete content when a definition is deleted
When a definition is deleted, delete the content too.
Not deleting the content would leave blobs of data that is not
connected to any metadata in the mongo database.
Issue-ID: MULTICLOUD-393
Change-Id: Ifae55bab0affc22b06b1069a27cd90af6f7d5d98
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master f2cc3c1a20b9d817f3e4efe3c66a6133d5fb3804
Merge "Enable statd service"
Enable statd service
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
|
|
Project: multicloud/k8s master 4bfbc6d3fb1cb11ac2a409764a1380d1741f2af1
Account for strings when reading from db
Strings are not returned unmodified by the
mongo driver and seem to have a size value prepended to them.
Using the built in string reader resolves this issue.
Issue-ID: MULTICLOUD-441
Change-Id: I5c5e35b0749a61b741c9b63cfad55bf2720d91bb
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master 002602dc6b09d4012fbca05740eb4e4dbb9ce6ce
Merge "Add resource bundle profile api"
Add resource bundle profile api
Add CRUD api for uploading profiles for specific definition
resource bundles.
- Adding unit tests
Issue-ID: ONAPARC-348
Change-Id: Ic43724b4e2c035e7989c827612f1b2800fc49a69
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master e9ee50babb3bbfe7a6e774460a46782abefd5107
Minor refactoring of definition unit tests
The definition unit tests needed some small changes to
ensure consistency between the source and the tests.
P3: Sort both the slices before running DeepEqual
Issue-ID: MULTICLOUD-440
Change-Id: If797322e44321a580cb1441bd5c60b812799f844
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master 1fa0e21ea6d3c5fb060daba19a0cb6c1f26f1364
Fix order of db create call
definition upload code call db create in wrong order
This patch fixes that.
Issue-ID: MULTICLOUD-438
Change-Id: I7c60308c89b35583bb739cf98e8106f1c738a143
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master 40a8c03fc466d81028a496060244d887cf86da2b
Merge "Check if no document is returned before error"
Check if no document is returned before error
Check if no document is returned in SingleResult
before throwing any error.
Issue-ID: MULTICLOUD-435
Change-Id: I9d92ff325701c04af278ba7c9e2bf5a55fd4d9bd
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master 326452d9421322e8e08b145ef797496dff2ef954
Bump mongodriver to 0.2.0
Bumping mongodriver version to 0.2.0
This is a driver that has frequent updates
and we need to keep on top of those changes
Issue-ID: MULTICLOUD-426
Change-Id: Ibfc7bdbfd8c3443886d14560bc22a10483ada76a
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master 8db0a40746925ffdd98c6b6718a05e31d17fc755
Merge "Refactor docker-compose variables"
Refactor docker-compose variables
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
|
|
Project: multicloud/k8s master 78316e2f313b414e224113150f80140dc0dc12e1
Bump vagrant version to 2.2.3
Change-Id: I177d1e8ee849bab57fcf313f849c4f4c0e5ff511
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Project: multicloud/k8s master 6bbfadbdfe670334ad7755f3578d668d66dd9756
Merge "Bump kubernetes client to 1.12.3"
Bump kubernetes client to 1.12.3
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>
|
|
Project: multicloud/k8s master d0ec87e1df4ce133ca3e10f6de7c5b3789490255
Merge "Bump virtlet to 1.4.3 and criproxy to 0.14.0"
Bump virtlet to 1.4.3 and criproxy to 0.14.0
Change-Id: I6507c294b8ac4be7ec3561560229282c7f4f0257
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Project: multicloud/k8s master 881691b184661e460d3f6973d535a231e5d089de
Merge "Add Network and OVN4NFV Plugins"
Add Network and OVN4NFV Plugins
This patch includes support for Network Objects through a new plugin.
It also add the first sub-module plugin for OVN4NFVK8s support.
Change-Id: Ia23c42d50f75a5206e1b6a04052c34e940518428
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-303
|
|
Project: multicloud/k8s master 2da9b6c0498528a6eac478fa7b334906457f7b82
Merge "Migrating from consul to mongodb for backend"
Migrating from consul to mongodb for backend
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>
|
|
Project: multicloud/k8s master b878686931d404568af000df1f0f86927a730680
Fix issue with pip install
Pip install not preserving environment
Issue-ID: MULTICLOUD-271
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I5203ca63278581b5c1de1751764de34830f5b872
|
|
Project: multicloud/k8s master aa56022e0fba3c358e46e8671d9a0cd36094ebaa
Integrate OVN4NFV plugin
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
|
|
Project: multicloud/k8s master 8485e82b9c447024ae0eca1899fde5bffafc9f41
Merge "Enable downloading binaries and containers"
Enable downloading binaries and containers
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
|
|
Project: multicloud/k8s master d0a939c51e813a32a0a6ba66dfd4572dded3de27
Merge "Bump vagrant version to 2.2.2"
Bump vagrant version to 2.2.2
Change-Id: Ia94ce1ea3efa19952f8b9ef69fba0684b9c6b2bb
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Project: multicloud/k8s master f19da653ff0b1e7a45e8ba66c1a8458390566b1b
Bump kubernetes version to 1.12.3
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
|
|
Project: multicloud/k8s master b25c8a59e4ce694ef2e621bc3eab9116f0a14e17
Bump kubespray version to 2.8.0
Change-Id: Ie7287f0bd0940fae67af2b1374c7be2fef37844e
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Project: multicloud/k8s master ded39aac0dc67ccaa4ac8ed83161f6aa7abb13b7
Use temporal workaround
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
|
|
Project: multicloud/k8s master 30ba7677acd0f0bf2c0429771e7c1fd064773180
Refactor integration tests
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
|
|
Project: multicloud/k8s master 608ab52840bffde794c6d7d29512e3f788e9ffe2
Merge "Bump vagrant version to 2.2.1"
Bump vagrant version to 2.2.1
Change-Id: Ifddbb8b137acc40f7d0c719ff1b861e1ea5a6320
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-387
|
|
Project: multicloud/k8s master f16df7bd9a5175274a1c8791372c798e62d1bec8
Centralizes version of components
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
|
|
Project: multicloud/k8s master a40ffb20c46915335c128a811b64196af67362ae
Merge "Add upload backend implementation"
Add upload backend implementation
Upload is a seperate API where it takes
a binary stream and stores it. The api supports
tar.gz file format only.
P2: Check if ID is valid before trying upload
Add test with an invalid ID
Issue-ID: MULTICLOUD-393
Change-Id: Id636a95823a046e1795d3be72d0214e953a8c5fc
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master a6ef8c72cceea72936975cfc29af545e229d3391
Merge "Document All-in-One Bare-Metal provisioning"
Document All-in-One Bare-Metal provisioning
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
|
|
Project: multicloud/k8s master a720df54e861048e19de984e68a7e00d03242d14
Revert kube_proxy_mode mode to iptables
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
|
|
Project: multicloud/k8s master 3f780f7973081903f1ab6ea01a855fb6c5512a48
Reconcile names in code and Jira items
k8splugin manages deployment of resource bundles
and these are not restricted to vnfs.
This names' change is to reflect that functionality.
P2: using rb instead of resource bundle
Issue-ID: MULTICLOUD-410
Change-Id: I09e0b92a8fc13562e1c6bb17dc8bc13de97264d7
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Project: multicloud/k8s master 1b76b8fada122365b9adf99cc305721cc114d30a
Change deployment approach
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
|
|
Project: multicloud/k8s master daf3a00798ee77e469cd89cb16ade818c50968f9
Enable Istio
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
|
|
Project: multicloud/k8s master cc05d4af8f082d8174bde5c43fc45b1acc61339f
Create UTs to cover DB calls
This change pretends to increase the code coverage creating Unit
Tests for the interactions with the Databases.
Change-Id: I3b78ebe8ddb131e3c06bcee0065ad5eabeed5677
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Project: multicloud/k8s master 7d2d48d3d0b35de0acd03c6e8a1261efd736edc3
Add vnf definition APIs
Adding APIs for POST, GET, LIST (implemented via GET)
and DELETE commands on /v1/vnfd base for creating,
getting, listing and deleting VNF Definitions.
P2: Added unit tests for vnfdhandler.go
P3: Add unit tests for serialize and deserialize
P4: Integrating review comments
P5: Added customizable mocking for vnfdhandler_test
P6: Added customizablt mocking for vnfd_test
Note that this will soon need to be updated once
the db changes go through in patch 71090
Issue-ID: MULTICLOUD-393
Change-Id: Id509bed370ab3bdc572c6ead22324c1ee3dbf82d
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Signed-off-by: Victor Morales <victor.morales@intel.com>
|
|
Project: multicloud/k8s master 985a6654725e3931737f1a0831bd3b44a0d99a28
Merge "Bumb andrewrothstein.go role to 2.1.10"
Bumb andrewrothstein.go role to 2.1.10
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
|
|
Project: multicloud/k8s master b4a5ff60af9186f45f64f310d1d615da571c834d
Merge "Fix start.sh script"
Fix start.sh script
The start bash script is used during development phase to quickly
test some changes in source code. This script requires to get the
IP address of the Consul database and export the image name. This
change fixes those instructions
Change-Id: I73c4c4be0a9476304bedcd4c62a723ff1ecc7f7c
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|