aboutsummaryrefslogtreecommitdiffstats
path: root/kud/hosting_providers
AgeCommit message (Collapse)AuthorFilesLines
2020-01-21Reverting vagrant images back to 16.04 VM deploymentAkhila Kishore1-2/+2
Currently we face issue with VM based deployment causing vagrant up to fail and quit abruptly. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-974 Change-Id: I9a9e28357f1f56d17643d8f2a31f4cdca70fb456
2019-12-19Fix verify build remove obs ppaMarcus G K Williams2-0/+6
Remove no longer public jonathonf ppa Issue-ID: CIMAN-359 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Change-Id: I12a24a28914654127e3bd27e7814b42ecd897ca1
2019-12-06Update Ubuntu 18 image for vagrantRitu Sood1-1/+1
Issue-ID: MULTICLOUD-474 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I77709f4b05d7501fa6faf41187fbe0bf6e189b3b
2019-11-22Adding SDWAN testing for KUD containerized installer scriptr.kuralamudhan1-0/+17
Please refer ICN SDWAN Module Design for architecture link:https://wiki.akraino.org/display/AK/SDWAN+Module+Design Issue-ID: MULTICLOUD-956 Co-authored-by: Huifeng Le <huifeng.le@intel.com> Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I4bc35bc62f6bab52a5d290829f7406424d72d5ae
2019-11-20Enabling testing for the containerized installerr.kuralamudhan2-12/+11
Issue-ID: MULTICLOUD-942 Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I4c5da84002135d856c5c3dcccf103aa52bb8a0f9
2019-11-07Optimizing the plugin option in containerized installerr.kuralamudhan2-9/+14
Issue-ID: MULTICLOUD-919 Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I6850c2673b1d5e8e7ccc9d036a0a68fa896aa3ab
2019-10-30Merge "Testcases shouldn't run prematurely from installer script"Ritu Sood1-11/+7
2019-10-30Testcases shouldn't run prematurely from installer scriptAkhila Kishore1-11/+7
Testing_enabled: true in the installer script, causes the test cases to run immediately after the playbook even before the pods are completely up. Causing some of the test cases to fail. Making sure, the test cases run only after all of playbooks have finished running. Correcting the identation Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-904 Change-Id: Ieec33f46301d7c8d9cb36ac5f32caefca2981804
2019-10-30Bug fixes to containerized installer scriptKuralamudhan Ramakrishnan1-3/+16
Issue-ID: MULTICLOUD-905 Co-authored-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: Ie9710146d4764f6b1f8ce11af9b28988131d75c8
2019-10-29Provide gcc on installer host when not presentKonrad Bańka1-0/+5
Issue-ID: MULTICLOUD-900 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ibacec8deafa5f1fd9ded5822236db730fedddc82
2019-10-24Merge "Adding onap4ks installation script in kud containerized installer"Ritu Sood2-3/+69
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-23Adding onap4ks installation script in kud containerized installerKuralamudhan Ramakrishnan2-3/+69
Issue-ID: MULTICLOUD-867 Co-authored-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com> Co-authored-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I37b8112bdd5809f1ae0eaa58ddb0d834d395e8d8 Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
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-17Merge "Adding kud containerized features"Ritu Sood5-0/+438
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 Ramakrishnan5-0/+438
Issue-ID: MULTICLOUD-827 Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I0205459a032c8876943e9b50e61b2c315b138af9
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-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 Silvius2-2/+2
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 Yang3-18/+26
2019-06-19Merge "Enable mitogen to speed up Ansible execution"Bin Yang1-2/+5
2019-06-10Make ovn-central network interface configurableSamuli Silvius3-18/+26
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-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 Kishore14-0/+986
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>