aboutsummaryrefslogtreecommitdiffstats
path: root/kud
AgeCommit message (Collapse)AuthorFilesLines
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
2019-06-19Add ovn-networkobj for MultusRitu Sood1-0/+26
Add ovn custom resource for Multus as part of installation Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I4e01a06ba76515fa271790b461f473045eb174a2 Issue-ID: MULTICLOUD-670
2019-06-10Make ovn-central network interface configurableSamuli Silvius4-29/+38
installer.sh script is configuring ovn-central address <ip>:<port> to environment variable. Ip address is detected from the ovn-central host through ansible by grepping ifconfig output, but in this step detected network interface is hard-coded in the code to be "eth1". This commit makes network interface configurable in aio/vagrant deployment. Issue-ID: MULTICLOUD-621 Change-Id: Icbe22ffdcb45c5f16067ea609eec76fb70c0ea78 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-06-10Merge changes I798b9dd9,I36b65dd2Bin Yang2-6/+2
* changes: Remove the requirement to run aio.sh as root Documentation update for aio.sh CI change
2019-06-10Merge "Make aio.sh suitable for CI"Bin Yang1-6/+5
2019-06-10Merge "Starting of k8splugin with docker-compose is broken"Bin Yang1-2/+2
2019-06-07Enable mitogen to speed up Ansible executionVictor Morales1-2/+5
Signed-off-by: Victor Morales <victor.morales@intel.com> Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Issue-ID: MULTICLOUD-301 Change-Id: I427145e26eabc92ab19b0a143b759113dbfbeeea
2019-06-06Remove the requirement to run aio.sh as rootSamuli Silvius2-6/+2
However user needs to be in sudoers without password needed to able to run needed steps with sudo. Issue-ID: MULTICLOUD-672 Change-Id: I798b9dd9dad4175c2b43700bfe801d34b578fe97 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-06-05Make aio.sh suitable for CISamuli Silvius1-6/+5
aio.sh script currently clones multicloud/k8s repo itself. That is unnessary and makes it impossible to hook k8s repository to CI system where commit changeset is used to define repository files to be tested. This commit will remove cloning of multicloud/k8s repository and also move aio.sh to baremetal folder which seems to be the intended place for it. Issue-ID: MULTICLOUD-629 Change-Id: Ifc54bbc1ec06bc4c3fbbecca7e676d5ffa392d78 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-06-05Fixing kubectl conflict on KUD addonsSamuli Silvius2-1/+5
Removing kubectl (andrewrothstein.kubectl) dependency that conflicts with kubectl installed by Kupespray. Copy kubectl installed by Kubespray also to host running Ansible. That needs kubectl_localhost: true in Kubespray configuration to make it copy binary to localhost. Issue-ID: MULTICLOUD-667 Change-Id: I8c5f56488a9f559c4358cea5ad56fa23b26ec6aa Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-06-04Remove andrewrothstein.kubectl roleRitu Sood6-13/+0
Removing andrewrothstein.kubectl role which was causing issues in aio baremetal scenario Change-Id: If3c8c71319c4b14dedfa5997881307e5424fd453 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-301
2019-05-31Starting of k8splugin with docker-compose is brokendublinSamuli Silvius1-2/+2
docker-compose.yml and start.sh script cannot be used in installer.sh to start k8splugin and mongo. This commit modifies start.sh script to be usable in installer.sh to start plugin before tests. Also fixed kud_tests variable in installer.sh. Issue-ID: MULTICLOUD-640 Change-Id: I60cc850d6f5b58df574f79ad3c65b801c59b3a14 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-05-28Fix IP address for sink podRitu Sood2-5/+6
IP address was incorrect for sink Change-Id: I28962cedeecd25b136eecf39786b4daed6ae9c26 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-653
2019-05-27Merge "Update vFW Helm chart"Bin Yang7-24/+43
2019-05-24Update vFW Helm chartRitu Sood7-24/+43
Fixed sink containers to use the right containers and also fixed IP addresses. Some cleanup Change-Id: Id7ed7fe48c9e37f5d3c52c02c0585af7511c5efe Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-653
2019-05-23Install jq as an dependency for yqSamuli Silvius5-33/+43
Before using yq binary we need to install also its dependency jq. This commit is fixing jq installation in case it was required as dependency for yq. Also refactored a bit dependency installations of tests. Issue-ID: MULTICLOUD-617 Change-Id: I0ea1143befa1cff809c231422b5cfb14fba1de4e Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-05-23Merge "Adding helm charts for vFirewall."Bin Yang19-0/+487