aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-07-02Merge "[ci] Update build_rpm scripts"Emma Foley4-26/+114
2021-07-01[ci] Update build_rpm scriptsEmma Foley4-26/+114
* Update to collectd-5.12 * Use systems/$os/$version/build_base_machine.sh to install requirements * Add patch for updating collectd/contrib/redhat/collectd.spec instead of using sed Change-Id: I4be4f5ef116d2e61ef1468b4009fcc7a52d9593a Signed-off-by: Emma Foley <efoley@redhat.com>
2021-07-01Merge "[ansible] Use collectd_config in config_files role"Emma Foley4-53/+95
2021-07-01Merge "[ansible][default_plugins] Update how the default plugins are enabled"Emma Foley4-37/+25
2021-06-29Merge "[build][centos8] Update versions of dependencies"Emma Foley1-9/+5
2021-06-28Merge "[ci] Move scripts from releng into ci/ for gitlab"Emma Foley2-0/+100
2021-06-28[build][centos8] Update versions of dependenciesSlawomir Strehlau1-9/+5
The varnish and intel-cmt-cat v3.x packages have been flagged as insecure. ``dnf builddep collectd`` was installing the deps for the 5.8 version of collectd from the epel repo, which included these vulnerable packages. The build scripts for centos 8 have been updated to unstall dependencies from opstools instead, which provide a newer version of collectd. Change-Id: I3d2a1496e3524c4bf7bd56ecbd11e7ceeed01f01 Signed-off-by: Slawomir Strehlau <slawomir.strehlau@intel.com> Signed-off-by: Emma Foley <efoley@redhat.com>
2021-06-24[ci] Move scripts from releng into ci/ for gitlabEmma Foley2-0/+100
Gitlab expects the barometer-build.sh and barometer-upload-artifact.sh to be available in the Barometer repo under ci/, these scripts were previously in opnfv/releng [1] for the Jenkins jobs. These scripts have been copied from releng. [1] https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=tree;f=jjb/barometer;h=f8828a9db69e20cb035568f6a33cda03bea09318;hb=refs/heads/master Change-Id: Iaf7b1f8a6c08fce11cf2873a8cea66ef9d6d5170 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-06-24Add release note for KaliEmma Foley2-0/+41
Change-Id: I79907968e1e894fbe6f6373b87acce08d537c0ae Signed-off-by: Emma Foley <efoley@redhat.com>
2021-06-18Merge "Add Gitlab-CI Configuration"Emma Foley1-0/+165
2021-06-17[ansible] Use collectd_config in config_files roleEmma Foley4-53/+95
* Add tasks to use collectd_config * Move generated configs to combine with existing and additional configs * Move vars to defaults dir Some of the vars are needed for the collectd_config role, and need to be set before the other values are set. JIRA: BAROMETER-180 Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: Id5a8b8289c5e120eae7eb5bcf946c5d4dd9fdd48
2021-06-16Merge "[ansible] Update naming master->latest for SNMP template"Emma Foley3-4/+4
2021-06-16[ansible] Update naming master->latest for SNMP templateEmma Foley3-4/+4
* config_files: Rename templates/master to templates/latest Change-Id: I5db6491695bf35a87851f779603dc16454c117d5 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-06-16[ci] Update DPDK package versionEmma Foley1-1/+1
The nominal package for DPDK (19.11-3) is no longer available in CentOS 8. This is causing the container builds to fail [1][2][3] The version has been updated to 20.11. This may cause issues with the dpdkstat and dpdkevents plugins, however, the dpdk_telemetry plugin is preferred over these. The V1 legacy interface, accessed by dpdk_telemetry plugin, is also exposed by DPDK 20.11. So the version can be updated to 20.11. [1] https://build.opnfv.org/ci/view/barometer/job/barometer-collectd-docker-build-push-master/123/console [2] https://build.opnfv.org/ci/view/barometer/job/barometer-collectd-latest-docker-build-push-master/17/console [3] https://build.opnfv.org/ci/view/barometer/job/barometer-collectd-latest-docker-build-push-master/17/console Change-Id: I33690a9694467a39b4f02f239197aa7cae064716 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-06-15[ansible][default_plugins] Update how the default plugins are enabledEmma Foley4-37/+25
By adding the "en_default_all" tag to each task in the default_read_import task, there is no need to have different tasks for that tag vs when individual plugin tags are enabled. JIRA: BAROMETER-180 Change-Id: I15cc77959bbd25516e9da10af064abeea5527ea9 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-06-07Merge "[docs] Update docs"Matthias Runge10-33/+35
2021-06-04[docs] Update docsEmma Foley10-33/+35
Update references of OPNFV to Anuket Update redirected and invalud links Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: If5663398319c5a0a5c99cff414bc7b2a216218f0
2021-06-03[docker] Add collectd-6Emma Foley4-11/+245
* Add instruction to docs/ for using docker/barometer-collectd-experimental/Dockerfile to build collectd version 6 * Add a new COLLECTD_FLAVOR to src/collectd/Makefile to configure tags for a collectd 6 build. * Allow passing COLLECTD_CONFIG_CMD_ARGS to the collectd build For testing with new plugins for collectd-6, as un-ported plugins are disabled by default. This new option lets the ./configure command be run with extra args, e.g. --enable-cpu --enable-<my-newly-ported-plugin>, which means that plugin can be enabled for the PR that is being tested. * Update flavor_image_name selection to include collectd-6 Change-Id: I55ee0bbcb5d89357b1ef11ab17c5b029603ecdf7 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-05-27[docker][experimental] Allow COLLECTD_TAG to be passed to container buildEmma Foley2-3/+7
This is an optional build arg that overrides the defaults that are set by COLLECTD_FLAVOR This should let the user pull from an arbitrary collectd branch (e.g. a WIP branch or a PR branch from upstream) Change-Id: I6d0ede2b8b57f28e152e53eddae378ac6c722706 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-05-27[docker] Reduce the number of build steps in containersEmma Foley9-35/+37
* Move collectd_apply_pull_request.sh to src/collectd/, which is where the Makefile expects this script to be anyway * Use ARG instead of ENV in collectd container for COLLECTD_FLAVOR, COLLECTD_PULL_REQUESTS, WITH_DPDK * Move the experimental sample configs to src/collectd The configs are copied into the src/collectd directory within the container anyway, so this skips a step in the container build. * Remove initial package installation in containers Move the installation of these packages to the package install steps in the build script in systems/ instead. * Remove unnecessary WORKDIR command The WORKDIR {repo_dir} is unnecessary, since the following commands are using absolute paths rather than relative paths. Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I52b96a651cb5d9b644f11f5407cabf3fb21cb6a9
2021-05-10Add Gitlab-CI ConfigurationTrevor Bramwell1-0/+165
This change adda Gitlab-CI configuration for Barometer, mirroring all the jobs currently in Jenkins: Docker build and pushes for containers on merge and tag: - barometer-collectd - barometer-collectd-latest - barometer-collectd-dma - barometer-collectd-grafana - barometer-collectd-influxdb - barometer-collectd-kafka - barometer-collectd-ves - barometer-collectd-snmp Builds on Merge Requests and Merges: - make clobber && make - Documentation builds & publishing Daily Jobs - barometer build & artifact upload - docker run barometer-collectd-tests Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org> Change-Id: Ia5f8e33be537cbdd795da456d04cf6b18286c864
2021-04-15Merge "[ansible][capabilities] Remove the capabilities template from ↵Emma Foley2-2/+1
experimental"
2021-04-09[ansible][capabilities] Remove the capabilities template from experimentalEmma Foley2-2/+1
Capabilities plugin was interoduced in collectd-5.11, which is part of the barometer-collectd container, so it can be included by default. Change-Id: Ia91d883907025ab8618b39147e14d47a4fc541c3 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-04-08[ci] Update repos and packages for centos/8/build_base_machine.shEmma Foley1-3/+4
Issue found blocking the daily container build, due to the PowerTools repos being renamed, and dpdk version being incorrect. https: //build.opnfv.org/ci/view/barometer/job/barometer-collectd-latest-docker-build-push-master/11/console https: //build.opnfv.org/ci/view/barometer/job/barometer-collectd-latest-docker-build-push-jerma/3/console https: //build.opnfv.org/ci/view/barometer/job/barometer-collectd-experimental-docker-build-push-master/25/console https: //build.opnfv.org/ci/view/barometer/job/barometer-collectd-experimental-docker-build-push-jerma/3/console https: //build.opnfv.org/ci/view/barometer/job/barometer-collectd-docker-build-push-master/117/console https: //build.opnfv.org/ci/view/barometer/job/barometer-collectd-docker-build-push-jerma/3/console Change-Id: Ied653a940f91dcfac32dc23fe17585d385a0275a Signed-off-by: Emma Foley <efoley@redhat.com>
2020-12-01ovs_pmd_stats: bugfix for excessive padding with ovs-vswitchd 2.14.99.sstrehla1-2/+1
Added "strip" call to remove excessive whitespace padding from values Removed trailing newline Signed-off-by: Slawomir Strehlau <slawomir.strehlau@intel.com> Change-Id: I49686d239fcf105a03b2fa1131a506537f2dfe13
2020-11-24[ansible][dpdk] Disable dpdkstats and dpdkevents by defaultEmma Foley2-2/+13
The dpdk_telemetry plugin superceeds the dpdk{stats,events} plugins, and these cannot be enabled together. Since the stable container on CentOS 8 uses DPDK 19.11, the dpdk_telemetry plugin should be used instead. Change-Id: I20e087b40ff90ba95741aaff641ef1a745d77dd8 Signed-off-by: Emma Foley <efoley@redhat.com>
2020-11-19[container][experimental] Update the collectd_apply_pull_request.shEmma Foley3-14/+22
Updated the script to take the PR list from the environment Updated the container to allow users to pass COLLECTD_PULL_REQUESTS as a build-arg when building the container so they don't have to hard code values to change the PRs that are applied Change-Id: Ie820709d5f57712dc246b6728c772e086e53ab5b Signed-off-by: Emma Foley <efoley@redhat.com>
2020-11-19[container][experimental] Update experimental containerEmma Foley5-10/+100
* Use CentOS 8 instead of CentOS7 * Remove collectd-openstack-plugins * Update the list of PRs that are applied logparser and capabilities were merged * Move the experimental configs to collectd_sample_configs{,-latest} Change-Id: Ic1133ee7172e092ad4713c94886f306bc4d8e6ec Signed-off-by: Emma Foley <efoley@redhat.com>
2020-11-19[container][latest] Rename and update barometer-collectd-latestEmma Foley24-48/+44
Collectd changed the upstream default to main, and Barometer added a few changes to incorporate this. One change was renaming the `barometer-collectd-master` container to `barometer-collectd-latest`, since `barometer-collectd-main` didn't make sense semantically, as we use the stable container as the "main" reference. At the time, we didn't have the changes made in releng to build the new container, so container renaming was paused. Now that the change is merged in releng (and has been for a while), and the containers are being updated, this change should happen, so that the container gets published. Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I4ee91c289b9e7477157bea148452be58343dc733
2020-11-19[container][collectd] Update barometer-collectd container for CentOS 8Emma Foley5-27/+114
Update collectd to 5.12 Add in CentOS as base for the barometer-collectd container Remove openstack plugins - they are not used anymore Use packaged DPDK (v18.11 in CentOS 7 amd v19.11 in CentOS 8) Install packages from package manager instead of building libpqos, pmu-tools and librdkafka Combine install commands into one for CentOS8 (systems/centos/8/build_base_machine.sh) These changes reduce the size of the container from 1.7GB to ~825MB. Change-Id: I7e474f9578cdbcc7cce8c4fbc5e297eab89fd371 Signed-off-by: Emma Foley <efoley@redhat.com>
2020-11-12Merge "[ansible] remove deprecated filters"Emma Foley6-11/+11
2020-11-11[ci] Add missing package for daily buildEmma Foley1-1/+2
The barometer-daily-master [1] job has been failing for a while, This adds in the missing package that the build needs. [1] https://build.opnfv.org/ci/view/barometer/job/barometer-daily-master/1439/console Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I2d7fcb10d395ca2b1542b07d8b64e7d7c3e230f7
2020-11-11[ansible] remove deprecated filtersEmma Foley6-11/+11
The succeeded and failed checks are no longer supported for use as filters. Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: If5bdae81b34c1e63d7a2bda349beee5823e2550d
2020-10-19[docs] Remove refs to unsupported installersEmma Foley2-202/+0
For Jerma, a documentation restructure was proposed [1]. This change removes reference to unsupported installers in Barometer. [1] https://wiki.opnfv.org/display/meetings/OPNFV+TSC+Meeting+2020-10-13?preview=/63111416/63111451/OPNFV-docstructure.pdf Change-Id: Id55e55c3a4ea824c20fcadcfc4716ff8d23cc68f Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: Ic732d5f621d9a3e76cc76a97eacebbde7be139d7
2020-10-19[docs] Remove scenariosEmma Foley6-286/+0
For Jerma, a documentation restructure was proposed [1]. THis change removes reference to scenarios in Barometer. [1] https://wiki.opnfv.org/display/meetings/OPNFV+TSC+Meeting+2020-10-13?preview=/63111416/63111451/OPNFV-docstructure.pdf Change-Id: Id55e55c3a4ea824c20fcadcfc4716ff8d23cc68f Change-Id: I135226f7ecc72ee086effede68f92ade0c85d0a2 Signed-off-by: Emma Foley <efoley@redhat.com>
2020-10-06Enabling dpdk_telemetry pluginJabir Kanhira Kadavathu6-6/+76
Enabling dpdk_telemetry plugin with One Click Install. Added the config. templates and the related Documentation. Signed-off-by: Jabir Kanhira Kadavathu <jabir.kanhira.kadavathu@intel.com> Change-Id: Ibecd96d4102cd76a71d31613879ae57950f5108f
2020-08-25Upgrading dpdk version to 19.11Jabir Kanhira Kadavathu3-11/+16
Upgrading dpdk version from 18.11 to 19.11 Added notes regarding backward compatability. Signed-off-by: Jabir Kanhira Kadavathu <jabir.kanhira.kadavathu@intel.com> Change-Id: Id95598ca92efd8c39025ea295ddf3521b138c79c
2020-07-14Temperorily revert "Rename collectd container to barometer-collectd-latest"Emma Foley30-43/+42
This reverts commit 59338794c8ae8ff82c00dc14ea47a9279cc213d4. The reason for reverting is that there is not yet a container image available on Dockerhub for barometer-collectd-latest Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: Ia6e37af99787a6c02eb368fc7bfdd9d584716f2b
2020-06-30Rename collectd container to barometer-collectd-latestEmma Foley30-42/+43
Change-Id: I0dfff659b4e05e3e619ea62f1771db79f7a8f0df Signed-off-by: Emma Foley <efoley@redhat.com>
2020-06-30Update collectd tags to use main instead of masterEmma Foley7-42/+43
The branch names have been updated, and main has replaced master, which will no longer be updated. Change-Id: Idfce21554594f15a831c8b7ec769eb85d52068b1 Signed-off-by: Emma Foley <efoley@redhat.com>
2020-06-04Merge "Moving DPDK Verion From 16.11 to 18.11. Updated the related section ↵Matthias Runge3-4/+8
in userguide. Also updated the change in kni location for 18.11."
2020-05-28Merge "Update SNMP agent config"Emma Foley2-9/+14
2020-05-27Moving DPDK Verion From 16.11 to 18.11.jabirkkclt3-4/+8
Updated the related section in userguide. Also updated the change in kni location for 18.11. Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: If5f71f1803c65031b2c759052f571ce55b9ed4b6
2020-05-27Merge changes from topic "container_update"Emma Foley4-16/+19
* changes: [docs] Update Docker install guide Update collectd container to use 5.11
2020-05-27Merge "Publish a new Barometer testing container"Emma Foley3-0/+40
2020-05-25Update SNMP agent configEmma Foley2-9/+14
The one-click install was not working with SNMP. The manual install also wasn't working due to the ``Instance true`` config option in the config. ``Instance true`` is not a valid config option for snmp agent. This option appears in the stable container config, and also in the ansible config, but not in the master container. Removing this unsupported option allows the config to be read and collectd to be started. JIRA: BAROMETER-134 Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: If154b3190d82d1cd3638a9c258d2b48bb0efe9af
2020-05-22[docs] update formatting on one click installEmma Foley1-55/+71
Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: If4a5bbe119ce0a0dd0bed950f793b747e234cd61
2020-05-22[docs] Update Docker install guideEmma Foley1-13/+16
Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I03b89331fa45c542339fec9dfcd035649d930679
2020-05-22Update collectd container to use 5.11Emma Foley3-3/+3
Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I1867ec05011a58b16a0d88bd9bd3fdfd7ac5d2e3
2020-05-22[docs] Fix docs to pass rtd jobsEmma Foley2-2/+5
Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I8351e3defe15cd699a629bc3f78ecd074f0d9dd0