aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-26Add instruction and rsync call to instantiateEric Multanen4-13/+125
This patch adds app and resource 'order' and 'dependency' instructions to the appcontext, as these are currently expected by rsync. Adds the rsync client and call to rsync to instantiate the appcontext. Issue-ID: MULTICLOUD-1064 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Iae0da9de4a0ae82bd3ab7ccc72da4abf8b7f2295
2020-06-26Merge "Instantiation and termination of a given context implementation."Ritu Sood10-17/+1144
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-24Instantiation and termination of a given context implementation.Manjunath Ranganathaiah10-17/+1144
Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I60e11aaad97b60efc24a02866dc0e580507e5296
2020-06-24Merge "Update single-node KUD installation variables"Ritu Sood3-85/+1
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-23Fix ovnaction cnitype key valueEric Multanen1-1/+1
Fix the annotation key value for cnitype - should be 'type' instead of 'cniType'. Issue-ID: MULTICLOUD-1094 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I5b12049e9ed114dbc245c5fb219b5a735d8b7e2c
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-19Update to fix inconsistent namingRitu Sood4-34/+37
Dockerfile and Kunernetes resource files use inconsistent names. This patch is to fix inconsistent names. Issue-ID: MULTICLOUD-1065 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: If7ea6d9ecf55196be5400ea5d2b4d3ce42f99b0f
2020-06-17Merge "optimize size and time using "--no-cache-dir""Ritu Sood6-12/+12
2020-06-16Status operator to update status of resourcesSrivahni Chivukula26-26/+2170
This operator monitors the status of resources like pods, services, deployments, daemonsets, configmaps etc. and updates the status in the CR accordingly. Issue-ID: MULTICLOUD-1047 Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com> Change-Id: I7d92584a44c8add2df69f2985140a55b460ac037
2020-06-12Merge "Fix gRpc listen address"Ritu Sood2-4/+4
2020-06-12Merge "Adding Kubernetes resources for v2 API"Ritu Sood3-0/+450
2020-06-12Merge "Add Dockerfile for v2 Microservices"Ritu Sood3-0/+76
2020-06-10Fix gRpc listen addressRitu Sood2-4/+4
listen function doesn't work with ip address. Binding on all interfaces Issue-ID: MULTICLOUD-1019 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I57e1082d8823b349660e0fb207e29ccc9c91a762
2020-06-10Adding Kubernetes resources for v2 APIRitu Sood3-0/+450
Yaml file to start databases and v2 microservices Issue-ID: MULTICLOUD-1065 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I9ed4359fd972ef34e206e126e6f7a5131bd6929d
2020-06-10Add Dockerfile for v2 MicroservicesRitu Sood3-0/+76
Dockerfile for building and running microservices. Issue-ID: MULTICLOUD-1065 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I95242d074b1ad1fa446727d849478b041e2f9829
2020-06-07Make GRPC calls and delete extra cluster handlesRajamohan Raj2-0/+74
The patch makes grpc calls for context updation for a given list of controllers and deletes the extra set of cluster handles for each anyOf cluster after context updation Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I4b946f5f130300628ef4f655213639a2444be2cc
2020-06-06optimize size and time using "--no-cache-dir"Pratik Raj6-12/+12
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 Raj5-14/+310
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-03Add grpc contextupdate client call to orchestratorEric Multanen13-99/+492
Adds a contextupdate client function that can be invoked for any action or placement controller to process intents for that controller. Adds the corresponding server side handling for the ovnaction controller. Issue-ID: MULTICLOUD-1019 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Ifdfc99e522288a530735bc4c1402d45449f6d057
2020-06-03Move cluster management into its own microserviceEric Multanen29-135/+2004
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-03Merge "Add UninstallApp call to grpc"Ritu Sood2-0/+14
2020-06-02Add UninstallApp call to grpcManjunath Ranganathaiah2-0/+14
Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I90c8ff0d548690ea19d325612d1bcd3e5049dc36
2020-06-02Reorganize ncm packages to align with architectureEric Multanen18-530/+815
Reorginize the ncm packges to delineate - cluster provider and cluster management - virtual and provider netowrk intent management - intent scheduler - internal ovn4k8s network controller Overall, no code changes, just moving things around. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I3d43c7e4eb6f285b51c0385ba18626d3511a14f5
2020-06-02Create OVN network action controller from ncmEric Multanen28-149/+1115
Split out part of ncm microservice to act as the Onv4k8s network action controller for the orchestrator. No code changes really - just moving around to fit the architectural plan. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I17292ac72d041050269f05fc4a0c2a6ca741aeb5
2020-06-01Adding cluster meta data and saving in etcdRajamohan Raj7-136/+432
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 Haibin16-21/+144
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 Multanen5-11/+11
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-28Add appcontext instructions during intent applyEric Multanen1-0/+34
Create AppContext instruction records at the app and resource levels when handling the apply api for network and providernetwork intents. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I3c82087273278b2503959664f0a8ee4e34eb0cd2
2020-05-28Add grpc client to resource synchronizer to ncmEric Multanen2-12/+84
Adds a grpc client to resource synchronizer to ncm to handle network and providernetwork. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I45646d66ab1ec79818d0942694f8238718c407b3
2020-05-28fixup rsync go.mod fileEric Multanen3-5/+5
Issue-ID: MULTICLOUD-1005 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I5dd7f9d0ef1862acaf3d987381a5970de488707e
2020-05-28Update go.mod files of services to use local codeEric Multanen8-16/+548
Change go.mod files to replace usage of services in this repo with local code instead of upstream builds. Fix a couple resulting issues. Issue-ID: MULTICLOUD-1077 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I597c7bf98beac3fcee9e37699966cbe839335bf2
2020-05-27Merge "InstallApp Grpc proto and server for rsync"Ritu Sood7-4/+424
2020-05-27Update the Kubernetes Version to 1.16Yao Le16-21/+144
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
2020-05-26Fix the Multus Baremetal containerization testingr.kuralamudhan1-1/+1
- interface name will be different in each Baremetal - Multus testing good for Vagrant and AIO testing only Issue-ID: MULTICLOUD-1037 Co-authored-by: yu marin <weifei.yu@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I50786f07f0dbd9aadffda69d02597c85e2675203
2020-05-26Bug fix for the ImagePullBackOff error in qat testKuralamudhan Ramakrishnan2-2/+2
Issue-ID: MULTICLOUD-1076 Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I2b6bfb265ce5e055987788f6f28fc475a8b5b46c
2020-05-26Adding Multus test in vagrant and containerization installerKuralamudhan Ramakrishnan2-2/+2
Issue-ID: MULTICLOUD-1037 Co-authored-by: yu marin <weifei.yu@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: Id07394cc454b3660fb5f06982fea020e93b26039
2020-05-26Updating multus, SRIOV and nfd test casesmarvinYu7-52/+755
Updating some AddOn test cases and add README.md file. Issue-ID: MULTICLOUD-1037 Signed-off-by: marvinYu <weifei.yu@intel.com> Change-Id: Iee2c31207cf2cd37fb8119bceef286aa887079f9
2020-05-25sriov baremetal installation fixKuralamudhan Ramakrishnan2-5/+11
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Issue-ID: MULTICLOUD-1074 Change-Id: I5c497aef954945c4baee10ff5613b220ed9b8152
2020-05-21InstallApp Grpc proto and server for rsyncManjunath Ranganathaiah7-4/+424
Add the InstallApp GRPC proto file server code to the resource synchronizer. Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I8e586f1b878009fd4df53ef48aae6deded0f64ea
2020-05-21Merge "Change NCM for upstream change in orchestrator"Ritu Sood3-9/+2
2020-05-21Merge "Update scripts for ovn4nfv in multicloud-k8s"Ritu Sood1-12/+26
2020-05-20Change NCM for upstream change in orchestratorRajamohan Raj3-9/+2
Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Ie4a914adbb20f6227dcba9c380a9d416f5274ad3
2020-05-20Update docker version in containerization soltuionr.kuralamudhan1-0/+2
Change docker version to fix kubespray issue in containerization soltuion Co-authored-by: Ritu Sood <ritu.sood@intel.com> Co-authored-by: Le yao <le.yao@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Issue-ID: MULTICLOUD-1073 Change-Id: Id575c64b1630127f1a06ce89ba5b89249d004956
2020-05-21Update scripts for ovn4nfv in multicloud-k8sRuoyu1-12/+26
* Update the image version to integratedcloudnative/ovn4nfv-k8s-plugin * Update the CRD of provider network to support direct provider network Issue-ID: MULTICLOUD-1070 Change-Id: Icfa321bbd354de47af4db65b2021c87facc26871 Signed-off-by: Ruoyu <ruoyu.ying@intel.com>