aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-08-04[ansible][fedora] Update package nameHEADstable/orinocostable/nilemasterEmma Foley1-1/+1
Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: Ia879047bc25684591075f780b74b53b95f9329c6
2022-06-09[ansible] Use anuket namespace for building containersEmma Foley1-4/+4
Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I513ff603319b0ddf664e0d4d2a22212ee64e92d9
2022-03-10Update containers to CentOS Stream 8stable/moselleEmma Foley3-4/+4
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>
2021-12-17[docs] Release notes for Lakelsestable/lakelseEmma Foley2-0/+165
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
2021-12-17Merge changes from topic "collectd_6_testing"Emma Foley14-3/+459
* 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
2021-12-17Merge "[grafana] Update Dashboard for CPU Usage"Emma Foley3-2/+11
2021-12-17[grafana] Update Dashboard for CPU UsageEmma Foley3-2/+11
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
2021-12-17Add a playbook that tests collectd 6 vs collectd5Emma Foley6-4/+236
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>
2021-12-17[docker][ansible] Add a playbook for building the containersEmma Foley4-0/+134
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>
2021-12-17Create a flask app to show metrics from collectdEmma Foley5-0/+90
Change-Id: Ief2e99d551809705c0b246a7cae5bd5804f97137 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-12-17[src/collectd] Update collectd_apply_pull_requests.sh to check out PREmma Foley2-5/+16
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
2021-12-17Merge "[reno] Add tox target for creating new release note"Emma Foley2-1/+6
2021-12-13Merge "[ansible][logparser] Enable logparser by default in one-click install"Emma Foley4-8/+14
2021-12-13[reno] Add tox target for creating new release noteEmma Foley2-1/+6
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
2021-11-08[ci] Update CentOS 8 containerEmma Foley1-0/+1
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
2021-10-20Merge "[INFO.yml] Remove Maryam Tahhan as committer"Emma Foley1-4/+0
2021-10-14[release-notes] Add in missing release noteEmma Foley1-0/+12
The note for the updated contaienr namespace was omitted Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: Ice710a7008fb7c713fbd56d55219a3823a46f5ab
2021-10-13[INFO.yml] Remove Maryam Tahhan as committerEmma Foley1-4/+0
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
2021-10-11[INFO.yml] Remove Calin Gherge and Aaron Smith as committersEmma Foley1-8/+0
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
2021-09-13[ansible][logparser] Enable logparser by default in one-click installEmma Foley4-8/+14
Signed-off-by: "Emma Foley <efoley@redhat.com>" Change-Id: I6dd8e166433feab16dd06c9767e58d6d96ca948d
2021-09-13[containers] Use anuket/ namespace for containersEmma Foley7-67/+67
Change-Id: If0bea94be66a2c5b88d88e6c70a4c27a9001a3d9 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-09-13Update INFO.yamlEmma Foley1-16/+14
* Use Anuket URLs * Replace IRC with slack * Update meeting times Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I580ca5daff8f8bedb30ef9d9f8fd24f941c32ade
2021-08-30[dpdk] Remove dpdkstats and dpdkevents pluginsEmma Foley11-287/+39
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>
2021-08-30Merge "[ansible] Use collectd_config for virt and rdt"Emma Foley5-67/+16
2021-08-30Merge "[ansible] Add unixsock to config_files role"Emma Foley3-3/+20
2021-08-30Merge "[ansible] Use collectd_config for plugins"Emma Foley31-430/+117
2021-08-30Merge changes from topic "update_docs"Emma Foley5-151/+141
* changes: [docs] Update config and post-installation guides [docs][userguide] Use literalinclude instead of duplicating the sample configs
2021-08-26[ansible] Add unixsock to config_files roleEmma Foley3-3/+20
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
2021-08-26[ansible] Use collectd_config for virt and rdtEmma Foley5-67/+16
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
2021-08-26[ansible] Use collectd_config for pluginsEmma Foley31-430/+117
* 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
2021-08-26[ansible] Use collectd_config for default_read_pluginsEmma Foley4-104/+45
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
2021-08-26[docs] Update config and post-installation guidesEmma Foley4-6/+86
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
2021-08-26[docs][userguide] Use literalinclude instead of duplicating the sample configsEmma Foley2-145/+55
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>
2021-08-26[docs] Update formatting and linksEmma Foley5-57/+65
* 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>
2021-08-24Merge "[docs] Update/remove reference to OPNFV"Emma Foley4-21/+13
2021-08-12[docs][reno] Update reno to include templateEmma Foley7-10/+61
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
2021-08-12[docs] Update/remove reference to OPNFVEmma Foley4-21/+13
* Replace OPNFV with Anuket * Update comments where scenarios, installers, etc are mentioned Change-Id: I41d4f38e2f681914d3549fd7baca0e7d7d86a8a3 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-07-14[docs] Add reno to help in creating release notesEmma Foley5-0/+27
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>
2021-07-08Merge "[docker][experimental] Split the build"Emma Foley1-4/+18
2021-07-07[ci] Remove disabled packages from the RPMs list.Emma Foley1-8/+0
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>
2021-07-07[ci][daily] Update barometer-daily job to navigate to correct dirEmma Foley1-1/+0
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>
2021-07-06[ci][daily] Update ci/barometer-build.shEmma Foley1-2/+1
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>
2021-07-06[ci] Update to fix barometer-daily-masterEmma Foley1-1/+0
Remove collectd-gmod from the rpm check Change-Id: I69c9e16004802de26d72532cb27c963865b36a87 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-07-06[ci][gitlab] Update daily master to execute scriptsEmma Foley1-2/+2
Change-Id: I1f17df236a92aafd3ecaf3d0522fbeaf69c02c81 Signed-off-by: Emma Foley <efoley@redhat.com>
2021-07-05[docker][experimental] Split the buildEmma Foley1-4/+18
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>
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