aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-18docker.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>
2018-10-11ansible: 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>
2018-10-10Merge "docker.userguide: Add chapter for ansible proxy configuration"Aaron Smith1-2/+63
2018-10-10Merge "Updated from global requirements"Emma Foley1-3/+3
2018-10-09docker.userguide: Add chapter for ansible proxy configurationRadoslaw Jablonski1-2/+63
Change-Id: I0bb2f2af64001de5e029aa49a79f9627a5f405c2 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-10-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>
2018-10-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>
2018-10-09Updated from global requirementsCédric Ollivier1-3/+3
Change-Id: I6661b7980e417b9544554b789e28fd07b7e4ed7b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>
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