summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2020-08-26PDF and IDF for Ericsson pod 2 to be used in CIGeorg Kunz5-8/+202
Pod 2 is meant to be used for verification deployment jobs. This patch adds the PDF and IDF config files for this pod. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: I33231547921e82cf77c7051e6ba0319ffb66a09a Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70826 Reviewed-by: Victor Morales <chipahuac@hotmail.com> Tested-by: Rihab Banday <rihab.banday@ericsson.com>
2020-08-26Always copy configuration data inside jump VMGeorg Kunz1-11/+9
This helps to pick up changes between redeploys. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I4a1b23ad4187f63cbb2b638f62fb463ed2b37af5 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70706 Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com> Tested-by: Rihab Banday <rihab.banday@ericsson.com>
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-19Ignore E006 bashate ruleVictor Morales1-1/+2
The E006 bashate rule enforces to use less than 80 characters per line. Even when this is a good practice to be enforced most of the time makes development process harder so we can skip it for now. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: Id0468b707bda01d719af36c57c6d1ce54246dae1
2020-08-19Merge ""Better" pattern matching for name of jump VM"Rihab Banday1-2/+2
2020-08-19Merge "Disable strict host checking everywhere"Rihab Banday1-3/+3
2020-08-19Merge "Adding Deployment Guide"Rihab Banday3-1/+64
2020-08-18Merge "Set Jumpbox root's password"Georg Kunz2-1/+3
2020-08-18Fix minor bugs observed in hw_config filesRihab Banday3-5/+5
This patch fixes minor bugs observed in hw_config files: 1. Rename admin network to public in Intel's IDF to have consistent network naming schemes across IDF's. 2. Remove arbitary/unverified VLAN's from Intel's PDF. 3. Move shebang to top to fix linting error. Change-Id: Ibad63e80431880ef5558864bf890dd1877400b08 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
2020-08-17Adding Deployment GuideRihab Banday3-1/+64
This patch adds a deployment guide that describes the steps to initiate the deployment. Change-Id: I1835c0b6eee5945990ae078a20d2e2c92516c6b1 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
2020-08-17Set Jumpbox root's passwordVictor Morales2-1/+3
Every OS has different root's passwords which complicates the throubleshooting process. This change sets the root password of the jumpbox to what's defined in the ROOT_PASSWORD env variable. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I7b926f9500de9341a660b86ccb1c9eafbfaf6053
2020-08-17Disable strict host checking everywhereGeorg Kunz1-3/+3
Disable stricty host key checking for all SSH commands. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: Id08a4e2ef3f441b2a3ba20868c4e3af7fc04c1c5
2020-08-17"Better" pattern matching for name of jump VMGeorg Kunz1-2/+2
The pattern currently used matches also non-exact hits, such as "jumphost" and "xci-jumphost". This tweak attempts to achieve better exact word matches. Note: the -w option of grep does not seem to do the trick as well. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: I8cb98a5540a41f5e6044efe12584403b7f4398df
2020-08-17Update env variable extraction and VM creation stepsRihab Banday4-56/+54
This change uses YAML parser to extract environmental variables from PDF and IDF. Additionally it merges the VM creation step with the main functions script. Change-Id: I2089b7a84f15e892d57fbadf06252db8769f0fbf Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
2020-08-17Merge "Remove creation of httpboot folder"Rihab Banday1-3/+0
2020-08-16Merge "Remove double quotes around EOF"Rihab Banday1-5/+9
2020-08-14Remove creation of httpboot folderRihab Banday1-3/+0
Remove creation of httpboot folder and manual copy of CentOS 7 image as the support is now added upstream by [1] and [2]. [1] https://gerrit.nordix.org/c/infra/provisioner/bifrost/+/5547 [2] https://gerrit.nordix.org/c/infra/stack/ironic/+/5550 Change-Id: I3eae2816091e2631d2170f9950fedd2f13e84db7 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
2020-08-13Remove double quotes around EOFRihab Banday1-5/+9
The double quotes introduced by linting tool around EOF in functions.sh causes issues during deployment in CentOS. This change removes the double quotes. Change-Id: I23f4739e9bfbde296c48d4cf260b8483a844fd0b Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
2020-08-12Improve wait instructionVictor Morales1-1/+10
The time that the jumpbox takes can be different every time that is created so waiting for a specific state can help during the creation. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: Idee038556bc669594660a308e405e79fe13ba118
2020-08-12Merge "Implement linting process"Rihab Banday11-86/+132
2020-08-12Merge "Adding pdf and idf for Ericsson pod 1"Rihab Banday3-0/+219
2020-08-11Implement linting processVictor Morales11-86/+132
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-08-11Adding pdf and idf for Ericsson pod 1Georg Kunz3-0/+219
This adds the pod descriptor file and installer descriptor file for Ericsson pod 1. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: Ie518f71a35b657ef4a7b17464cb8f0e4116a3771
2020-08-11Merge "Drop VM_IP environment variable"Rihab Banday2-12/+6
2020-07-31Drop VM_IP environment variableVictor Morales2-12/+6
It's not necessary to declare this variable because the IP address of the jumpbox can retrieved calling the get_vm_ip function. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I92f29a70ea1924eb105d66781d9d313427e2d1f0
2020-07-31Adding gitignore file to repoGeorg Kunz1-0/+2
Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: I87faf75ee5801259fb2bdb1534934d84fc2b3a5d
2020-07-31Adding Victor Morales as committer to Info fileGeorg Kunz1-0/+4
Change-Id: I101159dcf90247ecdc75153a0826eea2d975e5d2 Signed-off-by: Georg Kunz <georg.kunz@est.tech>
2020-07-30Merge "Automation adds INFO.yaml"Georg Kunz1-0/+58
2020-07-29Initial structure for e2e deployment scriptingRihab Banday12-6/+612
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>
2020-07-13Automation adds INFO.yamlLF Jenkins CI1-0/+58
Change-Id: Iac88d52ed23707059e075daec53ee9de70244f0d Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-07-13Automation adds .gitreviewLF Jenkins CI1-0/+7
Change-Id: I6f433cb9f4db682c5e9061e37ad9a153e75c5c7b Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-07-13Initial empty repositoryLF Jenkins CI0-0/+0