barometer.git
20 months ago[ansible][fedora] Update package name 43/73443/1 master stable/nile stable/orinoco
Emma Foley [Thu, 4 Aug 2022 16:31:34 +0000 (17:31 +0100)]
[ansible][fedora] Update package name

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: Ia879047bc25684591075f780b74b53b95f9329c6

22 months ago[ansible] Use anuket namespace for building containers 06/73406/1
Emma Foley [Thu, 9 Jun 2022 12:55:56 +0000 (13:55 +0100)]
[ansible] Use anuket namespace for building containers

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I513ff603319b0ddf664e0d4d2a22212ee64e92d9

2 years agoUpdate containers to CentOS Stream 8 81/73281/1 stable/moselle
Emma Foley [Thu, 10 Mar 2022 15:23:08 +0000 (15:23 +0000)]
Update containers to CentOS Stream 8

CentOS 8 went EOL on December 31st, 2021 [1]
CentOS Stream 8 is the replacement, and has been added as the base of the containers as well.

[1] https://www.centos.org/centos-linux-eol/

Change-Id: I29543e2a1d14f9515399f4a26de2e274ff53eb3b
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[docs] Release notes for Lakelse 16/73116/1 stable/lakelse
Emma Foley [Fri, 17 Dec 2021 13:46:04 +0000 (13:46 +0000)]
[docs] Release notes for Lakelse

Used reno to generate notes and pasted them into
lakelse-release-notes.rst
later, I should find a way to actually use sphinx to do this
automatically.

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I91cb18d16e5452504a6da74258ad9e2b04f265a2

2 years agoMerge changes from topic "collectd_6_testing"
Emma Foley [Fri, 17 Dec 2021 13:07:53 +0000 (13:07 +0000)]
Merge changes from topic "collectd_6_testing"

* changes:
  Add a playbook that tests collectd 6 vs collectd5
  [docker][ansible] Add a playbook for building the containers
  Create a flask app to show metrics from collectd

2 years agoMerge "[grafana] Update Dashboard for CPU Usage"
Emma Foley [Fri, 17 Dec 2021 13:07:10 +0000 (13:07 +0000)]
Merge "[grafana] Update Dashboard for CPU Usage"

2 years ago[grafana] Update Dashboard for CPU Usage 87/72887/2
Emma Foley [Tue, 31 Aug 2021 10:09:35 +0000 (11:09 +0100)]
[grafana] Update Dashboard for CPU Usage

After the introduction of the collectd_config roles, for generating
configs, some of the configs changed, as they were no longer relying on
collectd's defaults.
One of these was the cpu plugin, which configured ``ReportPercentage True``
by the config role. The effected the grafana dashboards, because the CPU
usage dashboard explicitly selected ``type=cpu``. With the values being
reported as percentage, collectd sets the ``type=percent`` for the metrics
stored in influx (which grafana retrieves), so the dashboards dodn't
have any data to display. By  removing the ``type=cpu`` filter, the CPU
metrics are once again showing in grafana, and will be shown whether the
CPU usage is reported in percentage or the default jiffies.

Signed-off-by: "Emma Foley <efoley@redhat.com>"
Change-Id: I03a6f01677514d888e7805358855947791ab173c

2 years agoAdd a playbook that tests collectd 6 vs collectd5 74/72774/17
Emma Foley [Tue, 13 Jul 2021 18:23:12 +0000 (19:23 +0100)]
Add a playbook that tests collectd 6 vs collectd5

The playbook will:

* build collectd-6, collectd-latest and flask app
  containers
* generate a set of collectd configs
* launch the collectd-6, collectd-latest with the generated configs
* run the flask app which has a http_server that receives metrics from
  collectd v5 and collectd v6
* display the received metrics from both versions of collectd
  Collectd v5 shows PUTVAL
  Collectd v6 shows PUTMETRIC

The playbook takes the following parameters:
* PR (optional)
  The PRID for an upstream collectd pull request that will be
  passed to the collectd 6 container build

* plugin (optional)
  The name of the plugin that is bneing ported
  This will filter the received metrics to show the value passed.

Additional updates to existing roles include:
* run_collectd
  parameterises the collectd container name so that the role can be reused for
  launching multiple collectd containers by passing distinct names.

Change-Id: Ia62196c347387d380aae69e14ed0dd8e2c76d9c9
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[docker][ansible] Add a playbook for building the containers 30/72430/18
Emma Foley [Fri, 23 Apr 2021 18:46:57 +0000 (19:46 +0100)]
[docker][ansible] Add a playbook for building the containers

To run the playbook and build the containers, run::
   sudo ansible-playbook docker/ansible/collectd_build.yml

Change-Id: I60e044f09c8da53f6d5a56d2aaa7b837b19a0b0b
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years agoCreate a flask app to show metrics from collectd 27/72427/18
Emma Foley [Wed, 21 Apr 2021 18:59:52 +0000 (19:59 +0100)]
Create a flask app to show metrics from collectd

Change-Id: Ief2e99d551809705c0b246a7cae5bd5804f97137
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[src/collectd] Update collectd_apply_pull_requests.sh to check out PR 79/73079/4
Emma Foley [Thu, 9 Dec 2021 15:32:10 +0000 (15:32 +0000)]
[src/collectd] Update collectd_apply_pull_requests.sh to check out PR

Update collectd_apply_pull_request.sh to check out PR when only one PR is given.
A comma-separated list of PR_IDs will still result in rebasing on top of the checked-out branch.

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I22012c950be80dce26a51fcf02b13469f27e1ca8

2 years agoMerge "[reno] Add tox target for creating new release note"
Emma Foley [Fri, 17 Dec 2021 09:23:32 +0000 (09:23 +0000)]
Merge "[reno] Add tox target for creating new release note"

2 years agoMerge "[ansible][logparser] Enable logparser by default in one-click install"
Emma Foley [Mon, 13 Dec 2021 17:58:07 +0000 (17:58 +0000)]
Merge "[ansible][logparser] Enable logparser by default in one-click install"

2 years ago[reno] Add tox target for creating new release note 99/73099/2
Emma Foley [Mon, 13 Dec 2021 11:09:19 +0000 (11:09 +0000)]
[reno] Add tox target for creating new release note

Added a tox target for reno, so new notes can be creted using::

  tox -e docs-create-note -- slug-goes-here

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: Ie3b7a3326e80c4d1d49fed42900ce4d31fa3a2ba

2 years ago[ci] Update CentOS 8 container 01/73001/2
Emma Foley [Mon, 8 Nov 2021 12:26:53 +0000 (12:26 +0000)]
[ci] Update CentOS 8 container

CentOS 8 container was missing ``which``, so collectd was failing to
build. This was causing failures in the container builds.

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I3702b45bd41ca677178d4b38163d2366b75c035d

2 years agoMerge "[INFO.yml] Remove Maryam Tahhan as committer"
Emma Foley [Wed, 20 Oct 2021 18:14:10 +0000 (18:14 +0000)]
Merge "[INFO.yml] Remove Maryam Tahhan as committer"

2 years ago[release-notes] Add in missing release note 70/72970/1
Emma Foley [Thu, 14 Oct 2021 14:22:04 +0000 (15:22 +0100)]
[release-notes] Add in missing release note

The note for the updated contaienr namespace was omitted

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: Ice710a7008fb7c713fbd56d55219a3823a46f5ab

2 years ago[INFO.yml] Remove Maryam Tahhan as committer 69/72969/1
Emma Foley [Mon, 11 Oct 2021 12:12:02 +0000 (13:12 +0100)]
[INFO.yml] Remove Maryam Tahhan as committer

Maryam has stepped down as committer [1].

[1] https://lists.anuket.io/g/anuket-tech-discuss/message/456

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I3385a37f7562217ad714f5e768de95012c5dcaf7

2 years ago[INFO.yml] Remove Calin Gherge and Aaron Smith as committers 64/72964/1
Emma Foley [Mon, 11 Oct 2021 12:12:02 +0000 (13:12 +0100)]
[INFO.yml] Remove Calin Gherge and Aaron Smith as committers

Calin [1] and Aaron [2] have stepped down as committers.

[1] https://lists.anuket.io/g/anuket-tech-discuss/message/442
[2] https://lists.anuket.io/g/anuket-tech-discuss/message/443

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: Ib160a24550ec4fa6f2785fd74920f9c8b7d20f44

2 years ago[ansible][logparser] Enable logparser by default in one-click install 84/72884/2
Emma Foley [Mon, 30 Aug 2021 14:06:51 +0000 (15:06 +0100)]
[ansible][logparser] Enable logparser by default in one-click install

Signed-off-by: "Emma Foley <efoley@redhat.com>"
Change-Id: I6dd8e166433feab16dd06c9767e58d6d96ca948d

2 years ago[containers] Use anuket/ namespace for containers 16/72916/1
Emma Foley [Mon, 13 Sep 2021 18:12:45 +0000 (19:12 +0100)]
[containers] Use anuket/ namespace for containers

Change-Id: If0bea94be66a2c5b88d88e6c70a4c27a9001a3d9
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years agoUpdate INFO.yaml 15/72915/1
Emma Foley [Mon, 13 Sep 2021 11:32:38 +0000 (12:32 +0100)]
Update INFO.yaml

* Use Anuket URLs
* Replace IRC with slack
* Update meeting times

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I580ca5daff8f8bedb30ef9d9f8fd24f941c32ade

2 years ago[dpdk] Remove dpdkstats and dpdkevents plugins 80/72880/5
Emma Foley [Thu, 26 Aug 2021 15:25:42 +0000 (16:25 +0100)]
[dpdk] Remove dpdkstats and dpdkevents plugins

Remove old dpdk plugins, since they are superceeded by dpdk_telemetry
plugin.

JIRA: https://jira.anuket.io/browse/BAROMETER-183
Change-Id: Ie4abf2b1fe37a2197d9d5dd01820ac8b0d01df6d
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years agoMerge "[ansible] Use collectd_config for virt and rdt"
Emma Foley [Mon, 30 Aug 2021 14:08:59 +0000 (14:08 +0000)]
Merge "[ansible] Use collectd_config for virt and rdt"

2 years agoMerge "[ansible] Add unixsock to config_files role"
Emma Foley [Mon, 30 Aug 2021 14:08:35 +0000 (14:08 +0000)]
Merge "[ansible] Add unixsock to config_files role"

2 years agoMerge "[ansible] Use collectd_config for plugins"
Emma Foley [Mon, 30 Aug 2021 14:08:26 +0000 (14:08 +0000)]
Merge "[ansible] Use collectd_config for plugins"

2 years agoMerge changes from topic "update_docs"
Emma Foley [Mon, 30 Aug 2021 10:40:53 +0000 (10:40 +0000)]
Merge changes from topic "update_docs"

* changes:
  [docs] Update config and post-installation guides
  [docs][userguide] Use literalinclude instead of duplicating the sample configs

2 years ago[ansible] Add unixsock to config_files role 68/72668/8
Emma Foley [Thu, 10 Jun 2021 11:08:12 +0000 (12:08 +0100)]
[ansible] Add unixsock to config_files role

The unixsock plugin is useful for debugging issues in collectd, and can
be used to verify that metrics are being collected without having to
create CSV files or log into the container.

Typically, the unixsock plugin can be queried using the following
syntax::

$ docker exec bar-collectd /opt/collectd/bin/collectdctl -s /var/run/collectd-socket listval

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: Id342fe7659c809f4eec71085ae6572f9d855684c

2 years ago[ansible] Use collectd_config for virt and rdt 67/72667/12
Emma Foley [Thu, 10 Jun 2021 11:04:23 +0000 (12:04 +0100)]
[ansible] Use collectd_config for virt and rdt

Only one of virt and intel_rdt can be enabled at a time, and the
existing checks are based on the existance of a {rdt,virt}.conf file to
determine whether the other plugin is enabled.
This check needed updating, and is now based on whether the other plugin
is in the collectd_plugins value.

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I175d60111bf133965e1ecbf3764cb12a25356576

2 years ago[ansible] Use collectd_config for plugins 40/71540/29
Emma Foley [Wed, 9 Jun 2021 17:36:17 +0000 (18:36 +0100)]
[ansible] Use collectd_config for plugins

* Update the following plugins to use collectd_config role
  * capabilities
  * csv
  * dpdk_telemetry
  * exec
  * hugepages
  * ipmi
  * logfile
  * network
  * ovs_events
  * ovs_stats
  * syslog
  * uuid
  * write_kafka
  * write_prometheus

JIRA: BAROMETER-180
Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I2ec9e3c2db2c1d907459b40550012834196f0c65

2 years ago[ansible] Use collectd_config for default_read_plugins 66/72666/15
Emma Foley [Wed, 9 Jun 2021 17:39:11 +0000 (18:39 +0100)]
[ansible] Use collectd_config for default_read_plugins

Update default_plugins to use the collectd_config role [1]

[1] https://github.com/infrawatch/collectd-config-ansible-role

JIRA: BAROMETER-180
Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I9ff9bf642b641132771965346d65c95a3d66b996

2 years ago[docs] Update config and post-installation guides 14/72814/6
Emma Foley [Fri, 6 Aug 2021 11:18:21 +0000 (12:18 +0100)]
[docs] Update config and post-installation guides

The configguide was removed previously because it only contained
information about using the OPNFV installers, however, now there appears
to be no config information about the plugins. The config information
for each plugin is included in the user guide in
docs/release/userguide/feature.userguide.rst.
This change adds in a note to the the config guide on where to look.

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I7f71d51846c9116bed3882b96e762ab5d70fdfa4

2 years ago[docs][userguide] Use literalinclude instead of duplicating the sample configs 13/72813/5
Emma Foley [Thu, 5 Aug 2021 15:32:48 +0000 (16:32 +0100)]
[docs][userguide] Use literalinclude instead of duplicating the sample configs

This should reduce the inaccuracies, since the sample configs are easier
to test, and changes don't have to be sychronised between documents.

Change-Id: I92a1937ff0308df25ea3a345f2772027033f0302
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[docs] Update formatting and links 15/72815/6
Emma Foley [Thu, 5 Aug 2021 12:27:46 +0000 (13:27 +0100)]
[docs] Update formatting and links

* Fix broken links
* Update display text for links
* Update formatting
* Add hyperlink for barometer

Change-Id: I472a896a51d2fb5a49a4eaac1aef2bdeeed8d692
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years agoMerge "[docs] Update/remove reference to OPNFV"
Emma Foley [Tue, 24 Aug 2021 18:32:47 +0000 (18:32 +0000)]
Merge "[docs] Update/remove reference to OPNFV"

2 years ago[docs][reno] Update reno to include template 21/72821/2
Emma Foley [Thu, 12 Aug 2021 11:43:39 +0000 (12:43 +0100)]
[docs][reno] Update reno to include template

The template for release notes wasn't conforming to the expected
headings. A template was added to the config.

To generate a new note (from the base directory in the repo), use::

    reno --rel-notes-dir docs/release/release-notes/ new slug-goes-here

The release notes are also included as part of the docs build, and the
existing releases notes have been renamed accordingly.

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I05d1950b37f266bb6eb3515b3660665cfd5c1d8b

2 years ago[docs] Update/remove reference to OPNFV 12/72812/3
Emma Foley [Fri, 16 Jul 2021 17:59:14 +0000 (18:59 +0100)]
[docs] Update/remove reference to OPNFV

* Replace OPNFV with Anuket
* Update comments where scenarios, installers, etc are mentioned

Change-Id: I41d4f38e2f681914d3549fd7baca0e7d7d86a8a3
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[docs] Add reno to help in creating release notes 75/72775/1
Emma Foley [Mon, 5 Jul 2021 15:40:23 +0000 (16:40 +0100)]
[docs] Add reno to help in creating release notes

Reno[1] is used to create release notes. It can be used in conjunction
with sphinx to automatically create and publish release notes. In this
case it is being added to help with release notes collation at the end of
the release cycle.

There is a possibility that it can be more fully integrated later, if
there is need for it.

For the moment, release notes can be outputted using tox::

  tox -e docs-releasenotes

Release notes can be added to features using::

  reno new slug-goes-here

where slug-goes-here is combined with a random suffic to create a unique
name for the release note.

[1] https://docs.openstack.org/reno/latest/

Change-Id: Id7f113fa4817585bb429503ff3491c633a4ce8e2
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years agoMerge "[docker][experimental] Split the build"
Emma Foley [Thu, 8 Jul 2021 10:50:02 +0000 (10:50 +0000)]
Merge "[docker][experimental] Split the build"

2 years ago[ci] Remove disabled packages from the RPMs list. 65/72765/2
Emma Foley [Wed, 7 Jul 2021 16:45:26 +0000 (17:45 +0100)]
[ci] Remove disabled packages from the RPMs list.

The following packages are no longer built when creating the RPMs for collectd:

* collectd-gps - not buildable on RHEL8
* collectd-lvm - lvmlvapp was deprecated upstream
* collectd-modbus - not buildable on RHEL8
* collectd-mqtt - not buildable on RHEL8
* collectd-nut - dependencies deprecated upstream
* collectd-ping - not buildable on RHEL 8
* collectd-smart - only buildable on RHEL 7
* collectd-varnish - dependencies deprecated upstream

Change-Id: I3d3179b369ebc67d1bd7d16498b5e3131453f57e
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[ci][daily] Update barometer-daily job to navigate to correct dir 66/72766/1
Emma Foley [Wed, 7 Jul 2021 16:13:00 +0000 (17:13 +0100)]
[ci][daily] Update barometer-daily job to navigate to correct dir

Remove the ``cd $WORKSPACE`` as it is not needed, and
barometer-daily-* expects baroemter-upload-artifact.d expects to be called in
ci/ instead of $WORKSPACE

Change-Id: Id2291c6708f06c4d99480e0289c092cbd48c844d
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[ci][daily] Update ci/barometer-build.sh 59/72759/1
Emma Foley [Tue, 6 Jul 2021 18:59:12 +0000 (19:59 +0100)]
[ci][daily] Update ci/barometer-build.sh

Remove the cd ci line because the script is now called from that directory

Change-Id: If3caf6fc3dbf3ea2155c70b1cf4ee6d0feff30bf
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[ci] Update to fix barometer-daily-master 56/72756/2
Emma Foley [Tue, 6 Jul 2021 11:38:13 +0000 (12:38 +0100)]
[ci] Update to fix barometer-daily-master

Remove collectd-gmod from the rpm check

Change-Id: I69c9e16004802de26d72532cb27c963865b36a87
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[ci][gitlab] Update daily master to execute scripts 57/72757/2
Emma Foley [Tue, 6 Jul 2021 11:40:40 +0000 (12:40 +0100)]
[ci][gitlab] Update daily master to execute scripts

Change-Id: I1f17df236a92aafd3ecaf3d0522fbeaf69c02c81
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[docker][experimental] Split the build 90/72590/6
Emma Foley [Mon, 31 May 2021 18:45:04 +0000 (19:45 +0100)]
[docker][experimental] Split the build

Split the container build into two stages:
* builder
  Builds collectd and containers all the build artifacts

* final
  Containers collectd binary and all the dependencies needed to run.
  Does not contain build artifacts, which contribute to a very large
  container size.

The main advantage is that the final container is much smaller (~700MB vs
1.2GB).

Change-Id: Ia75734096233b7ecab9d81df06084c24bde2bf90
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years agoMerge "[ci] Update build_rpm scripts"
Emma Foley [Fri, 2 Jul 2021 13:00:01 +0000 (13:00 +0000)]
Merge "[ci] Update build_rpm scripts"

2 years ago[ci] Update build_rpm scripts 01/72701/6
Emma Foley [Wed, 23 Jun 2021 16:01:20 +0000 (16:01 +0000)]
[ci] Update build_rpm scripts

* 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>
2 years agoMerge "[ansible] Use collectd_config in config_files role"
Emma Foley [Thu, 1 Jul 2021 12:32:07 +0000 (12:32 +0000)]
Merge "[ansible] Use collectd_config in config_files role"

2 years agoMerge "[ansible][default_plugins] Update how the default plugins are enabled"
Emma Foley [Thu, 1 Jul 2021 12:31:39 +0000 (12:31 +0000)]
Merge "[ansible][default_plugins] Update how the default plugins are enabled"

2 years agoMerge "[build][centos8] Update versions of dependencies"
Emma Foley [Tue, 29 Jun 2021 13:05:52 +0000 (13:05 +0000)]
Merge "[build][centos8] Update versions of dependencies"

2 years agoMerge "[ci] Move scripts from releng into ci/ for gitlab"
Emma Foley [Mon, 28 Jun 2021 14:38:28 +0000 (14:38 +0000)]
Merge "[ci] Move scripts from releng into ci/ for gitlab"

2 years ago[build][centos8] Update versions of dependencies 00/72700/9
Slawomir Strehlau [Wed, 23 Jun 2021 11:22:04 +0000 (07:22 -0400)]
[build][centos8] Update versions of dependencies

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>
2 years ago[ci] Move scripts from releng into ci/ for gitlab 05/72705/1
Emma Foley [Thu, 24 Jun 2021 19:24:28 +0000 (20:24 +0100)]
[ci] Move scripts from releng into ci/ for gitlab

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>
2 years agoAdd release note for Kali 04/72704/1
Emma Foley [Thu, 24 Jun 2021 16:14:55 +0000 (17:14 +0100)]
Add release note for Kali

Change-Id: I79907968e1e894fbe6f6373b87acce08d537c0ae
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years agoMerge "Add Gitlab-CI Configuration"
Emma Foley [Fri, 18 Jun 2021 14:05:04 +0000 (14:05 +0000)]
Merge "Add Gitlab-CI Configuration"

2 years ago[ansible] Use collectd_config in config_files role 65/72665/3
Emma Foley [Wed, 9 Jun 2021 19:22:28 +0000 (20:22 +0100)]
[ansible] Use collectd_config in config_files role

* 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

2 years agoMerge "[ansible] Update naming master->latest for SNMP template"
Emma Foley [Wed, 16 Jun 2021 14:41:24 +0000 (14:41 +0000)]
Merge "[ansible] Update naming master->latest for SNMP template"

2 years ago[ansible] Update naming master->latest for SNMP template 64/72664/2
Emma Foley [Fri, 9 Apr 2021 12:53:40 +0000 (13:53 +0100)]
[ansible] Update naming master->latest for SNMP template

* config_files: Rename templates/master to templates/latest

Change-Id: I5db6491695bf35a87851f779603dc16454c117d5
Signed-off-by: Emma Foley <efoley@redhat.com>
2 years ago[ci] Update DPDK package version 48/72648/3
Emma Foley [Tue, 8 Jun 2021 15:39:10 +0000 (16:39 +0100)]
[ci] Update DPDK package version

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>
2 years ago[ansible][default_plugins] Update how the default plugins are enabled 39/71539/8
Emma Foley [Mon, 23 Nov 2020 15:56:37 +0000 (15:56 +0000)]
[ansible][default_plugins] Update how the default plugins are enabled

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>
2 years agoMerge "[docs] Update docs"
Matthias Runge [Mon, 7 Jun 2021 14:20:33 +0000 (14:20 +0000)]
Merge "[docs] Update docs"

2 years ago[docs] Update docs 35/72635/2
Emma Foley [Thu, 3 Jun 2021 17:24:00 +0000 (18:24 +0100)]
[docs] Update docs

Update references of OPNFV to Anuket
Update redirected and invalud links

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: If5663398319c5a0a5c99cff414bc7b2a216218f0

2 years ago[docker] Add collectd-6 12/72412/6
Emma Foley [Wed, 21 Apr 2021 13:37:13 +0000 (14:37 +0100)]
[docker] Add collectd-6

* 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>
2 years ago[docker][experimental] Allow COLLECTD_TAG to be passed to container build 89/72589/1
Emma Foley [Thu, 20 May 2021 19:35:39 +0000 (20:35 +0100)]
[docker][experimental] Allow COLLECTD_TAG to be passed to container build

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>
2 years ago[docker] Reduce the number of build steps in containers 25/72425/4
Emma Foley [Wed, 21 Apr 2021 13:37:13 +0000 (14:37 +0100)]
[docker] Reduce the number of build steps in containers

* 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

2 years agoAdd Gitlab-CI Configuration 05/72505/1
Trevor Bramwell [Mon, 10 May 2021 19:44:50 +0000 (12:44 -0700)]
Add Gitlab-CI Configuration

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

3 years agoMerge "[ansible][capabilities] Remove the capabilities template from experimental"
Emma Foley [Thu, 15 Apr 2021 18:13:31 +0000 (18:13 +0000)]
Merge "[ansible][capabilities] Remove the capabilities template from experimental"

3 years ago[ansible][capabilities] Remove the capabilities template from experimental 38/71538/4
Emma Foley [Fri, 20 Nov 2020 17:40:02 +0000 (17:40 +0000)]
[ansible][capabilities] Remove the capabilities template from experimental

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>
3 years ago[ci] Update repos and packages for centos/8/build_base_machine.sh 63/72363/1
Emma Foley [Thu, 8 Apr 2021 18:01:01 +0000 (19:01 +0100)]
[ci] Update repos and packages for centos/8/build_base_machine.sh

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>
3 years agoovs_pmd_stats: bugfix for excessive padding with ovs-vswitchd 2.14.99. 02/71602/1
sstrehla [Mon, 30 Nov 2020 09:34:46 +0000 (10:34 +0100)]
ovs_pmd_stats: bugfix for excessive padding with ovs-vswitchd 2.14.99.

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

3 years ago[ansible][dpdk] Disable dpdkstats and dpdkevents by default 37/71537/1
Emma Foley [Fri, 20 Nov 2020 17:34:31 +0000 (17:34 +0000)]
[ansible][dpdk] Disable dpdkstats and dpdkevents by default

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>
3 years ago[container][experimental] Update the collectd_apply_pull_request.sh 19/71419/2
Emma Foley [Thu, 19 Nov 2020 12:38:40 +0000 (12:38 +0000)]
[container][experimental] Update the collectd_apply_pull_request.sh

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>
3 years ago[container][experimental] Update experimental container 18/71418/2
Emma Foley [Wed, 18 Nov 2020 16:42:39 +0000 (16:42 +0000)]
[container][experimental] Update experimental container

* 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>
3 years ago[container][latest] Rename and update barometer-collectd-latest 07/71407/3
Emma Foley [Tue, 17 Nov 2020 13:58:22 +0000 (13:58 +0000)]
[container][latest] Rename and update barometer-collectd-latest

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

3 years ago[container][collectd] Update barometer-collectd container for CentOS 8 04/71404/5
Emma Foley [Wed, 11 Nov 2020 19:05:11 +0000 (19:05 +0000)]
[container][collectd] Update barometer-collectd container for CentOS 8

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>
3 years agoMerge "[ansible] remove deprecated filters"
Emma Foley [Thu, 12 Nov 2020 14:57:23 +0000 (14:57 +0000)]
Merge "[ansible] remove deprecated filters"

3 years ago[ci] Add missing package for daily build 75/71375/2
Emma Foley [Wed, 11 Nov 2020 16:56:50 +0000 (16:56 +0000)]
[ci] Add missing package for daily build

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

3 years ago[ansible] remove deprecated filters 73/71373/1
Emma Foley [Tue, 10 Nov 2020 22:55:12 +0000 (22:55 +0000)]
[ansible] remove deprecated filters

The succeeded and failed checks are no longer supported for use as filters.

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: If5bdae81b34c1e63d7a2bda349beee5823e2550d

3 years ago[docs] Remove refs to unsupported installers 95/71295/2
Emma Foley [Mon, 19 Oct 2020 15:37:11 +0000 (16:37 +0100)]
[docs] Remove refs to unsupported installers

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

3 years ago[docs] Remove scenarios 67/71267/1
Emma Foley [Mon, 19 Oct 2020 10:04:57 +0000 (11:04 +0100)]
[docs] Remove scenarios

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>
3 years agoEnabling dpdk_telemetry plugin 86/71186/6
Jabir Kanhira Kadavathu [Wed, 23 Sep 2020 10:24:46 +0000 (03:24 -0700)]
Enabling dpdk_telemetry plugin

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

3 years agoUpgrading dpdk version to 19.11 85/70885/1
Jabir Kanhira Kadavathu [Tue, 25 Aug 2020 15:21:50 +0000 (08:21 -0700)]
Upgrading dpdk version to 19.11

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

3 years agoTemperorily revert "Rename collectd container to barometer-collectd-latest" 34/70534/1
Emma Foley [Tue, 14 Jul 2020 17:38:09 +0000 (18:38 +0100)]
Temperorily revert "Rename collectd container to barometer-collectd-latest"

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

3 years agoRename collectd container to barometer-collectd-latest 13/70413/1
Emma Foley [Tue, 30 Jun 2020 12:29:27 +0000 (13:29 +0100)]
Rename collectd container to barometer-collectd-latest

Change-Id: I0dfff659b4e05e3e619ea62f1771db79f7a8f0df
Signed-off-by: Emma Foley <efoley@redhat.com>
3 years agoUpdate collectd tags to use main instead of master 12/70412/2
Emma Foley [Mon, 29 Jun 2020 21:11:03 +0000 (22:11 +0100)]
Update collectd tags to use main instead of master

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>
3 years agoMerge "Moving DPDK Verion From 16.11 to 18.11. Updated the related section in usergui...
Matthias Runge [Thu, 4 Jun 2020 12:56:26 +0000 (12:56 +0000)]
Merge "Moving DPDK Verion From 16.11 to 18.11. Updated the related section in userguide. Also updated the change in kni location for 18.11."

3 years agoMerge "Update SNMP agent config"
Emma Foley [Thu, 28 May 2020 17:29:50 +0000 (17:29 +0000)]
Merge "Update SNMP agent config"

3 years agoMoving DPDK Verion From 16.11 to 18.11. 91/69491/4
jabirkkclt [Fri, 3 Jan 2020 16:18:15 +0000 (08:18 -0800)]
Moving DPDK Verion From 16.11 to 18.11.
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

3 years agoMerge changes from topic "container_update"
Emma Foley [Wed, 27 May 2020 16:14:22 +0000 (16:14 +0000)]
Merge changes from topic "container_update"

* changes:
  [docs] Update Docker install guide
  Update collectd container to use 5.11

3 years agoMerge "Publish a new Barometer testing container"
Emma Foley [Wed, 27 May 2020 11:30:07 +0000 (11:30 +0000)]
Merge "Publish a new Barometer testing container"

3 years agoUpdate SNMP agent config 05/70205/2
Emma Foley [Fri, 22 May 2020 20:10:51 +0000 (16:10 -0400)]
Update SNMP agent config

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

3 years ago[docs] update formatting on one click install 51/69751/3
Emma Foley [Tue, 25 Feb 2020 11:54:44 +0000 (11:54 +0000)]
[docs] update formatting on one click install

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: If4a5bbe119ce0a0dd0bed950f793b747e234cd61

3 years ago[docs] Update Docker install guide 02/70202/2
Emma Foley [Thu, 21 May 2020 12:20:25 +0000 (08:20 -0400)]
[docs] Update Docker install guide

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I03b89331fa45c542339fec9dfcd035649d930679

3 years agoUpdate collectd container to use 5.11 00/70200/2
Emma Foley [Wed, 20 May 2020 18:55:10 +0000 (14:55 -0400)]
Update collectd container to use 5.11

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I1867ec05011a58b16a0d88bd9bd3fdfd7ac5d2e3

3 years ago[docs] Fix docs to pass rtd jobs 03/70203/2
Emma Foley [Fri, 22 May 2020 17:14:24 +0000 (13:14 -0400)]
[docs] Fix docs to pass rtd jobs

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I8351e3defe15cd699a629bc3f78ecd074f0d9dd0

4 years agoPublish a new Barometer testing container 55/69955/1
Cédric Ollivier [Wed, 15 Apr 2020 11:38:00 +0000 (13:38 +0200)]
Publish a new Barometer testing container

It's widely based on the former Functest features container.
As barometer seems leveraging on python2.7 and depends on Functest, it
inherits from opnfv/functest-core:hunter (latest py2 release).

pika seems missing in requirements.

INSTALLER_IP should be protected (it raises exceptions to the upper
program).

Change-Id: I50d1cf0a7a1233447245d852f79775c8e9fa8c99
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoTemperarily disable SNMP in one click install 16/69616/1
Emma Foley [Thu, 30 Jan 2020 23:25:27 +0000 (23:25 +0000)]
Temperarily disable SNMP in one click install

SNMP config has been causing the one click install to fail.
Disabling it temperorily so that it doesn't block Iruya release

JIRA: BAROMETER-134
Change-Id: Ia7944eb6461497c0cd17a2f7ba5b2c2018ffd2a2
Signed-off-by: Emma Foley <efoley@redhat.com>
4 years ago[docs][ves] Update path for ves configs 68/69568/1
Emma Foley [Mon, 20 Jan 2020 13:30:08 +0000 (13:30 +0000)]
[docs][ves] Update path for ves configs

JIRA: Barometer-133
Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I7f427089b6e9a7c81a0bbea36b6af46bf721a042

4 years agoMerge changes If3d86e80,I48763243,I656a6786
Matthias Runge [Tue, 17 Dec 2019 14:43:08 +0000 (14:43 +0000)]
Merge changes If3d86e80,I48763243,I656a6786

* changes:
  Relative imports fix
  Python 2 to 3 migration fixes
  Python 2 to 3 migration of collectd-ves-app

4 years agoMerge "Updates/Fix on Legal/License Headers"
Matthias Runge [Tue, 17 Dec 2019 14:42:39 +0000 (14:42 +0000)]
Merge "Updates/Fix on Legal/License Headers"