summaryrefslogtreecommitdiffstats
path: root/kud
AgeCommit message (Collapse)AuthorFilesLines
2019-10-24Merge "Update KUD to switch to Ubuntu 18.04"Kiran Kamineni3-4/+3
2019-10-23update helm chart for onap4k8s installation scriptKuralamudhan Ramakrishnan2-2/+2
Issue-ID: MULTICLOUD-867 Co-authored-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com> Co-authored-by: Ritu Sood <ritu.sood@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I72f3b56fd709da21854280abeaadb0c6d03b72fb
2019-10-21Adding SRIOV Network Device Plugin to KuDAkhila Kishore11-2/+493
Integrating SRIOV as an add-on to KuD. A device should have X700 series NIC for this Add-on to work. Getting the device driver, build and installing it is a part of this patch. Followed by running the SRIOV CNI Daemonset, and NetworkAttachmentDefinition. Reworked the way SRIOV check happens. Previously ran on installer.sh. Now the script is injected into kube-nodes and playbook will run only if the hardware check is true by creating a conf file. Removed unwanted comments and nit changes. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-832 Change-Id: I1701a50bc717ddca0d332d6a42d329eaf4c03820
2019-10-20Update KUD to switch to Ubuntu 18.04Ritu Sood3-4/+3
Removed not needed packages for 18.04 for OVN, updated the vagrant image to 18.04 and added some needed apt packages Issue-ID: MULTICLOUD-474 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I82550f8e58371af1c2476540c6b864384c450967
2019-10-17Merge "Adding kud containerized features"Ritu Sood6-0/+445
2019-10-18Changing the address ranges for KUD clusterRitu Sood1-0/+5
Issue-ID: MULTICLOUD-454 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I779971c21aac6e27a7f8fcafc708c4a70438f823
2019-10-16Adding kud containerized featuresKuralamudhan Ramakrishnan6-0/+445
Issue-ID: MULTICLOUD-827 Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I0205459a032c8876943e9b50e61b2c315b138af9
2019-09-28Merge "Enable self-cleanup after testing vcFW deployment"Ritu Sood1-7/+52
2019-09-17Merge "Add service for k8s vfw packet generator"Ritu Sood2-0/+23
2019-09-12Merge "Integrating NFD Daemonset with KuD"Ritu Sood6-65/+173
2019-09-12Remove unused ovn-kubernetesRitu Sood2-272/+0
Removing unsused ovn-kubernetes playbook and test from KUD. Currently there is no plan to use and also this is untested. Issue-ID: MULTICLOUD-684 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I684bf82c7d4ab6d051178a027a385923ec9c4f2b
2019-09-12Enable self-cleanup after testing vcFW deploymentKonrad Bańka1-7/+52
integration_vcFW.sh has been updated to clean k8s from testsuite leftovers after it finishes when passed optional '--cleanup' flag. Without it, script will preserve created vcFW environment for debug purposes. Issue-ID: MULTICLOUD-708 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ia6d78f1e3e2ac81e8ff7385d563e9bf1b1479026
2019-09-11Integrating NFD Daemonset with KuDAkhila Kishore6-65/+173
Current NFD code in KuD is unused and obsolete. Integrating NFD as DaemonSet and updating test case for NFD. Added comments. Addressed comments and changed the matchExpression to kernel features. Changed operator from "In" to Gt, and values 4 to 3 better fit broader spectrum of O.S's. Adding exit conditon in case there's an error status. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-797 Change-Id: I454fb1998fc84e5f0d566f32b7dcfd85872c5183
2019-09-05Add service for k8s vfw packet generatorEric Multanen2-0/+23
Defines a service for the vfw packet generator of the K8S demo. This allows netconf mount to be made by appc. Issue-ID: MULTICLOUD-802 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I895edcbc3950c798e39906ff5cb862602193fc3b
2019-09-04Merge "Use Multus Daemonset for installing Multus in KuD"Ritu Sood3-117/+164
2019-09-03Use Multus Daemonset for installing Multus in KuDAkhila Kishore3-117/+164
Currently KuD uses Ansible scripts for installing Multus. Multus has a daemonset that should be used for installing the multus as part of an add-on. This is also helpful for KuD offline deployment in the future. Removed the comment. Updated the images path and removed error supression addressed by comments. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-681 Change-Id: Id3702a2b5bd18804c2d7e4d063eba656202cb840
2019-08-28Merge "Remove unsused variables from kud-vars"Kiran Kamineni1-6/+0
2019-08-30Remove unsused variables from kud-varsRitu Sood1-6/+0
ovn4nfv url and other information not required now after the patch https://gerrit.onap.org/r/#/c/multicloud/k8s/+/93602/ Issue-ID: MULTICLOUD-684 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: Ic4ccc67647c85a39d482ff7d71122f05641d1acb
2019-08-29Fix path to imagesRitu Sood1-1/+1
Relative playbook path breaks in aio configuration. Issue-ID: MULTICLOUD-684 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: Id064157d010438dea33500dd0dc200b1c1b0f0d1
2019-08-29Add support for Network OperatorRitu Sood11-157/+409
ovn4nfvk8s plugin now uses operator sdk and controller runtime. It now includes support for Network operator. This patch includes changes needed in KUD for that. Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-684 Change-Id: I63dc971e257067c69c70a8996eaffd1a9d8a4c2c
2019-08-19Version update.Akhila Kishore2-2/+2
Updating Kubespray version from 2.8.2 to 2.10.4 for KuD offline support and integration with new add-ons in future. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-772 Change-Id: I4b7887aae359cd6197e696010acde6e204c41931
2019-08-19Revert "Version update."Kiran Kamineni2-2/+2
This reverts commit 5f760c3fb7d0e74833b1a2137e6ff3dadc71b2f5. Issue-ID: MULTICLOUD-772 Change-Id: I6feffd87545195992fb28e98dcee4038d9b08474 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-08-19Version update.Akhila Kishore2-2/+2
Updating Kubespray version from 2.8.2 to 2.10.4 for KuD offline support and integration with new add-ons in future. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-772 Change-Id: Ib1263e86adb9815e1ee56038507a3c092aad1feb
2019-08-08Merge "Fix istio test scenario endpoint API validation"Kiran Kamineni1-1/+1
2019-08-06Merge changes Ia35fac70,I7ffaa3d4,I53e7e4d6Bin Yang4-51/+48
* changes: Update plugin.sh with new helper functions Provide connection info for plugin testcase Correct k8splugin endpoint configuration in KUD test
2019-08-05Merge "Correct go version installed by k8s addons"Bin Yang3-6/+8
2019-08-02Update plugin.sh with new helper functionsKonrad Bańka4-62/+34
Plugin.sh has been refactored to use new wrapper functions as well as utilize helm package command for creating resource bundle in order to test proper handling of this scenario by plugin Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ia35fac70153fdb34ba75bfff31f9b2566b986cf1
2019-08-01Correct go version installed by k8s addonsKonrad Bańka3-6/+8
Andrewrothstein.go galaxy role, that was responsible for go installation was in too old tag to support demanded (1.12.4) go version. It also blocked ovn-kubernetes addon installation that's fixed now. Go version has been also upgraded to 1.12.5 Issue-ID: MULTICLOUD-644 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I926bd061a361b2ae2efa2aecedf4fa6321f04cc8
2019-08-01Add test case for loading vFW Helm chartRitu Sood4-1/+151
This test checks vFW lifecycle using the k8splugin. Issue-ID: MULTICLOUD-708 Change-Id: I46d47e64562d75d8b1f7552fc073b1e59efa443e Signed-off-by: Ritu Sood <ritu.sood@intel.com> Co-authored-by: Konrad Bańka <k.banka@samsung.com>
2019-07-24Changing Pull Policy for vFw Helm chartRitu Sood3-4/+3
Pull policy is "Always" because of that VM/container images are pulled everytime for each chart. This slows down the deployment to several minutes in the lab environment. Changing pull policy to "IfNotPresent". Change-Id: I3c01e681f010481221f1e720e6f09b317fbe9d87 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-708
2019-07-23Merge "Improve provisioning central IP address for ovn tests"Bin Yang2-10/+34
2019-07-23Merge "Provide idempotent multus plugin configuration"Bin Yang1-20/+18
2019-07-16vFw Demo Helm chart issueRitu Sood1-1/+1
Fixing a typo in vFw Helm chart Change-Id: I5e7657dba037e48539ac32a98f1731ec1ff942a8 Issue-ID: MULTICLOUD-708 Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-07-16Improve provisioning central IP address for ovn testsKonrad Bańka2-10/+34
Function responsible for providing central ovn address has been corrected to utilize already configured address instead of checking it each time. Error reporting within the same function has been also corrected and improved as well as iproute package became used for address determining instead of net-tools' ifconfig Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I156297098b7919471df711f049f0d9439bd81420
2019-07-16Provide connection info for plugin testcaseKonrad Bańka1-0/+25
Plugin.sh testcase was unable to instantiate VNF as it was missing k8s backend configuration. This configuration is now provided before instantiation and torn down on test end. Issue-ID: MULTICLOUD-639 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I7ffaa3d4e2df84b38b50e11900406b55f94c6de8
2019-07-16Correct k8splugin endpoint configuration in KUD testKonrad Bańka1-3/+3
Plugin.sh was misconfigured to connect at wrong port of k8splugin service. Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I53e7e4d6fdb727adc755318012ee262dbec811ef
2019-07-16Provide idempotent multus plugin configurationKonrad Bańka1-20/+18
Blockinfile task overrides marker section in order to provide valid json content in file. Because of this, generated block is added each time this playbook is run. This makes CNI config file contain malformed content when launched more than once. Issue-ID: MULTICLOUD-676 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: If1c98414be4fb3a5b6c1c63fada0bd934448f040
2019-07-15Fix istio test scenario endpoint API validationKonrad Bańka1-1/+1
Current query issued at the end of testcase to istio service API didn't validate the case, when http server responded with 5XX http code. By reusing common wrapper for cURL, this is now handled properly. Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ifb73494c9a6d98143edccaad095b2de5d456ef4f
2019-07-15Correct plugin_edgex testcaseKonrad Bańka4-46/+106
Plugin_edgex.sh script hasn't been updated to few changes that happened in k8splugin API and CSAR definitions. This commit rewrites previous test scenario to be up to date with current plugin state. Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Id235f4549e10f57451bf2b6195df8c95230e1c7e
2019-07-15Provide wrapper functions for issuing k8splugin API callsKonrad Bańka1-0/+38
In plugin.sh and plugin_edgex.sh test scenarios, there are executed many curl calls to API endpoint. As curl's default behavior for handling 4xx and 5xx status code is not perfect, wrapper functions have been created to easily ensure correctness of issued API call. Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I0c6dd5e4f896972245a6fa6c8c2a10d8df8ec406
2019-07-09Fix helm installation conflictKonrad Bańka2-5/+18
Kubespray installs helm client on kubernetes master. The same client has to be installed on host running installation playbooks. In single node scenario, local host already has helm client installed by kubespray, thus leading to conflict due to way of provisioning. This helm installation has been moved to global configure playbook, as well as corrected, not to fail on single host deployments. Issue-ID: MULTICLOUD-690 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I1ef779ed0f2fde82758ce9e229c3f5bb015b2aeb
2019-06-24Correct installer.sh to enable testing during deploymentKonrad Bańka1-3/+3
Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I02724ca72a217cbb5be8cfee5edf136f4bf8ce2c
2019-06-21Make aio.sh preserve host's ssh keys if possibleKonrad Bańka1-4/+9
aio.sh script creates rsa key that is also added to host's authorized_keys. Currently, existing id_rsa keys are removed in order to generate fresh key each time. This change makes setup script reuse existing key when possible. Issue-ID: MULTICLOUD-676 Change-Id: I3b6b837f64dabd3cb6a14aa5ea65e67c6b8db6a8 Signed-off-by: Konrad Bańka <k.banka@samsung.com>
2019-06-20Unify resolving current directory in KUD scriptsSamuli Silvius4-4/+4
Issue-ID: MULTICLOUD-685 Change-Id: I62199f64da360627a13c467139a39430ae389167 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-06-20Adding ci-kud-installer wrapperMichal Ptacek1-0/+13
this wrapper is new entry point for CI job triggering aio.sh execution. Change-Id: I650675c9cfff396010bf3a1d36e9840dedf9d403 Issue-ID: MULTICLOUD-635 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com> Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-06-19Merge "Multus error when the namesapace is not default"Bin Yang3-3/+3
2019-06-19Merge "Add ovn-networkobj for Multus"Bin Yang1-0/+26
2019-06-19Merge "Make ovn-central network interface configurable"Bin Yang4-29/+38
2019-06-19Merge "Enable mitogen to speed up Ansible execution"Bin Yang1-2/+5
2019-06-19Multus error when the namesapace is not defaultRitu Sood3-3/+3
Multus has a limitation that namespace in which network is defined has to be explicitly provided. As we are defining network in "default" namespace, that needs to be provided in all deployment files Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-663 Change-Id: Iefc17691fa909843f12fa35693900a063a6d20ae