aboutsummaryrefslogtreecommitdiffstats
path: root/kud/hosting_providers
AgeCommit message (Collapse)AuthorFilesLines
2020-03-24Merge "Update Vagrant VM Version"Huang Haibin3-6/+6
2020-03-24Update Vagrant VM VersionYao Le3-6/+6
Fix bug ICN-260 KUD Multi Vagrant 18.04 issue Fix bug ICN-303 Compute01 no spcae left in KUD Multi Vagrant Issue-ID: MULTICLOUD-1004 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: Ic74d4ec2c9ae4bbe42c71f13380f779f842e496d
2020-03-09Merge "Adding QAT device plugin to KuD"Ritu Sood1-2/+2
2020-02-27Adding QAT device plugin to KuDakhilakishore1-2/+2
Basic working skeleton. Adding install script adding vars and updated the playbook. Working on Kernel mode updates and driver installation. Removing SRIOV vars Adding script to change the SSL value for 2 kinds of config files. Updating daemonset image. Adding prereq packages for qat. Minor edits for bashate.Adding testcase and conditions to Ansible tasks for clean, uninstall and install the driver. Updating the plays to use templating. Adding qat-kernel mode test case. Signed-off-by: akhilakishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-860 Change-Id: I5ad99e7211c859dc3cb054df644edd3fa77b2596
2020-02-26Updating Readme to reflect accurate setup instructionsAkhila Kishore1-2/+8
Adding sudo to setup for VM based deployment. Additionally adding the link to Vagrant documentation for CLI. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-908 Change-Id: I1af5b1c4e201ad4363a8fae1004189e55c514261
2020-02-20KuD cleanup script.Akhila Kishore1-0/+87
This script offers means to cleanup, Docker and Ansible and their configurations. Updated the script to use docker go templating as opposed to regex for docker operations. Further modified the script to include if/else for docker operations for better code readability. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-981 Change-Id: Ia6484ebb039daf0b1cb8e698fa7bfa758eeaa568
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>