aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles
AgeCommit message (Collapse)AuthorFilesLines
2022-08-30fix(core): Ubuntu Jammy VIIIPeter Mikus3-53/+64
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I12e7515f7dd04dd493c566ce85ed17f87e2563bb
2022-08-25feat(ansible): update 1n-tx2 configJuraj Linkeš2-8/+26
Arm VPP Device requires newer drivers, otherwise we're frequently seeing a deadlock when running csit-initialize-vfs. We've observed server slowdown in VPP Device jobs in the past and testing revealed that disabling the cppc_cpufreq seemingly resolves the issue (there was no observed slowdown with a sample of 500 job runs). Also update Nomad config (server IPs). Change-Id: I484417f2cdb701239ca7517406147d0f2f7adde4 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2022-08-22fix(ansible): Focal backportsPeter Mikus1-0/+10
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ica1efe7e39ebb649528c338452b48ba0cacbf36d
2022-08-19feat(ansible): Ubuntu Jammy VI.Peter Mikus44-458/+238
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I7dda690f2dc2e42bf6c67d3faa3327a03de3a9fa
2022-08-03feat(ansible): Migrate Ubuntu Jammy IV.Peter Mikus2-3/+4
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ia48ee3f9bbcdfd7b85968362b1fb7f816dcd97be
2022-08-03feat(pxe): Migrate Ubuntu Jammy I.Peter Mikus1-0/+3
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I8f79882fce6375a55d67167781fc6b4212934e06
2022-07-12fix(ansible): 3n-snrPeter Mikus1-1/+1
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iefa417758a34d7c8535cd845470e2a589b3adf57
2022-07-08feat(ansible): Migrate Ubuntu Jammy IV.Peter Mikus4-20/+16
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I0472e26646ba059875682e15d75cf7e1a7ab0c93
2022-07-08feat(ansible): Migrate Ubuntu Jammy III.Peter Mikus5-14/+33
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I0e2d2efbb4e4c9ab9d66198eb15bc9e49fb06eb6
2022-07-07feat(ansible): Migrate Ubuntu Jammy IIPeter Mikus17-83/+123
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I43c86ab3232a382e7cc9010fb04a0ca269b24e77
2022-07-01feat(ansible): Add numactl dependencyPeter Mikus1-0/+1
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I7abde98b9d929d6dba35c8b93efb6071fc818b8b
2022-06-27fix(ansible): ICX rulesPeter Mikus1-1/+2
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I4b9fdeac0e4ec85cf0def7cfeefbf2ce4e7b0bd9
2022-06-22feat(ansible): Add ICXPeter Mikus3-11/+12
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I3a62dc7048102381598b3e0dfc16f82fad834d7b
2022-06-08fix(infra): 2n-clx links and docsPeter Mikus3-10/+10
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iac1743da3eb51c69c67e8496ad4145dcc616341c
2022-05-20feat(uti): Infra updatesPeter Mikus1-8/+8
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I82f84b81f4a016c8bd503e60caacf34f24d407d5
2022-05-17infra(ansible): Jammy placeholderPeter Mikus15-62/+55
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I693841cadf33d23e417374b949771ba7c3dbccd2
2022-05-16Ansible: T-rex 2.97pmikus1-0/+1
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I7d5e00c45648dd4ae9e03ce1c7d0f2d2c53db476
2022-05-10feat(infra): Mellanox compatibility MatrixPeter Mikus4-44/+70
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iec87340aed64dd72e5289bd13af27c177f92c466
2022-04-26feat(infra): Onboard Mellanox III.Peter Mikus2-29/+16
+ DPDK matrix Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I473265ae1ebf08e1518a6b6e2998abdc750167d1
2022-04-14feat(telemetry): Add bpf on all testbedsPeter Mikus1-0/+6
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ic0c02c3bce4544597c8ee49e1f0b8629ad1dd24f
2022-04-07feat(terraform): c6gnPeter Mikus3-15/+51
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ieea41e7bbdb6f185c349736a4d0bc0d27fdfa42a
2022-03-30feat(terraform): 1n_aws_c5nPeter Mikus2-0/+30
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I12d2d58de01693b18628cd73b5d8c36467506f32
2022-03-30refactor(terraform): 2n_aws_c5nPeter Mikus4-3/+3
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I5f68fd84a9ea034c5d8ff175807033aa0b60d5a2
2022-01-19fix(ansible): Compatibility matrixPeter Mikus2-3/+3
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I298625dc75cdc6ffc168484e19ca30f02c2f46a0
2021-12-21ansible: match vpp device config to perf configJuraj Linkeš1-9/+0
We're not using unsafe noiommu on perf testbeds and we should mirror that config in vpp device. As a side note, on arm vpp device, enabling unsafe noiommu leads to corrupted packets, so it must be disabled at least on arm vpp device. Also update arm vpp device kernel parameters to match perf testbeds. Change-Id: Id3d3e8fcf71583cc04887b4180cd20561856d902 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2021-12-21feat(infra): DPDK 21.11pmikus1-1/+1
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ib52fab112d458decfecf39c77085bcd85f811eba
2021-12-21feat(infra): Add new compatibility matrixpmikus1-0/+13
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I64deff93308771c2b3fc2e07fa8f2614b5e4ac9a
2021-12-21ansible: add kernel pinning to vpp deviceJuraj Linkeš2-0/+22
Change-Id: Ife26766e5f92ab95b537b39c25202fec6be27db3 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2021-12-15UTI: Export resultsVratko Polak2-2/+2
+ Model version 1.0.0. - Only some result types are exported. + MRR, NDRPDR and SOAK. - Other result types to be added later. + In contrast, all test types are detected. + Convert custom classes to JSON-serializable equivalents. + Sort dict keys before converting to JSON. + Override the order for some known keys. + Export sets as sorted arrays. + Convert to info content from serialized raw content. + Also export outputs for suite setups and teardowns. + Info files for setup/teardown exist only temporarily. + The data is merged into suite.info.json file. + This simplifies presentation of total suite duration. + Define model via JSON schema: - Just test case, suite setup/teardown/suite to be added later. - Just info, raw to be added later. + Proper descriptions. + Json is generated from yaml. + This is a convenience for maintainers. + The officially used schema is the .json one. + TODOs written into a separate .txt file. + Validate exported instance against the schema. + Include format checking. + Update CSIT requirements for validation dependencies. + This needs python-dateutil==2.8.2, only a patch bump. + Compute bandwidth also for soak tests. + This unifies with NDRPDR to simplify schema definition. - PAL may need an update for parsing soak test message. + Include SSH log items, raw output only. + Generate all outputs in a single filesystem tree. + Move raw outputs into test_output_raw.tar.xz. + Rename existing tar with suites to generated_robot_files.tar.xz. Change-Id: I69ff7b330ed1a14dc435fd0ef008e753c0d7f78c Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2021-11-15fix(Ansible): iavf install conditionJuraj Linkeš1-4/+4
The existing condition is missing parentheses and doesn't work as expected. Change-Id: I3c45f5764b95bc8dcfbdd8ee6e2698bfb022dfb6 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2021-10-05fix(Terraform): Bump AWS APIpmikus1-1/+0
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I057bd9875a3981245b570e61ff3ba2f478def769
2021-10-04fix(Ansible): ca-certificatespmikus1-0/+2
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I11089abeddf4287193008c28438dc6d8c97408b0
2021-09-30feat(Infra): Upgrade Intel NIC's firmware on SUTspmikus1-2/+2
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I02e808591fca9a79b65981f2884ff5ebadc3365d
2021-09-29feat(DPDK): Bump payload version to 21.08pmikus1-1/+1
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ic249493a39faa8f429ae4fa1de644d74d874151b
2021-09-27feat(Ansible): Consul make variables configurablepmikus2-8/+12
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I2dc9da9546d1a6ea7e3b9110843eb28f84f1bfc2
2021-09-24fix(Ansible): Kernel param checkpmikus1-1/+1
+ Temporary fix until i write more complex logic Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ibbcf1a0212da568aa37a9fdc9198cc7a50df9c61
2021-09-24Ansible: Intel driver compatibility matrixpmikus5-77/+140
+ implements Intel Ethernet 700/800 series driver installation based on compatiblity matrix + includes iavf, i40, ice, ddp driver/profiles installation + patch abstracts multiple compatibility scenarios (dpdk, intel product materials, custom override) and could be applied per testbed + if no matrix choosen, default operating system drivers are used Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ifbdbf8c2ebc48d81941e66698708a2e0ff57b7de
2021-09-24feat(Ansible): 2M and 1G hugepagespmikus1-12/+38
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I55720cee8236c37e21881d1d8115d357d2a1f05f
2021-09-21fix Ansible: Adjust PCI addresspmikus1-2/+0
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ibbc0887f8a0878f1bf5263f24c078eb0e42365f6
2021-09-21Infra: Ansible Nomad, Consulpmikus4-45/+43
+ Fix idempotency + Fix APT download Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I03304c1c229c921806658b0169bd230154d8dde9
2021-08-30Infra: vpp_device NICspmikus1-1/+6
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I06d4012552eee918ae29e0bd789d3d316840ad4a
2021-08-27Infra: Cleanup Nomad configspmikus12-154/+266
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ia5c9f0902551de1a63144e6f56dfa6db2895b0b2
2021-08-19vpp_device: Multiple NICs (infra)pmikus1-0/+17
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ie8662b6a485374b5df68dec9c82065cf59f28c8f
2021-08-18Infra: Ansible yaml lint cleanuppmikus64-267/+266
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: If00b376bd78b7b603d7887c1e149e7dccdb6d217
2021-08-18Ansible: VPP Device configure unsafe noiommuJuraj Linkeš1-0/+9
VFs need /sys/module/vfio/parameters/enable_unsafe_noiommu_mode to be enabled on the host. Add this to Ansible. Change-Id: Iee1d0ccfdb4ea9b9d6981d39490fe7feb33bf70c Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2021-08-17ansible: update DPDK meson versionJuraj Linkeš1-1/+1
DPDK compilaiton is failing with: ERROR: Meson version is 0.47.1 but project requires >= 0.49.2. Change-Id: I692058819021ffaef9b85c0414041c5fcfa5fd96 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2021-08-11Infra: AWS self terminationpmikus1-1/+6
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I9ecd85d1086f6be1bbaf6a6925da362cc4c1a9ad
2021-08-09Infra: Vaultpmikus9-0/+489
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ia6e728f98d20144c3771405b32933a77fe15b19b
2021-07-28Infra: upgrade monitoring solutionpmikus5-97/+86
+ bump versions - remove cadvisor Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I3de95531f1b09f7254152254e92f225dde653e45
2021-07-26Ansible: fix multiple shell commandsJuraj Linkeš3-3/+15
Ansible passes "&&" as arguments to the command being called, which prevents us from using it for calling multiple commands in one ansible task. Fix by replacing this with "with_items". Change-Id: Ie07a1b1969bda9569cf82ef0741ec52260e2c736 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>