aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles
AgeCommit message (Collapse)AuthorFilesLines
2021-02-19Infra: Ansible Ubuntu Focalpmikus32-245/+378
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I6558938fe4bbdfb5add7a361adb4a12da6b0a6dc
2021-02-18Infra: Fix AWS deploymentTomas Alexy4-28/+49
Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech> Change-Id: Ie24f5fac5827e28b1ac7c22192a94994700b2910
2021-02-18Framework: SciPy upgradepmikus1-1/+1
+ 1.5.4 to solve python3.8 dependency. Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I682bedc18b56d1fed3974f792a4d79656cbe97cb
2021-02-17Infra: Ansible docker images cleanuppmikus9-73/+185
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I8d67b8ad5db5c0a7c9b3fa892e1e66dab2f666d0
2021-02-16Infra: Ansible 2.10Peter Mikus1-1/+1
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I6b058ff30628c7e066372fec2141a8bcc18c3997
2021-02-10Infra: JenkinsJobHealthExporterpmikus5-0/+111
- Integration of Jenkins Job checker Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I822039cb64a3a352b49314ddab7c6099af3fe644
2021-02-04Infra: Move probes under ansible instead of terraformpmikus19-68/+262
+ More stable probe handling. + Naming cleanup due to errors. Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I3bb1237af20636919f869f2eee53597202d00792
2021-02-03Ansible: Fix package cache updatesTomas Alexy14-15/+86
Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech> Change-Id: I5c7b2636bde999fef3a60e6cbf2b36db9978a74a
2021-01-29Infra: Monitoring capabilitypmikus2-2/+15
+ Monitoring SOA + Nomad alertmanager job + Nomad prometheus job + Nomad grafana job Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I0b32e9c87276ba1a2d4a5322816f3473c737eae2
2021-01-28Infra: Remove Consul TLS on clients (Nomad conflict)pmikus1-3/+3
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I7c825150a19dd783a255fcc5cbd31b91c6b0b2cf
2020-12-17Ansible: Fix cleanup procedurespmikus3-12/+34
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ib0c3a508b32a4d5929cfc20a7a7813752350b7d9
2020-12-07Ansible: Enable consul TLSpmikus3-8/+21
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ia53acc4441087e93a51d87097adea0b220d10144
2020-12-04Terraform: csit-shim refactorpmikus5-0/+210
- remove snergster image dependency Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I76fef60371e35dddc6da56db5f9207e003d1c792
2020-11-30Ansible: Final consul.d fixespmikus2-14/+2
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I2b5f2d090ac752c85508030c4dfe206023f1184f
2020-11-26Ansible: Hashicorp Consulpmikus13-1/+419
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I56987d744d9143a95954d85f2557cda07220c681
2020-11-18Ansible: Docker updatepmikus4-10/+17
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ie48a96d83d37d7292d261875371e09d4b9152c7b
2020-11-18T-Rex: 2.86pmikus3-75/+65
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Id56b87ab868f2897a6563914b0beca2acc25e706
2020-11-16Ansible: Remove vpp_device snergster dependencypmikus1-1/+1
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I145a4b5511141f1e2b4e387daa358e32dd2c8015
2020-11-11Ansible: Remove vpp_device snergster dependencypmikus3-0/+224
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Id14c3f2f4f8689256172dc2b3ebc4fbaed5de8d3
2020-10-20FIX: Ansible assertsPeter Mikus1-29/+30
Change-Id: Ib668674a2a267d2ceed458288d21181b2a937778 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2020-10-15Ansible: Rework grub command linepmikus3-9/+3
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I8abfc47e5e816e2ab4b39d7ad7575e672ae19ca6
2020-10-07vpp_device: updates for 1n-tx2 testbedsJuraj Linkeš3-7/+18
One ThunderX2 9975 server (.69) was replaced with two ThunderX2 9980 (.70, .71) servers. Move the .69 server under ansible perf section in anticipation of repurposing it for that purpose. Update the ansible scripts with .70 and .71 config and rename port names in device.sh lib to reflect the NIC differences between .69 and .70 (and .71). Change-Id: I88b75648735243e5559175d3192ffcc8fc70071c Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-09-23FIX: Mellanox handlingpmikus1-0/+1
- From 2n-zn2 testing Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I9b1f0916f0f1d90a223918cfe48409d29f2ee773
2020-09-03Framework: Bump DPDK 20.08pmikus2-0/+8
+ DPDK 20.08 + Migrate make -> meson + Fix all trending issues Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I31dcb22627c0f8d17ec63c5b138a2da958b006f4
2020-09-01Ansible: fix the wrong module and mode for vpp_device.yaml in cleanup roleJieqiang Wang1-2/+2
The src field for ansible template module used in vpp_device.yaml of cleanup role should be jinja2 format and the mode for script to be transfered to the remote host should be executable for the file owner. Fix this error by replacing the ansible template module with ansible copy module and setting the file permission to be 744. Change-Id: Ibf80b0c5bec77a13509122795a5b12b6faba2f8e Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com>
2020-08-24T-Rex: 2.82, core pin, 8 workerspmikus2-1/+2
+ Bump T-Rex version. We need new features for ASTF test. + Apply core pining. Results in a more stable performance. + Tweak the number of T-Rex workers. + We need an even value to achieve ymmetric performance with pinning. + Value 8 was selected as a best compromise. This is a combination of 3 commits. This is the 1st commit message: T-Rex: 2.82 This is the commit message #2: Change Trex to CORE_MASK_PIN mode to improve performance https://trex-tgn.cisco.com/trex/doc/trex_stateless.html#_core_masking_per_interface Above link have below explaination, "When the profile is symmetric, performance can be improved by pinning half of the cores to port 0, and half of the cores to port 1, thus avoiding cache trashing and bouncing." The reason to change this is that to run CSIT with 100G NIC often failed with "TRex stateless runtime error timeout", it caused by Trex can not send enough traffic within the fixed duration. by change to CORE_MASK_PIN mode fix the issue. Not editing ASTF, as that supports different options. This is the commit message #3: Experiment: Vary number of TRex workers With CORE_MASK_PIN, we can get more predictable time distribution. Decided to use 8 workers, that gives good results both for high end (RDMA-core l2patch) and low end (vhost) tests. Change-Id: I5c61127799e0624464e960fcb980ad1c4058e744 Signed-off-by: pmikus <pmikus@cisco.com> Signed-off-by: Yulong Pei <yulong.pei@intel.com> Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-07-29Ansible: Nomad 0.12.0 upgradepmikus2-1/+8
+ random fixes Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Icb320d1ba4bbe3b5f99956cf8e89c2a29e114e41
2020-07-28vsap: install ab using ansibleXiaolong Jiang2-0/+26
Signed-off-by: Xiaolong Jiang <xiaolongx.jiang@intel.com> Change-Id: I275ad9dccc02e6b1f1c791fabf8896fb03acb3fb
2020-07-23ansible nomad: install htopDave Wallace1-0/+1
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I0549e9b5ac6769e3fc760ab2047d89a188baa36a
2020-07-16Remove remains of WRK testsTibor Frank4-78/+0
Change-Id: If61783fb717757c6189f06924412bd079e15a08f Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-06-17AWS 2n topologyMaros Mullner1-1/+1
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: Idc9317d3e37d9ed0a82adc273e0628a8defcfdf6
2020-06-10Infra: Ansible speed uppmikus3-19/+10
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I24a22b1492593df937af2a17cd0c8684af7cd500
2020-06-09Infra: Ansible Nomadpmikus2-0/+5
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I2560e3e12b457413db81a7ecc52efd7e39f1aea2
2020-06-03Infra: Ansible Nomadpmikus3-0/+40
+ Prometheus Telemetry stanza - ARM Softirons Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ib7bf577ed0460ab5b79700ff0f8d52d5704cec59
2020-05-27Terraform and ansible changes for Cloud environment (AWS, Azure).Maros Mullner9-5/+61
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: Ic78b5dae22b67763b99c50a5f15d7dd16152d5d5
2020-05-22Infra: Ansible Nomad IIpmikus8-36/+47
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Iaa5c02d14223b578c316f48e31a0b3613303eecf
2020-05-21Infra: Ansible Nomadpmikus14-16/+404
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Icc03bf62d8639f603ca90aa6ab849a46dc911d56
2020-05-20Infra: Ansible maintenancepmikus10-70/+107
+ As per last discoveries when running from_scratch vs. append_only Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I8b44314185bbc157a67136730dc6146d133c7cc4
2020-05-20Ansible: Mount /tmp as tmpfspmikus2-0/+22
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I69d9290d42c154f54e71e769a3a5d89a69c2e602
2020-05-14Ansible: Small maintenancepmikus7-79/+7
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I542401d77a777dfc2d930de626e19c1d8083941c
2020-05-07Ansible: Pre-check testsPeter Mikus2-16/+47
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I745ceb519220c4d08951dff07350f2f4709f3533
2020-05-06Ansible: Remove cobblerPeter Mikus7-484/+0
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I34446125071ee7157e1c0e29027a6d973ee03c7e
2020-04-09Ansible: Kernel installationPeter Mikus9-3/+262
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iee65272169339ed0e5561cf3dee11567335b12be
2020-04-06FIX: Ansible LTS missing packagePeter Mikus1-1/+9
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I87020a6a26f54f9a1591a540f77f6469d75df007
2020-04-01FIX: irqbalance settingsPeter Mikus2-0/+36
By default irqbalance should be honoring isolcpu settings but as of latest finding IRQs are distributed ad-hoc even if irqbalance is: - enabled: with default settings - disabled: by configuration - disabled: as a service - enabled: with incorrect mask This patch brings explicit configuration of IRQBALANCE_BANNED_CPUS with mask large enough to cover all cores and keeps IRQ to be processed by core 0. Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I0eb36d780feb284a5493e123acbf993a362ea9ec
2020-03-31Add disable_ra config to VPP device ansiblejuraj.linkes1-0/+20
Router advertisement from linux interfaces in VPP Device TGs could result in unsolicited packets arriving in DUT which would produce false negatives. Change-Id: I121a92310a8fe47f36e253656e126123704efc0a Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2020-03-18Fix dpdk-20.02 build to include igb_uio.Maros Mullner1-1/+12
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: Ifd0f4d09b7c518feab534186220d618a560f223c
2020-03-16Ansible fixes for AZURE.Maros Mullner2-0/+18
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: I071c5184dcbc25a8bc6b53d65d9a3478194c72fc
2020-03-16Final changes for AWS.Maros Mullner1-0/+1
Modified cpuutils numa to work with aws 18xlarge instances. Added dmidecode package to calibration role as is not installed by default. Added required constants Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: I99608d9df3cff0b085ad26c30e339216b17581eb
2020-03-10Ansible: LTS supportPeter Mikus11-76/+129
- There is currently no other way to support multiple version of playbooks. Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I2ade4a57d726b793e422996e83bf767ac4315488