summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-19Merge "Disable lvm plugin build"Aaron Smith1-0/+1
2018-06-18Disable lvm plugin buildTsaLaGi1-0/+1
JIRA: BAROMETER-103 The lvm plugin will not build due to a deprecated library. This patch will disable the building of the plugin until upstream collectd can correct the issue. Collectd issue #2820 https://github.com/collectd/collectd/issues/2820 Change-Id: Idcc8e274cef87e1ad0c62cbe9097a24b298adc5f Signed-off-by: TsaLaGi <aasmith@redhat.com>
2018-06-18Configure collectd to load ipmi before PMUJohn O'Loughlin1-1/+1
Collectd loads config files in alphabetical order. Ansible creates the config files for collectd. In this patch we change the name ipmi.conf to 0_ipmi.conf This will allow ipmi to be loaded before PMU. If PMU is loaded before ipmi the container will crash. This is a bug in collectd 5.8 Change-Id: I3334a3a1970f596e36f665698649d6c04fd38fbb Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-04-12Merge "docs: Updating Compass4nfv installer support in Fraser"Aaron Smith1-17/+25
2018-04-12Updated from global requirementsCédric Ollivier1-1/+1
Change-Id: Iec6300fbae08a9d924bf9db8b9b9702bc568844b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-11docs: Updating Compass4nfv installer support in Fraserramamani yeleswarapu1-17/+25
Updates the following doc with barometer-collectd container support as well as Grafana and InfluxDB support in Compass4nfv installer: docs/release/configguide/postinstall.rst Change-Id: Id2c7e1167b0fd99f9200510de7caaa7b25052a5f Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-04-03Merge "Update repo link for collectd-ceilometer-plugin"Aaron Smith2-7/+7
2018-03-29Merge "[functest] Update kernel version check for mcelog"Aaron Smith1-1/+2
2018-03-27Merge "Fix docs for container deployment"Aaron Smith1-12/+12
2018-03-27Fix docs for container deploymentJohn O Loughlin1-12/+12
Change-Id: I4a610d8686d758913d73ca684db41616daf391bd Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-03-23[functest] Update kernel version check for mcelogEmma Foley1-1/+2
Change-Id: I926d0d03781a98e3509d7f9c4f4eaffc1320919b Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-23Update repo link for collectd-ceilometer-pluginEmma Foley2-7/+7
Since Ceilometer support was removed from the collectd-ceilometer-plugin[1], the repo name is misleading. So the repo name needed to be updated [2] This change updates references to the collectd-ceilometer-plugin repo to point to collectd-openstack-plugins repo: * in deployment operations * in documentation i.e. links to docs Dependencies: [1] https://review.openstack.org/#/c/490823/ [2] https://review.openstack.org/#/c/500768/ This is dependant on the repo rename Change-Id: I43facbd53bca5df3f7e51d978ae2843c187282d4 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-23Merge "[functest] Skip RDT tests if on a virtual node"Aaron Smith2-4/+17
2018-03-23Merge "[functest] Update tests for Aodh"Aaron Smith1-6/+15
2018-03-22[functest] Skip RDT tests if on a virtual nodeEmma Foley2-4/+17
* Skip RDT tests if the node is virtual. * Push fake positive results to try avoid failure TODO: Get the test passing. Currently, the individual tests show a pass, however, the overall test shows a failure. Change-Id: Iedfb125a15ed1b9d41a3d48148a4ac363a89b90b Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-20[functest] Update tests for AodhEmma Foley1-6/+15
* Update the check for timestamp to use state_timestamp instead state_timestamp indicates the last change in state of the alarm, timestamp is the last update to the alarm settings. This is not what we're looking for with aodh tests, so check the state update instead. * Trigger an alarm state change before checking whether the alram was updated. Notification in collectd aren't necessarily updated at a regular interval, so we have to do some action and check whether the alarm is updated. JIRA: BAROMETER-91 Change-Id: I26d9bb1ec7e50e07053e69068d241e4c4cbc30dc Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-20Merge "ansible: add task to copy custom types.db file to targets"Gordon Kelly3-0/+28
2018-03-16Merge "[userguide] Update post install verification for Apex"Aaron Smith1-13/+12
2018-03-16Merge "[conf] Update the ovs_events config for Apex"Aaron Smith1-1/+1
2018-03-16Merge "Update functest to fix failing tests"Aaron Smith3-9/+28
2018-03-16ansible: add task to copy custom types.db file to targetsGordon Kelly3-0/+28
Change-Id: I0ae30a46d11d53cdc218e38d0b3a852aa5be147d Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-16[conf] Update the ovs_events config for ApexEmma Foley1-1/+1
The SendNotification option in ovs_events is set to false in Apex templates. This means that no notifications will be emitted on link status change. This patch updates ovs_events.conf.erb to match the config in the samples folder, adn the ones used by the reference container Change-Id: Ia034b81aedc67c2ced51cbf831baca176218d7d3 JIRA: BAROMETER-91 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-16Merge "ansible: break task to copy additional config files to own file"Gordon Kelly2-9/+25
2018-03-16[userguide] Update post install verification for ApexEmma Foley1-13/+12
Since the addition of DEFAULT_ARCHIVE_POLICY to collectd-openstack, and support in Apex, the archive policy used by Gnocchi for Barometer metrics is set to "high" by default. This removes the need to update the archive policy by hand for verification. Change-Id: I074b4cad4926bd0e59ca04f915865ed52d0b6979 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-16ansible: break task to copy additional config files to own fileGordon Kelly2-9/+25
Change-Id: Iffba385bd8e565459288f95eadf8a52bb6cc0084 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-16ansible:Put plugins in alphabetical order and fix swap plugin config pathGordon Kelly1-42/+41
Change-Id: Ie146e0ac9ad5e8bc1721b51e4e5112db51462854 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-15Update functest to fix failing testsEmma Foley3-9/+28
* MCE log plugin was failing becaue it wasn't enables * Updated a check for kernel version to match Fraser compute nodes on Apex * RDT was failing when virtual compute nodes were used * Add check to detect whether compute node is a VM * Skip RDT when running in a VM * Gnocchi metrics were failing * increase the wait time between checking metrics * CSV checks were failing on Hugepages * functest was assuming that tests were running on a system with at least two NUMA nodes * Only check for metrics on node0 of the system * Report was showing FAIL even if a test was not executed * Update the report output to show SKIP instead JIRA: BAROMETER-91 Change-Id: I4f70fc84fce80054a7aca2116357b0233f355f70 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-15Update collectd-gnocchi conf for DEFAULT_ARCHIVE_POLICYEmma Foley2-0/+2
* Configure the DEFAULT_ARCHIVE_POLICY option. * This will set the default archive policy to "high". Change-Id: I6dd88da0dc0eec96c1c472ae97c0db2395a3fb0e Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-13Clean up barometer-collectd DockerfileLeif Madsen1-11/+11
By merging several of the RUN lines and executing a yum cleanup all at the end of the dependency installation, the resulting container image will be around 300MB smaller. Change-Id: I63139a5283ea40ec8ea5cc3fd7aa7faddc90f3ce Signed-off-by: Leif Madsen <lmadsen@redhat.com>
2018-03-10Fixing the if/else logic in baro_tests/ mcelog_install()Sharada Shiddibhavi1-26/+28
Follow on to the change #52775 Fixed the if/else logic while installing the mcelog. And added log messages to show on which node, mcelog is installed. Change-Id: If5f61b1a780abd243516699e352a55baf0db96f7 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2018-03-05Merge "Auto Generated INFO.yaml file"Aaron Smith1-0/+56
2018-03-05Merge "Switch from openstack.creds to the new env_file"Aaron Smith1-13/+8
2018-03-05Merge "Switch to Xtesting"Aaron Smith2-4/+5
2018-03-02ansible: add checks to ensure all ipmi dependancies are metGordon Kelly5-10/+93
Change-Id: I342016af10a1ed3a11364bda7bd7a563882fafbd Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-02Merge "ansible: add functionality to copy custom config files to target node"Gordon Kelly2-0/+14
2018-03-02ansible: add functionality to copy custom config files to target nodeGordon Kelly2-0/+14
Change-Id: I6e7cb3e0923495e236b74444b1da3f4450122d02 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-02Switch from openstack.creds to the new env_fileCédric Ollivier1-13/+8
This file was renamed to avoid linking Kubernetes testcases to OpenStack credentials. This patch is mandatory for gating. Change-Id: I6b4e7e83d6dfc8cf1d60bf016ef258a273156ffe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Switch to XtestingCédric Ollivier2-4/+5
It inherits from xtesting.core.feature [1]. [1] http://xtesting.readthedocs.io/en/latest/apidoc/xtesting.core.feature.html Change-Id: Ib547aa60d9b8bf61ab5433496d7149a43355d08c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28ansible: add roles to launch ves and kafka containersGordon Kelly4-0/+142
Change-Id: Ida03c47bbe94600b034c95bd0d795e62c253303c Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-02-28Merge "docker: add Dockerfile for barometer-snmp"Gordon Kelly1-0/+4
2018-02-28Merge "ansible: add roles to launch collectd, influxdb and grafana containers"Gordon Kelly5-0/+191
2018-02-28ansible: add roles to launch collectd, influxdb and grafana containersGordon Kelly5-0/+191
Change-Id: I330172a2165e51a1557f084fd85fce12dfaad3a7 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-02-28Merge "Fix syntax error in baro_test/collectd.py:mcelog_install"Calin Gherghe1-3/+3
2018-02-28Revert "Merge conflict"Aaron Smith35-0/+1922
This reverts commit 7f4ef61d68c3ed96759f3553b2793e0ce6a7e4a5. Change-Id: I0ac115a5e6dfbc53051ed7ee6ae0ceb72a8128af Signed-off-by: TsaLaGi <aasmith@redhat.com>
2018-02-27Fix syntax error in baro_test/collectd.py:mcelog_installEmma Foley1-3/+3
The version of CentOS that's used no longer matches the version that is explicitly checked in collectd.py:mcelog_install. As a result the code on L637-L642[1] is now being called. This code was syntactically incorrect, however, was previously not being called, witht eh update to the version, it is now being executed and causing failures in deployment [2]. [1] https://github.com/opnfv/barometer/blob/c10400426df872be3236677dcb749c755f4a559c/baro_tests/collectd.py#L637-L642 [2] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-master/809/consoleText Change-Id: I35274d4ede17510c3ae03c756eda7bc9f78b4e17 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-02-27Merge conflictTsaLaGi35-1922/+0
Revert "Merge "ansible: add ansible scripts to configure .conf file on collectd nodes"" This reverts commit 7effd9e1e84dd7fa2a189a0815b5be1c0fcb165a, reversing changes made to b26034d05aa81f624e9bcee2c8e82a1cacfe44c4. Change-Id: I6f77b4432bbe0de29db3e099263e461e3043b22e Signed-off-by: TsaLaGi <aasmith@redhat.com>
2018-02-23Merge "ansible: add ansible scripts to configure .conf file on collectd nodes"Aaron Smith35-0/+1922
2018-02-23ansible: add ansible scripts to configure .conf file on collectd nodesGordon Kelly35-0/+1922
Change-Id: I7349582f7412088f4d303ca52eabf40afea3f5fe Signed-off-by: gordonkelly <gordon.kelly@intel.com>
2018-02-23docker: add Dockerfile for barometer-snmpGordon Kelly1-0/+4
Change-Id: I0e53dc5c9889c3f503ab4459aae8143243959c17 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-02-22Update mcelog.conf.erb templateEmma Foley1-1/+5
The <Memory> tag is required for MCELog. This was not updated in the puppet templates used by Apex. Co-Authored-By: Aaron Smith <aasmith@redhat.com> Co-Authored-By: Gordon Kelly <gordon.kelly@intel.com> Change-Id: I6b0793b33099ef448316b9abcd4f0293d7518e29 Signed-off-by: Emma Foley <emma.l.foley@intel.com>