summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-06-30Pin current version of infra engine frameworkRihab Banday2-3/+6
This patch adds a specific commit id of the infra engine to avoid fetching latest changes from the master branch which may affect the deployments. Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Change-Id: I042f144f09db2cfa51f7a488a78426ebfabe65be Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72715 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
2021-06-01Change the order of testcases to test kubernetes-benchmarkingRihab Banday1-2/+2
This patch changes the order of the testcases to test kubernetes-benchmarking first followed by other test cases. Change-Id: I0ee05a7722c09d71ee7d23a41185379d004fd193 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72622 Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2021-05-19Remove duplicate content from functions.shRihab Banday1-11/+1
This patch removes the CentOS 7 pip upgrade as that is now included in sw_config/bmra/patched_rhel_packages.yml. Change-Id: Ibdea16d2929c3c4770deb755a064db2abcccc01c Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72542 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2021-05-11Add netperf in Kuberef gatesCédric Ollivier1-0/+10
It has been backported to v1.19. Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I24cd90c05c991d75f0b5f8e0ad188b47ed99dd86 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72504 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-05-11Update workaround for python cachetoolsMichael S. Pedersen1-1/+1
Adds conditional to install cachetools v3.1.1 on Centos 7 (Python 2) and v4.2.1 in other cases Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: I6fa648f228c7d12f1d5dedbf75ff96be3257ef62 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72494 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-05-04Add workaround for cachetools version being too recent for Python 2Michael S. Pedersen2-0/+47
Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: If819e206cd1ab84baa3f69d5ddc397bbc1fccc23 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72477 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-05-04Rename cnf_conformance -> cnf_testsuiteCédric Ollivier1-2/+2
It conforms with the disruptive upstream change [1] [1] https://github.com/cncf/cnf-testsuite Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I6d6fc47b9567d7185ccb142cdb6c18161941ad1b Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72476 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-05-04Update .gitlab-ci.yml file to include k8s v1.19Rihab Banday1-29/+29
tags This change updates the .gitlab-ci.yml file to include the k8s release v1.19 tags supported by the new BMRA v21.03 release. Change-Id: I70df4f1682e974b7d46b0c9d40d71fab4851b702 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72475 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com> Reviewed-by: Cedric Ollivier <cedric.ollivier@orange.com>
2021-05-04Update BMRA image and pip version for CentOS7Rihab Banday3-2/+10
This change updates the BMRA image to v21.03 and the pip version to the recommended one. Change-Id: I28b69fcb105cac05fbcc2d4606714c9fd9be0cc4 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72438 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2021-05-04Add support for deployment on multiple OS distrosRihab Banday2-1/+2
This patch introduces a variable to support deployments on different OS distros. Change-Id: I9cad126a57acbf662c4c97cfc5a275594f4d3f06 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71843 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2021-04-28Update BMRA to v21.03Michael S. Pedersen12-62/+488
Update Kuberef to use most recent release of BMRA. Also updates configuration with minor changes and additions. Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: Ifc4ef114564a2085000c23347390089227c0ebd9 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72429 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-04-14Remove sig_node_serial from test case listCédric Ollivier1-10/+0
It's fully disrutive (NoExecuteTaintManager) and then is being removed from Functest. Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ifca16a87e0ad1b539414391b723d6ddc28560d6e Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72374 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-04-07Update Functest K8s test case listCédric Ollivier1-3/+152
It adds last e2e-based test cases. Here are the related sigs: - sig-api-machinery - sig-apps - sig-auth - sig-cli - sig-cluster-lifecycle - sig-instrumentation - sig-node Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I71fcb1ab05a4815a76abfbe587dd7029efaf9a45 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72248 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2021-03-10Updated PDF and IDF for Ericsson HardwareRihab Banday5-314/+165
This change updates the config files for Ericsson POD 1 and removes existing Ericsson POD 2 configuration based on recent hardware and software updates. Change-Id: I4d26be681b4d805029e5de9c91f96a7634974990 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72149 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2021-03-03use `--no-cache-dir` flag to `pip` in dockerfiles to save spacePratik raj1-3/+3
using "--no-cache-dir" flag in pip install ,make sure downloaded packages by pip don't cached on system . This is a best practice which make sure to fetch from repo instead of using local cached one . Further , in case of Docker Containers , by restricting caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: I690a12f6e9cdedb2ced7b2ed1c96fac904bac3a8 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71763 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com> Reviewed-by: Cedric Ollivier <cedric.ollivier@orange.com> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-03-03Support Ubuntu 18.04 and 20.04 LTS as target OSMichael S. Pedersen4-1/+73
Fixes: [KUB-42] Add support for Ubuntu 18.04 and 20.04 LTS as host OS on target nodes Also includes patch for using vfio-pci module on Ubuntu 18.04 LTS Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: Id6150ff30040addfdd7d860bec48583e33a25c59 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71788 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-03-03Check prerequisites after sourcing env variablesRihab Banday2-4/+2
Env variables should be set before checking the prerequisites as the check function depends on some env variables. Change-Id: I75a4b08d0ef077154924df37a859fc7638744343 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71959 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2021-03-03Switch to Python Virtual EnvironmentVictor Morales4-5/+39
Virtual Environments allow the python modules installation without affecting the hosting node. This helps to control dependencies required by this project. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: Ib53d9dd335a4707ff863a6fd732d23d323513430 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71195 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-02-22Add latest backported Functest testcasesCédric Ollivier1-12/+41
In addition to k8s_conformance, a couple of e2e test cases were added to cover sig-network and sig-storage testing. They are not yet included in CNTT RC2. Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I9b76ff6c19289a626ee13bc6cfe648885924ad16 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72122 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-02-22Update .gitlab-ci.yml to support functest v1.18Rihab Banday2-16/+16
This patch updates the current GitLab CI based pipeline to run functest v1.18 compliance tests on Intel Pod 19. Change-Id: Ib36fd6bf421c7eaa3223234c4f3c739cb1250f22 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72113 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2021-02-18Update BMRA to v2.1Michael S. Pedersen9-397/+17
Updated Kuberef to use BMRA v2.1 instead of v2.0. Removed a few workarounds used for BMRA v2.0. Updated a few dependencies in deployment container. Updated Kuberef templates for BMRA configuration. Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: I091da09277ca9ecc0d3d7574dc3c4f000e73432d Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72064 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-02-15Updated deployment steps in documentationMichael S. Pedersen1-0/+67
Adds additional detail for configuring jump host prior to runnig Kuberef. Steps are provided for Ubuntu 20.04 LTS and CentOS 8 Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: I18b3ff9fbec4ef510888d8105a37e315119e5df5 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71844 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-02-02Fixes issue with backing image format ↵Michael S. Pedersen1-1/+1
(https://libvirt.org/kbase/backing_chains.html#manual-image-creation) Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: I6b0c39b7c4a4f20911e01014687a23c2c42a9e26 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71841 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-01-20Fix a set of issues with K8s deploymentMichael S. Pedersen6-0/+770
[KUB-37] BMRA v2.0 fails to install on Centos 8.3 [KUB-38] [BMRA] Helm repo is unreachable [KUB-39] [BMRA] CMK binary doesn't run on Centos 8 [KUB-40] [BMRA] CMK isn't installed on host [KUB-41] [Equinix Metal] Unexpected GRUB settings on CentOS Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: Ie7deb0517cda02352936420a9d36348238caa467 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71784 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-12-15Update IDF of Intel Pod 19 based on new IDF structureRihab Banday1-0/+41
This patch updates the IDF of Intel Pod 19 to include additional config required for BMRA 2.0 Change-Id: I6088f16af2a8b3d508ebd28f98efc8a6d4d6c3a5 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71612 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2020-12-15Replace older BMRA docker image with new one & addRihab Banday3-6/+12
changes for running it in CentOS 7 This change updates the Docker file of the BMRA container & replaces the old image by the new one. Additionally, it introduces changes needed to deploy BMRA on CentOS 7. Change-Id: I3f951bd147b457606719243d95fe48df14ecd449 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71613 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2020-12-03Update BMRA to v2.0Michael S. Pedersen13-177/+382
Also adds configuration of BMRA through the existing hw_config files (idf, pdf) and better handling of dependencies. Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: Iedaf249f01ea3e1e00c889e846e21644adff98c7 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71504 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
2020-11-25Update documentation for Jerma releaseopnfv-10.0.0stable/jermaRihab Banday2-32/+29
This patch updates the content of documentation for the upcoming OPNFV Jerma release. Change-Id: I9618f2a14cfb85f464ca8817ac86d6b9e011ab1c Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71478 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2020-11-19Adding scripts for running RC2 testcasesRihab Banday3-8/+158
This patch adds support for running RC2 Functest testcases suite on the K8s cluster deployed by Kuberef deployer. It leverages on Gitlab CI/CD variables to prepare next Docker runners (for the time being, the deployment script wrongly forces Shell runners). Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I7652aa817ad9b434235abf0fab9ba63f4ad2f23e Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71188 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Cedric Ollivier <cedric.ollivier@orange.com>
2020-11-13Add support for deploying to Equinix Metal bare-metal serversMichael S. Pedersen17-32/+315
Adds an additional hw_config which is simplified (equinix-metal). Adds support for skipping HW provisioning (pre-provisioned through EM). Usage: deploy.sh [k8s] Adds a few new helper functions, and updates existing to support changes. Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I2f84c662d183ba224e0edd8a218abe8b46c1fe45 Signed-off-by: Victor Morales <v.morales@samsung.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71301 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-by: Victor Morales <chipahuac@hotmail.com>
2020-11-13Switch to older settings for ansible playbooks andRihab Banday3-7/+15
VM creation steps This change introduces two (older) settings needed for CentOS 7 which were removed by recent patches that were tested only on Ubuntu 16.04. These settings have been already tested on Ubtunu 16.04. Change-Id: I3039d650b59869d45e11afdda8827c850f686195 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Co-Authored-By: Victor Morales <v.morales@samsung.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71233 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
2020-11-12Fix linting issuesVictor Morales4-10/+14
This change fixes some linting issues accumulated from previous patchsets and ignored by the CI jobs. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I0bf2e67aee786505e9c01570d4d8d99df62b1f9f Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71377 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Tested-by: Georg Kunz <georg.kunz@ericsson.com> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2020-11-12Refactor functions.sh scriptVictor Morales1-49/+37
This change refactors some common instructions used by the functions.sh script. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: Ic8cf3cfdd4a46d6fc32f45e4021a07cadc027736 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71378 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-10-27Added structure for OPNFV documentationGeorg Kunz10-0/+83
Having this structure in place is a requirement for passing release milestone M2. This change does not modify the content of the current documentation / deployment guide. Signed-off-by: Georg Kunz <georg.kunz@ericsson.com> Change-Id: I07e8820901970da1199f4a474161e49f25707ecc Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71298 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com> Reviewed-by: Sofia Wallin <sofia.wallin@est.tech>
2020-10-21Modify setup_network function to add support for Node 3-5Rihab Banday1-5/+8
This change modifies setup_network function to add support for configuring networking for pod 19 node 3,4 and 5. Change-Id: I9cbdedfe57b86b0b64f96a51ede0ad7b2490d797 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71243 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com> Reviewed-by: Victor Morales <chipahuac@hotmail.com>
2020-10-21Update check of libvirt(d) groupMichael S. Pedersen1-1/+1
Current check assumes whitespaces on either side of group name. This patch removes that assumption Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: I4802420530be05831b8611b812c9866055cac714 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71257 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
2020-10-12Add yq checkerVictor Morales2-3/+11
The yq parser is required by the deploy.env file to extract values from PDF and IDF files. This change ensures that binary is present. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I5400bc4910ea88da74fab188bf1cfdbebe3cbed1 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71230 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
2020-10-07Updated PDF and IDF for Intel POD 19Rihab Banday2-17/+134
This change updates the config files for Intel POD 19 based on recent hardware updates. Additionally it adds config for node 3, 4 and 5. Change-Id: I3a8caf6c8f273567057e325ab27d65f8920ba4ad Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71234 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
2020-09-29Adding .gitlab-ci.yml for GitLabRihab Banday1-0/+23
This patch introduces .gitlab-ci.yml file to test the e2e deployment and RC2 testcases suite in GitLab. Change-Id: If9e39d42a433611e35ced296c60dcb4d2ffbe5a2 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70894 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Tested-by: Georg Kunz <georg.kunz@ericsson.com> Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
2020-09-22Rendering BMRA inventory from IDF and PDF via ansibleGeorg Kunz9-32/+59
This patch adds a simple playbook which renders the BMRA inventory from the supplied set of PDF and IDF. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: I2cd555440ad51594d5a2b482bfad085769d0e4e0 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70892 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-09-16Separate tox dependenciesVictor Morales4-4/+10
Having tox dependencies in a separate file can help to easily track changes and licenses of them. This change creates a `test-requirements.txt` for listing those dependencies. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I779055d0d885c7f92c359dab6dae62344ae74600 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71023 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-09-14Disable Ansible host key checking in BMRA containerRihab Banday1-0/+1
This change avoids the need to copy SSH keys to the provisioned hosts during BMRA provisioning by loading the respective env variable inside the BMRA container. Change-Id: I30cef25f65492da26435259b7f028f79c3b8cb01 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71081 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michael.soelvkaer@gmail.com> Reviewed-by: Georg Kunz <georg.kunz@est.tech>
2020-09-11Replace worker node specific config file by a common fileRihab Banday2-4/+2
This change replaces the BMRA node1.yml file by a common config file under group_vars which includes overrides for all the worker nodes in a cluster. Change-Id: I305fd227ba0032f80cbf1daa9019fdfd881baa30 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71074 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michael.soelvkaer@gmail.com> Reviewed-by: Georg Kunz <georg.kunz@est.tech>
2020-09-10Implementing jump VM create via ansibleGeorg Kunz18-103/+297
This patch reimplements the creation of the jump VM as ansible playbook. The advantage of this approach is a more deterministic behavior and the ability to render configuration files using templates based on the pdf and idf. Moreover, this patch allows to overwrite the VENDOR variable. This is necessary to allow deployment in different labs via CI. The BMRA configuration has not yet been transformed to ansible template and needs to follow in subsequent patches. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I2cde41dcecec7480bddf71ed864f06244a89f1f3 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70882 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Victor Morales <chipahuac@hotmail.com>
2020-09-10Fixing broken copy of BMRA host_varsGeorg Kunz1-1/+1
The host_vars directory is not correctly copied during deployment resulting in a deployment failure. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: Ic56c9073d7f535245aafe9b962b627622052a9a0 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70893 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-09-08Adding checks for installation prerequisitesGeorg Kunz2-0/+57
This patch adds a few preliminary checks for installation prerequisites, currently covering software dependencies and runtime prerequisites. More checks need to be added over time. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: Ic59b99873983511b74ebdce06d3aeb2ade318a76 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70841 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-09-08Extending PDF and IDF of Ericsson pod2 to all nodesGeorg Kunz2-5/+112
Pod2 of the Ericsson OPNFV lab should be used for CI jobs deploying RI2 on all 5 nodes. This adds the missing hardware infos for provisinioning all 5 nodes. Note: The BMRA deployment still considers only 2 nodes. This will be addressed in a separate patch. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: Ie31365cf04f6fc041d3173099e7c2e8f7020d6b8 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71022 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-09-08Fix PyYAML error caused by net-attach-defs-create role in BMRARihab Banday1-0/+3
This change modifies net-attach-defs-create role to fix PyYAML errors discovered during installation of openshift package on remote nodes. Change-Id: I45d9fef77942b8bec0bfc5fb50d8be53c96adb75 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70839 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Georg Kunz <georg.kunz@est.tech>
2020-09-08Fixing linting errorsGeorg Kunz1-1/+1
Fixing linting errors raised by shellcheck. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: I3996b81d930724cf37a855649c615782d756d809 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70895 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-09-07Fix linting issuesVictor Morales2-1/+3
The CI job has been enabled and there are some issues reported by tox and shellcheck. This change fixes them. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I2678dbfeffdce61aa330aa9bba36010622f7227e Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70890 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Tested-by: Georg Kunz <georg.kunz@est.tech> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-by: Georg Kunz <georg.kunz@est.tech>