aboutsummaryrefslogtreecommitdiffstats
path: root/kud/hosting_providers/vagrant
AgeCommit message (Collapse)AuthorFilesLines
2019-10-24Merge "Disabling node local DNS"Kiran Kamineni1-1/+2
2019-10-24Merge "Update KUD to switch to Ubuntu 18.04"Kiran Kamineni2-2/+3
2019-10-21Adding SRIOV Network Device Plugin to KuDAkhila Kishore2-2/+23
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 Sood2-2/+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-19Disabling node local DNSRitu Sood1-1/+2
Seeing intermittent issues with DNS failing on KUD. Disabling node local DNS for now as a possible workaround. This can be enabled once other issues a isolated. Issue-ID: MULTICLOUD-861 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I502f1a41651cb9b7f284f6be36a752d302777703
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-09-11Integrating NFD Daemonset with KuDAkhila Kishore1-1/+1
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-08-19Version update.Akhila Kishore1-1/+1
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 Kamineni1-1/+1
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 Kishore1-1/+1
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-01Add test case for loading vFW Helm chartRitu Sood1-1/+1
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-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-20Unify resolving current directory in KUD scriptsSamuli Silvius1-1/+1
Issue-ID: MULTICLOUD-685 Change-Id: I62199f64da360627a13c467139a39430ae389167 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-06-19Merge "Make ovn-central network interface configurable"Bin Yang2-17/+21
2019-06-19Merge "Enable mitogen to speed up Ansible execution"Bin Yang1-2/+5
2019-06-10Make ovn-central network interface configurableSamuli Silvius2-17/+21
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 Yang1-0/+1
* 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-60/+0
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 Silvius1-0/+1
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-60/+0
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-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-22Merge "Fixing ansible version"Bin Yang1-3/+4
2019-05-21Fixing ansible versionMichal Ptacek1-3/+4
It would be safer to fix ansible version to prevent issues coming with newer ansible releases which might not be compatible with current playbooks within this repo. E.g. 2.8.0 is not compatible. Change-Id: Ia1b54c7644bcaf6c453ff6586682ca35ced9acec Issue-ID: MULTICLOUD-634 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com> Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-05-16Preventing installer.sh execution to hangMichal Ptacek1-1/+0
This newgrp command used is not suitable for shell scripting, it looks like misuse as it created new shell under right group but prevents further script execution as it has to be exited first. Change-Id: I974da3a4b8d1e0827c846150079d453789d89554 Issue-ID: MULTICLOUD-632 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-05-14Merge "Make aio.sh rerunnable"Victor Morales1-0/+2
2019-05-14Make aio.sh rerunnableSamuli Silvius1-0/+2
aio.sh script can be run only ones. Cloning of k8s on top of existing dir does not work and ssh key generation on top of existing key does not work. Issue-ID: MULTICLOUD-620 Change-Id: Ic60dfd6b96ab78f6edcdc3655c18f90c4427c856 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-05-08Disable building of K8s plugin in KUD deploymentAkhila Kishore1-1/+1
K8S plugin is part of ONAP and should not be instantiated by KUD. It only needs to be instantiated by OOM of ONAP. Changing the default value. Change-Id: I4e8f180981794b380bf05662243972ad03c23c90 Issue-ID: Issue-ID: MULTICLOUD-502 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
2019-05-08Check always returns true for install_pluginKiran Kamineni1-1/+1
The [[ test for KUD_PLUGIN_ENABLED always returns true. Removed [[ to use the boolean operation instead. Issue-ID: MULTICLOUD-616 Change-Id: I6bbd0c462ab7bb66447dec8dd16d786062a9c586 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-05-06Fix pip install/upgrade logicSamuli Silvius1-2/+2
installer.sh has reverse logic for install/upgrade pip after checking if pip is installed. Issue-ID: MULTICLOUD-607 Change-Id: Ifc512e80d8da7a37acc771f40e9edd7596388fcb Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-02Minor update KRD to KUDAkhila Kishore1-1/+1
Change-Id: Id553c1300e6559443d87c58abf46bab81bf71535 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-301
2019-03-22Enable random_hostname vagrant-libvirt valueVictor Morales1-3/+6
This configuration value allows to generate Libvirt instances with randomly domain names generated. As result, it's possible to use this project in the same server but in different folders at the same time. As part of the change, it was necessary to centraliza some Libvirt common configurations. Change-Id: Ie6adf3f40de7a8cced875b0c899738f9f6449181 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-03-22Restructuring the repo.Akhila Kishore13-0/+964
The idea is to restructure the existing repo create a deployment independent of Vagrant or other hosting providers. Renamed KRD to KUbernetes Deploy(Kud) including the ansible scripts Added new path to functional tests. Moved samples pdfs to sites. Minor changes to Readme. Updated aio.sh, moved sample config Corrected other nits. Updated and verified test cases. Addressed comments and changes associated with it. Updated Readme and minor change in Vagrantfile. Validated test cases again. Moved aio.sh into vagrant folder. Added new README for each hosting provider and project on the whole. Updated the installer script with relative path. Updated the name to deployment_infra, moved the cFW sripcts to tests. Updated the gitignore file. Issue-ID: MULTICLOUD-301 Change-Id: Ie48c26b12ab58b604493fba58a9c5b9f8ba10942 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>