aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-25Fix that required tests are skippedToshiaki Takahashi1-4/+4
Because the service running flags of Gnocchi and Aodh are overwritten in the loop of the compute node, once the flag become false, the tests on all subsequent nodes are skipped. This change makes to use new flags for each compute node. Change-Id: Idc807419151b34b29f0117c9a7708a16a20d70dd Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
2018-08-03Merge "Enable write_redis plugin for barometer-collectd"Aaron Smith5-0/+7
2018-07-27Fix test failure conditionToshiaki Takahashi1-1/+1
* Because the type of the variable res[3] is bool, we should not compare it with a string. * The expression "or 'None'" is always the same result, because 'None' is a constant value. It should be included in the comparison. Change-Id: I25defad98d612d21027218438ca2a28744292cf5 Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
2018-07-11New repository. puppet-barometerAric Gardner1-0/+1
Change-Id: I3a706b9512c270ecb1340db93e2bb4baacab1475 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-07-10Merge "docs: update userguide with new option for intel_pmu plugin"Aaron Smith2-0/+11
2018-07-10Merge "Fix docs"Aaron Smith1-3/+3
2018-07-10Enable write_redis plugin for barometer-collectdTomofumi Hayashi5-0/+7
This change is to enable write_redis plugin in collectd due to DMA local-agent is going to use the plugin. Change-Id: I522b41278bb020a48f33ac18f4ad08351e51ca36 Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
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-06-15Fix docsJohn O Loughlin1-3/+3
Remove --net=host as it should not be used when port mapping with the -p option Change-Id: I7d6d73fe176362fc74df99200a6d68d2a3ec0994 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-06-15docs: update userguide with new option for intel_pmu pluginKamil Wiatrowski2-0/+11
Update the userguide for intel_pmu with new "Cores" option available in plugin configuration. Added sample config with default configuration. Change-Id: Ibe4d451131dc2c9ae0282f018c7e23596f4bf2c1 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@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