summaryrefslogtreecommitdiffstats
path: root/sw_config/bmra
AgeCommit message (Collapse)AuthorFilesLines
2023-02-14Fix the Doc lint, shellcheck and doc links Errorsxudan165-130/+130
Signed-off-by: xudan16 <xudan16@huawei.com> Change-Id: I15b4cd15a17782999af30234b459f8aacf45e768 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/73867 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
2022-02-17Fix pip3 version issuesRihab Banday1-4/+12
The latest pipelines have been failing due to issues caused by an older version of pip3 while setting up DPDK in CentOS 7 based deployments. This patch includes an update to fix it. Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Change-Id: Ie338adaa4908850af25dc65a551b62549d431f81 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/73224 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-10-27Fix bugs with preflight check and DPDK dependencyMichael Pedersen2-9/+132
Remove preflight check for isolcpus as this breaks libvirt (VM) deployments Update DPDK dependency on meson as v0.60.0 breaks build process Signed-off-by: Michael Pedersen <michaelx.pedersen@intel.com> Change-Id: I5f0a46c80c88958437b7ab8c34de5fefc337de60 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72991 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>
2021-10-15Updates Kuberef to use BMRA v21.08Michael S. Pedersen8-50/+733
Updates BMRA tag to v21.08 Updates Kuberef templates for BMRA configuration Updates idf.yml (hw_config) to match changes to BMRA Adds new and updated BMRA patches Fixes a few bugs in functions.sh Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: Ifbd4d60af76dac45e49145f00cbeb90de0f7c719 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72927 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-08-12Align license headers with REUSE guidelinesGeorg Kunz9-75/+36
This patch applies a consistent use of license and copyright headers to all source files according to the guidelines of REUSE. Signed-off-by: Georg Kunz <georg.kunz@ericsson.com> Change-Id: I8973efe304e8fb03ad0861d4b8356221d898d548 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72804 Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com> Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
2021-07-19Added support for Docker Hub credentials (CI)Michael S. Pedersen3-0/+174
When credentials are available on the Ansible host (/opt/kuberef/docker_config) they will be added to the K8s nodes. Also includes a minor change to increase the resources in the Kuberef VM Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: I9acb0df97d2b423449ee57ae3d8241b2d9567ba2 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72768 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-07-05Update requirements.txt for BMRA KubesprayRihab Banday1-0/+7
This patch adds the new ruamel.yaml.clib requirement recently introduced in Kubespray to support Python 2.7. Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Change-Id: Ia93e807e21c27a9f0c8c2e9c01023badae0409b5 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72755 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2021-07-02Add ruamel.yaml.clib requirement for Python 2.7Rihab Banday1-0/+1
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Change-Id: I0bac2dd043464cbabe56ade2016fb50b6bd95cde Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72749 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.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. Pedersen1-0/+45
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-04Update BMRA image and pip version for CentOS7Rihab Banday2-1/+9
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-04-28Update BMRA to v21.03Michael S. Pedersen3-7/+272
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-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. Pedersen1-0/+52
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-02-18Update BMRA to v2.1Michael S. Pedersen3-374/+0
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-01-20Fix a set of issues with K8s deploymentMichael S. Pedersen4-0/+750
[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-15Replace older BMRA docker image with new one & addRihab Banday1-0/+1
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. Pedersen3-160/+1
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-09-22Rendering BMRA inventory from IDF and PDF via ansibleGeorg Kunz1-18/+0
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-11Replace worker node specific config file by a common fileRihab Banday1-0/+0
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-08-26Dockerfile of the container that installs BMRARihab Banday1-0/+11
This change adds a Dockerfile for building a container with all the dependencies required to install BMRA. Currently, the tooling uses a pre-built image, but this file can be useful during troubleshooting issues. Change-Id: Ibe086da10f3ece069327cee521af6f7fbe990a8f Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70838 Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Georg Kunz <georg.kunz@est.tech> Tested-by: Georg Kunz <georg.kunz@est.tech>
2020-08-11Implement linting processVictor Morales2-11/+11
This commit pretends to make changes required by yamllint and shellcheck tools. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I73b0a3b54f89b2692c1c3af7940a3acf1124fadb
2020-07-29Initial structure for e2e deployment scriptingRihab Banday3-0/+177
This patch includes the initial skeleton of the e2e deployment tooling. This is expected to evolve as further development progresses. Change-Id: Ie1e334e672acb2213e8f6c2174506b685f826f98 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>