summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-14Merge "docker.userguide: Add a note about bar-collectd run without DPDK/RDT" ↵opnfv-7.1.0stable/gambiaAaron Smith1-2/+19
into stable/gambia
2018-11-14Merge "Revert "Updated from global requirements"" into stable/gambiaAaron Smith1-3/+3
2018-11-12Merge "Add support for multi influx hosts" into stable/gambiaAaron Smith4-11/+32
2018-11-12docker.userguide: Add a note about bar-collectd run without DPDK/RDTRadoslaw Jablonski1-2/+19
Added a note with information what happens if RDT/DPDK dependency will be missing on host during manual starting bar-collectd container(with info what should be done in such scenario to start bar-collectd anyway) Change-Id: I11ba595e8925027c772920876c4bf2967f33de88 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> (cherry picked from commit 9f91de5d3e1c6d9b535db6a958e3598221b75d58)
2018-11-12Merge "Add 'prometheus_hosts' example definition to default.inv" into ↵Aaron Smith1-0/+3
stable/gambia
2018-11-12Add support for multi influx hostsJohn O Loughlin4-11/+32
Added support for multiple influx hosts. Fix issue where ansible crashes when influx_host is not defined Change-Id: I348e53c9b6147b0fafffdebcd80037acb72d67ce Signed-off-by: John O Loughlin <john.oloughlin@intel.com> (cherry picked from commit d9c7551a005494c025c03b3fd363acb0e5c74f9f)
2018-11-12Add 'prometheus_hosts' example definition to default.invRadoslaw Jablonski1-0/+3
Change-Id: Ibd87a721ba299f02db22723cb663c4ed513cd1fb Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> (cherry picked from commit 75c1bc25dc3a761839489037a4ec6d548c9b9674)
2018-11-12docker.userguide: Fix manual grafana and influxdb run commandsRadoslaw Jablonski1-5/+8
Previously ports were exported for grafana and influxdb but no network was mapped - no connection was possible between both containers (only connection from host to container was possible). Now container network is mapped to host - the same approach is used by ansible automatic installation for collectd, influxdb and grafana containers. Change-Id: I81af33d028bb8bc55590324694af93993f0f1d8c Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> (cherry picked from commit 86381552a74920fd5c33ccae1e98fd4f2ae5479f)
2018-11-12Revert "Updated from global requirements"Aaron Smith1-3/+3
This reverts commit e6e526c671c7a683d1cd6480f9cda145d9aa4a94. Change-Id: Ieb34c7ea29c25a5d1dae8c6491050ec1c1151249 Signed-off-by: TsaLaGi <aasmith@redhat.com>
2018-11-12src, docker: Change pkg import path of DMAToshiaki Takahashi3-8/+6
Different repository from OPNFV repository was temporary used as our own go package paths of DMA. Since the DMA code was merged in OPNFV Barometer, we change the import path to the Barometer repository and we simplify Dockerfile. Change-Id: I49aba163d3bd93a9edb48ce10bd4f69a43c2e28a Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp> (cherry picked from commit 354e06c7edcb9434d55c06bfab4de157f0e2d012)
2018-11-10docker.userguide: Remove 'docker-compose' chapterRadoslaw Jablonski1-80/+3
Removed 'docker-compose' and 'docker testing' chapters because they are not required for the release or as per the commitment(and ansible one-click-install is natural replacement for docker-compose functionality in barometer) Change-Id: If1db50954a290b27fa24f0285b4239891bb9ada8 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> (cherry picked from commit 3bfae7a96a4f9e90f5c328285cb0db94a0ab02b5)
2018-11-09docker.userguide: Add link to VES collector setup instructionsRadoslaw Jablonski2-0/+8
Change-Id: I7633e98af0fb58baad08a3761742f5f1e2a0e917 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> (cherry picked from commit 2fc1047ba9157438dfa799bcbcc6cfc9db9ef0fc)
2018-11-09dashboards: update and fix grafana dashboardsKamil Wiatrowski10-13031/+7411
Update of default grafana dashboards. Change-Id: I049001c982c19500d367bcaf467a9c614605792a Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com> (cherry picked from commit f2f22010d7d382fcb2c3e5b3bfd5f5c5602b28ab)
2018-11-09ansible: Set IP address of influxdb for grafanaKamil Wiatrowski2-8/+5
Set ip address to influxdb for grafana based on provided hostname. IP address in numerical format is required by grafana container. Mapping of hostname in /etc/hosts is no longer required. Change-Id: I684de737c6f8e48b5b9f256541901852d7ecc05a Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com> (cherry picked from commit 3e269c4c295e3dd81dfeaebe9de4c4a702e7f1d5)
2018-11-09docker.userguide: Add chapter for ansible proxy configurationRadoslaw Jablonski1-2/+63
Change-Id: I0bb2f2af64001de5e029aa49a79f9627a5f405c2 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> (cherry picked from commit 86775fcdd7c2174d807e3da1f93f71d177db153d)
2018-11-09Updated from global requirementsCédric Ollivier1-3/+3
Change-Id: I6661b7980e417b9544554b789e28fd07b7e4ed7b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9b5de9981ec65ebe624bb2bab54f7c4f7230b5db)
2018-11-09ansible: Add cleanup for grafana cache under host machineRadoslaw Jablonski1-0/+6
Previously cleaning cache directory for grafana(/var/lib/grafana) was missing and, because of that, changing influxdb_host variable value between one ansible deployment and another was not working. It was a problem because scripts in grafana container are expecting that cache directory will be empty during first run and, if some dashboards exists in cache already (even if they are left by previous deployment), old dashboards will be left untouched with possibly wrong configuration. This bug happened during deploying 3 nodes scenarios more than once (collectd, grafana and influlxdb hosted on separate machines). Now cleanup is done by default and can be skipped using 'clean_grafana_cache=false' value. Change-Id: Ib67cc3437b8a3a2c2930dd55cba44aef8e352cf2 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> (cherry picked from commit 1ff5c221b795245cd77fff9b2d0387b7146f8fe9)
2018-11-09ansible: Fix custom 'influxdb_host' setting for grafanaRadoslaw Jablonski1-2/+5
Previously there were 2 errors in ansible scripts for grafana: - influxdb_host variable value was unset - entry for /etc/hosts file was adding text "{{ influxdb_hostname }}" instead hostname stored in this variable Change-Id: I1821b3c5f5fea5c29386b1a57e37aadcf90dd2e6 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> (cherry picked from commit 659840a7d99ecbacd767c10395a47615af415e63)
2018-10-05Merge "docker.userguide: Fix docker run commands examples"Aaron Smith1-7/+18
2018-10-05Merge "Add role to auto install docker on hosts - missing patch"Aaron Smith4-14/+50
2018-10-04Add role to auto install docker on hosts - missing patchKamil Wiatrowski4-14/+50
Small updates to ansible roles. Several minor updates in documentation. Change-Id: Id031cebc23301b6218f8ced0d261f844f270e37f Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-04docker.userguide: Fix docker run commands examplesRadoslaw Jablonski1-7/+18
Command example for running opnf-barometer-collectd and grafaana images were using incorrect locations for configuration files. Change-Id: I3f0648f810cc049ae1df4d742f2ed7b58b50b12a Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-10-03Adding support for prometheus using ansibleJohn O Loughlin9-0/+151
To enable add the following with your ip address to your inventory file: [prometheus_hosts] 172.24.4.19 Change-Id: I85add815367bcbcf1240398db2c43c2130537969 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-10-02Merge "WIP: Add role to auto install docker on hosts"Aaron Smith17-34/+525
2018-09-28WIP: Add role to auto install docker on hostsKamil Wiatrowski17-34/+525
Auto install docker with dependencies on hosts: apt install python apt install python-pip pip install docker-py apt install docker.io Set docker proxy using host proxy settings. Updated documentation. Change-Id: Ibec7e0a7e484d5a9a8656cd3598c3acc7c2e2184 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-09-26Merge "Fix that required tests are skipped"Aaron Smith1-4/+4
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-09-19Merge "Local Documentation Builds"Aaron Smith5-1/+25
2018-09-18Local Documentation BuildsAric Gardner5-1/+25
This adds configuration for performing local documentation builds with the following simple command: tox -e docs Change-Id: Id07d11951e9fb4812737574884ff505bf536b221 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-09-14Fix links to remove references to submodulesAric Gardner3-5/+6
All references to submodules must be removed for docs to work going forward. Can be tested once your project has a local tox file Change-Id: Ia3e70902fb23c3612372b01aa2f51512057af951 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-09-10Merge "Add support for 'collectd-master' container"Aaron Smith24-17/+2180
2018-09-07Add support for 'collectd-master' containerRadoslaw Jablonski24-17/+2180
'collectd-master' contains development versions of collectd with the latest features. It is based on master branch from collect repository. Change-Id: I720b5e5938b402281674ee73851c5f611e4d1178 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-09-07docs: Add DMA procedure to Docker userguideToshiaki Takahashi1-0/+106
Change-Id: I61a6a9880f393e764222e508645a60b3f636e02a Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
2018-09-07docker: Add Dockerfile of DMA localagentToshiaki Takahashi1-0/+25
Change-Id: I2e12ee574cc0b1fd5de178b576590ae78ff533c6 Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
2018-09-07functest: Add test code of DMA localagentToshiaki Takahashi5-2/+500
Change-Id: If1195b7b3d9000e3ec75bc3c4c108b0e9a1bc9e3 Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
2018-09-07src: Add DMA localagentToshiaki Takahashi258-0/+60007
Change-Id: Ibcee814fbc9a904448eeb368a1a26bbb69cf54aa Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
2018-09-04Merge "Fix for Grafana does not plot the RDT plugin data correctly."Aaron Smith2-2/+6
2018-09-02Update entry_point to conform with XtestingCédric Ollivier1-0/+4
Functest is being updated to Xtesting 0.60 which leverages on stevedore [1]. [1] https://docs.openstack.org/stevedore/latest/ Change-Id: I02fae113dd0a8fbf5de4e6821c6d4476553fe633 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-31Fix for Grafana does not plot the RDT plugin data correctly.Kamil Wiatrowski2-2/+6
Fixed the interval of intel_rdt plugin and Grafana dashboard settings to follow the correct interval. Change-Id: Ia792c6b6308526d82f153275d5d5393b0aea312d Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
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>