aboutsummaryrefslogtreecommitdiffstats
path: root/kud
AgeCommit message (Collapse)AuthorFilesLines
2020-09-02Merge "Replace invalid literal true with valid string "true" in yaml."Ritu Sood1-1/+1
2020-09-01fix the vfw demo versionKuralamudhan Ramakrishnan3-3/+3
Issue-ID: MULTICLOUD-1146 Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I221cfc74809c3179c6bc389b513f20128138d24f
2020-09-01Replace invalid literal true with valid string "true" in yaml.Todd Malsbary1-1/+1
Prior to this change qat_plugin_privileges.yaml fails to kubectl apply due to a validation error. Issue-ID: MULTICLOUD-1182 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Ibe73c1b39d1164fe05ea5cdede74dc93f846c943
2020-08-27Remove the need for rysnc registration in orchestratorRajamohan Raj1-2008/+0
Removed dependency of rsync registration from orchestrator.RSYNC shall have a function NewRsyncInfo to initiate a new rsync independent of the orchestrator and make gRPC calls. Issue-ID: MULTICLOUD-1196 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I16bbac6a6865cf3c4ee7b763dac72abe2ed1ad0a
2020-08-21Series of negative tests that validate EMCO open api'sAditya Sharoff14-0/+1560
All negative tests are in negative_tests directory Null is provided as an input to the POST, DELETE, and GET commands and the behavior is observed Issue-ID: MULTICLOUD-1142 Signed-off-by: Aditya Sharoff <aditya.sharoff@intel.com> Change-Id: I8ccf4b5615fc378698faf7f88971db1e250de9b6 Signed-off-by: Aditya Sharoff <aditya.sharoff@intel.com>
2020-08-21Expose override parameters usage in KUD API testsKonrad Bańka1-8/+15
Update plugin_fw.sh test script to also check for proper work of override parameters functionality of instance API. Also update instance API response to exclude duplicated override-parameters entry, that's anyway accessible under '.request.override-values' json path. Issue-ID: MULTICLOUD-1176 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ie1a336ceb7de1a656f77d4c43ee4775c60cb88fb
2020-08-21Updating m3db & m3db operator chartsRajamohan Raj58-1572/+1416
In this patch, updated all the charts related to m3db. Developed scripts for deployment m3db stack through orchestrator. Issue-ID: MULTICLOUD-1112 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I42677809709fc4d12f16a156e563d6618a8f8437
2020-08-18Merge "Update environment varables to match latest"Eric Multanen1-9/+9
2020-08-17Update environment varables to match latestManjunath Ranganathaiah1-9/+9
Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I2ebf81bf61d1eb6ea245ab421b426f4d44667f5b
2020-08-14Merge "Add appcontext state, status and resource status"Ritu Sood1-0/+15
2020-08-11Add appcontext state, status and resource statusEric Multanen1-0/+15
Add support in the AppContext for managing an AppContext (composite app level) status value. Also adds support for tracking rsync status at the resource level. A mechanism for tracking history at the controlling resource level (i.e. DeploymentGroupIntnt or Cluster) is added, in part, so that all AppContexts associated can be deleted when the resource is eventually deleted. Issue-ID: MULTICLOUD-1042 Change-Id: I3d0a9a97ea45ca11f9f873104476e4b67521e56a Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2020-08-10Merge "Integrate Topology Manager"Huang Haibin4-2/+187
2020-08-10Integrate Topology Managerchenjie14-2/+187
Integrate topology manager by utilizing ansible scripts from openness. Issue-ID: MULTICLOUD-1102 Signed-off-by: ChenjieXu <chenjie.xu@intel.com> Change-Id: Ibaaf77e44c97edffe1ae03bf77c2422c89783e75
2020-08-07Enable the prometheus crd creation flagsRajamohan Raj1-2/+2
Issue-ID: MULTICLOUD-1174 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I21186c464a2e41d9ec44e4002295c94de060e8c6
2020-08-03Add StateInfo structure synced resourcesEric Multanen5-3/+5
Add a StateInfo structure to the Cluster and Deployment-Intent-Group resources to keep track of the lifecycle state of these resources. Moved the appcontext id that was being kept into this structure as well. Enabled the approve state (and API) for the deployment intent group. Issue-ID: MULTICLOUD-1042 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I36602d8a0658d9d6d37b8799f9a372a7d1042496
2020-08-03Sanity test script for new releases.Rajamohan Raj2-4/+512
Developed a script which can be used to test a new release and confirm that the minimum components like clm, instantiation by orchestrator and rsync are working fine after the code change. Issue-ID: MULTICLOUD-1174 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I7d519fa88b71fb34d13b7d61f3f8b36edc9fa5f3
2020-07-17Merge "Move status tracking CR to rsync"Ritu Sood1-1/+2
2020-07-17Merge "Update host_providers/vagrant/setup.sh for virtualbox"Ritu Sood1-1/+1
2020-07-17Merge "Update vagrant readme to include info about sample yml files"Ritu Sood1-0/+8
2020-07-17Update vagrant readme to include info about sample yml filesLarry Sachs1-0/+8
Updates the kud/hosting_providers/vagrant/README.md to include info about the ./config/samples/pdf.yml.* sample files. Issue-ID: MULTICLOUD-1129 Change-Id: I5ab02948932d8a9e9e5a8cfc65350726183cd78d Signed-off-by: Larry Sachs <larry.j.sachs@intel.com>
2020-07-16Move status tracking CR to rsyncEric Multanen1-1/+2
Handle creation and deletion of the ResourceBundleState Custom Resource per app/cluster in the rsync microservice instead of adding it to the resources of the composite application in the orchestrator service. Issue-ID: MULTICLOUD-1125 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Id0c0639ff62e788628e78f972107a7603c27abfb
2020-07-09Fixing the triple dash issue in YAML.Rajamohan Raj4-26/+33
In this patch, identified the root cause of failure due to triple dash and fixed it. Also reverted back to original helm charts for M3db operator. Issue-ID: MULTICLOUD-1114 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I175cd134cc751bf4b59e72c9c79e0e658a62f348
2020-07-08Update host_providers/vagrant/setup.sh for virtualboxLarry Sachs1-1/+1
host_providers/vagrant/setup.sh -p virtualbox update to /etc/apt/sources.list is now 'bionic' (was 'trusty') Issue-ID: MULTICLOUD-1122 Signed-off-by: Larry Sachs <larry.j.sachs@intel.com> Change-Id: I0cd989466bab4a571b9e18a5e666c8516b168c1d
2020-07-08Merge "Update Baremetal Deployment README"Ritu Sood1-8/+113
2020-07-08Update Baremetal Deployment READMELarry Sachs1-8/+113
Updates the Baremetal README.md with info from https://wiki.onap.org/display/DW/Kubernetes+Baremetal+deployment+setup+instructions These scripts were tested on Ubuntu 18.04 Issue-ID: MULTICLOUD-1108 Change-Id: I16d41f3459deef16d156aa85a115aee57b78cf09 Signed-off-by: Larry Sachs <larry.j.sachs@intel.com>
2020-07-08Add terminate support to orchestrator and ncmEric Multanen2-10/+28
Complete the basic terminate support for the orchestrator and ncm services. 1. When terminate REST API is invoked on a deployment intent group, call the uninstall grpc api to rsync and then remove the app context. 2. When terminate REST API is invoked on a cluster, add the uninstall grpc api call to rsync to remove the network resources from the clusters. Issue-ID: MULTICLOUD-1040 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I181e891a8c7c973970af061f9ff07d80c3bb64f9
2020-07-08Adds composite app status update and queryEric Multanen4-22/+40
This patch provides the basic framework for supporting monitoring of composite application resources in clusters. 1. Updates to the monitor files for use with v2. 2. Invokes the Watcher process per cluster/app when the app is instantiated. 3. Adds a ResourceBundleState CR resource to the cluster/app so that monitor will be able to update status to it. 4. Watcher updates appropriate appcontext status object when updates are made in clusters by monitor 5. Update appcontext library to define a status handle and object at the app/cluster level 6. Labels resources with an appropriate tracking label to coordinate with the ResourceBundleState CR Issue-ID: MULTICLOUD-1042 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: If007c1fd86ca7a65bb941d1776cfd2d3afed766b
2020-07-07Script for M3Db deployment through orchestratorRajamohan Raj3-0/+11
In this patch, the prometheus-collectd deployment script through orchestrator is enchanced to include M3Db deployment. Issue-ID: MULTICLOUD-1114 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Idd085be16cce1e5ae00f6f70c8a265f8e74ffffa
2020-07-07Script for M3DB operator deployment through orchestratorRajamohan Raj36-51/+434
In this patch, wrote a script for auto deploy of M3DB operator through the orchestrator. Issue-ID: MULTICLOUD-1112 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Ia1951c5ef0de20e9b47f6ab5330dec8db5a1c46f
2020-07-07Script for prometheus as composite app using orchestratorRajamohan Raj5-46/+642
In this patch, identified few issues with rsync and came with a work around for handling list as a kind. Wrote a scipt which can deploy prometheus as a composite app using orchestrator. Issue-ID: MULTICLOUD-1110 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Ib7172c16a2f37dbc4715e59c5be217e154cd3be0
2020-05-27Bug fix for the qat device plugin deploymentKuralamudhan Ramakrishnan1-0/+9
Issue-ID: MULTICLOUD-1075 Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I0b02a3872b525a061bbdaf87aabad8b3fee539cc
2020-06-29Add composite vFW demoEric Multanen37-12/+2009
Add demonstration files and test scripts to show the vFW use case as a composite application using network intents and ovnaction intents to deploy to multiple clusters. Issue-ID: MULTICLOUD-1095 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I74b837f9f97747f1eefffbcd105a6630a7b3a374
2020-06-28Remove addons from the CI buildRitu Sood1-0/+1
Running into memory issues with new addons. Experimental change to address intermittent failures. Issue-ID: MULTICLOUD-1093 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I96c1230f878ddc6c7bda34291a5b46a49bf7f481
2020-06-28Merge "Update cFW instruction set"Ritu Sood15-255/+464
2020-06-26Merge "Integrate M3DB and prometheus & enable remoteWrite"Ritu Sood42-5/+1666
2020-06-25Merge "Integrate collectd, prometheus and grafana."Ritu Sood254-288/+80894
2020-06-24Integrate M3DB and prometheus & enable remoteWriteRajamohan Raj42-5/+1666
In this patch, added the correct helm charts for M3DB, M3DB operator,and verified by deploying them on a 3-node k8s clusters. After deployment, we enable the remote write from prometheus to M3DB. So that M3Db can be used as a long term storage solution for metrics collected by prometheus. Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Issue-ID: MULTICLOUD-1098 Change-Id: I9ecba8c1341d71047685b10fc46676b1df2ee5f8
2020-06-24Integrate collectd, prometheus and grafana.Rajamohan Raj254-288/+80894
In this patch, made neccessary changes in collectd and prometheus helm charts such that prometheus can pull data from collectd. Prometheus GUI and Grafana GUI are verified as well. Issue-ID: MULTICLOUD-1082 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I39b7e20f46aa789272be671056a76dd926701068
2020-06-23Update single-node KUD installation variablesKonrad Bańka3-85/+1
Single host installation requires some kubespray variables defined differently from what is currently defined by default. All-in-one installation script has been updated to provide these differences. CI-building script has been updated and removed applying variables there, as it's not specific just for CI, but for every single-node installation. Issue-ID: MULTICLOUD-1093 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I26c1835d87df41c087b8dfff9f52095083b6c160
2020-06-17Update cFW instruction setVictor Morales15-255/+464
The cFW example has been changed since 1.3.0 version. This commit reduces the steps to setup and provision this CNF. Its main goal is to simplify deployment process. Issue-ID: MULTICLOUD-301 Change-Id: Id96ea4b427aff4c42ecfd43b42fa5d6970c4a6df Signed-off-by: Victor Morales <v.morales@samsung.com>
2020-06-17Merge "optimize size and time using "--no-cache-dir""Ritu Sood5-11/+11
2020-06-06optimize size and time using "--no-cache-dir"Pratik Raj5-11/+11
Using "--no-cache-dir" flag in pip install ,make sure dowloaded packages by pip don't cached on system . This is a best practise which make sure to fetch ftom repo instead of using local cached one . Further , in case of Docker Containers , by restricing caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Issue-ID: MULTICLOUD-1080 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: Ib79fae7e69eb669e39bc3eb52373668367460ba2
2020-06-05Implement Priority Based Controller listRajamohan Raj1-3/+128
As part of this patch, have implemented a priorityQueue based contoller list which shall contain placement contollers and action contollers listed based on their priority. Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Id1beac6e3b6ec5156f64a169042d171ff28e38d6
2020-06-03Move cluster management into its own microserviceEric Multanen2-22/+23
Split out the cluster provider and cluster APIs and packages into a separate microservice to align with the architecture. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I08f357b5a488004a2389b72a178ae33e101d1540
2020-06-01Adding cluster meta data and saving in etcdRajamohan Raj1-1/+60
As part of this patch, we assign groupNumbers for the set of clusters which are under anyOf, or in other words are optional for deployement of app. Also refactored the instantiation flow by separating out the etcd interactions Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I21ece189daf6e6b3a7cfdba5df22d57b3d33ca78
2020-06-01Merge "Update the Kubernetes Version to 1.16"Huang Haibin10-16/+120
2020-06-01Merge "Add support for pmem-csi plugin and e2e test"Huang Haibin11-2/+1165
2020-05-30Add support for pmem-csi plugin and e2e testChen, Tingjie11-2/+1165
Issue-ID: MULTICLOUD-1046 Change-Id: I1853e071a99702c5e6f7ba9ca819746576fd0aca Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
2020-05-28Fix Network and ProviderNetwork yaml formattingEric Multanen1-1/+1
Correct yaml format of Network and ProviderNetwork CRs produced by ncm so that they can be deployed in a cluster. Issue-ID: MULTICLOUD-1072 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I27e55c0c7428ccee6ddb720445e104054eefcee3
2020-05-27Update the Kubernetes Version to 1.16Yao Le10-16/+120
Update kubespray to 2.12 to deploy Kubernetes 1.16 Issue-ID: MULTICLOUD-1063 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: I537f6395e5d05d8b72411dd1e0789e19972f1947