barometer.git
4 years agoUpdated committer details for Emma Foley 16/69016/1
Emma Foley [Tue, 26 Nov 2019 13:06:48 +0000 (08:06 -0500)]
Updated committer details for Emma Foley

Updated company and e-mail.

Change-Id: I3139b5bafac8f54a215cf2ba7e8abd763108fb3f
Signed-off-by: Emma Foley <efoley@redhat.com>
4 years agoMerge "Updated/corrected the path for ves application config file"
Matthias Runge [Mon, 25 Nov 2019 13:21:55 +0000 (13:21 +0000)]
Merge "Updated/corrected the path for ves application config file"

4 years agoMerge "Format change to align with Influxdb_hosts"
Matthias Runge [Mon, 25 Nov 2019 13:20:34 +0000 (13:20 +0000)]
Merge "Format change to align with Influxdb_hosts"

4 years agoUpdated/corrected the path for ves application config file 56/68956/1
jabirkkclt [Fri, 22 Nov 2019 16:25:40 +0000 (08:25 -0800)]
Updated/corrected the path for ves application config file

Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com>
Change-Id: Ib4243f84aaba3d7920c51e0da3fad54c960e53eb

4 years agoMerge "Moving the collectd version from 5.8 to 5.10"
Matthias Runge [Mon, 11 Nov 2019 08:29:07 +0000 (08:29 +0000)]
Merge "Moving the collectd version from 5.8 to 5.10"

4 years agoMerge "1. Added one dependency step for installation in Ubuntu,to match with that...
Matthias Runge [Mon, 11 Nov 2019 08:21:04 +0000 (08:21 +0000)]
Merge "1. Added one dependency step for installation in Ubuntu,to match with that of in centos. 2. Updated default.inv documentation for the latest changes in the actual file in the Repository"

4 years ago1. Added one dependency step for installation in Ubuntu,to match with that of in... 89/68789/4
jabirkkclt [Tue, 5 Nov 2019 14:38:22 +0000 (06:38 -0800)]
1. Added one dependency step for installation in Ubuntu,to match with that of in centos.
2. Updated default.inv documentation for the latest changes in the actual file in the Repository

Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com>
Change-Id: I2ab5b30bf2954cf247fdb56763e90a314db9c90f

4 years agoMoving the collectd version from 5.8 to 5.10 14/68814/1
jabirkkclt [Fri, 8 Nov 2019 11:59:31 +0000 (03:59 -0800)]
Moving the collectd version from 5.8 to 5.10

Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com>
Change-Id: I1579a2bd0ef2280134fc13183ebafeb444b752f9

4 years agoFormat change to align with Influxdb_hosts 08/68808/1
jabirkkclt [Thu, 7 Nov 2019 09:47:33 +0000 (01:47 -0800)]
Format change to align with Influxdb_hosts

Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com>
Change-Id: Ie368f2d32ce1291036f6fff95cd13b0dbdeced24

4 years agoAdded a comment under grafana_hosts to convey that Influxdb and Grafana should be... 94/68794/1
jabirkkclt [Wed, 6 Nov 2019 12:35:16 +0000 (04:35 -0800)]
Added a comment under grafana_hosts to convey that Influxdb and Grafana should be same host.

Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com>
Change-Id: I82732de3eacd7abda5d63059d988452e8141201b

4 years agoUpdate ansible scripts to use py3 for Ubuntu and Fedora 93/68493/2
Emma Foley [Wed, 18 Sep 2019 16:56:49 +0000 (17:56 +0100)]
Update ansible scripts to use py3 for Ubuntu and Fedora

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: Ia62933a4b824f1280a693fc8004d29c67dc5e2ac

4 years agoMerge "Add a README for github mirrors to show"
Matthias Runge [Tue, 23 Jul 2019 15:47:25 +0000 (15:47 +0000)]
Merge "Add a README for github mirrors to show"

4 years agoAdd a README for github mirrors to show 68/67968/4
Matthias Runge [Wed, 29 May 2019 06:50:31 +0000 (08:50 +0200)]
Add a README for github mirrors to show

Change-Id: Ib3ae52755cae26a386b17f01dab3bba4976c220e
Signed-off-by: Matthias Runge <mrunge@redhat.com>
4 years ago[docs][install] Split the docker and ansible install guides 91/68191/2
Emma Foley [Thu, 4 Jul 2019 09:37:39 +0000 (10:37 +0100)]
[docs][install] Split the docker and ansible install guides

docker.userguide.rst contained two methods of installation:

* Manual installation of all the docker containers
* one-click install using ansible

A new user is potentially going to be confused about which
document to use, and may not be aware that the two options exist.

This change splits the install guide into two documents, one for
docker, and one for ansible. It also renames the docker guide to
make it more obvious to the user what is contained in the guide.

Change-Id: I1ecdd7d15f8f53c80221916379982bca2673a06d
JIRA: BAROMETER-128
Signed-off-by: Emma Foley <efoley@redhat.com>
4 years agoUpdated the typo in diagrams for 3 modes of VES Operations. 81/68081/1
jabirkkclt [Wed, 19 Jun 2019 17:41:14 +0000 (10:41 -0700)]
Updated the typo in diagrams for 3 modes of VES Operations.

Change-Id: If197bf24f8b834a81f21aa99b2d89b7b70ffad54
Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com>
5 years agoMerge "ansible: add variable to select collectd container"
Matthias Runge [Thu, 9 May 2019 13:05:16 +0000 (13:05 +0000)]
Merge "ansible: add variable to select collectd container"

5 years agodocker.userguide: Add info about collectd master & experimental containers 88/67788/2
Kamil Wiatrowski [Thu, 17 Jan 2019 14:54:42 +0000 (14:54 +0000)]
docker.userguide: Add info about collectd master & experimental containers

Added chapters about different collectd container flavors that
can be chosen in barometer project.

Change-Id: If6383231580749c37d2ff0ecc43f62b67434e51c
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agoansible: add variable to select collectd container 89/67789/2
Kamil Wiatrowski [Thu, 18 Apr 2019 11:33:39 +0000 (13:33 +0200)]
ansible: add variable to select collectd container

Add a variable to playbooks to select type of collectd container.
Container flavor can be stable, master or experimental.

Change-Id: Ie591ca3b7816210c377c5bffbb54117f8ee764aa
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agoMerge "docker: Add support for experimental collectd container"
Matthias Runge [Wed, 8 May 2019 11:55:38 +0000 (11:55 +0000)]
Merge "docker: Add support for experimental collectd container"

5 years agobarometer: update conf files 90/67790/1
Kamil Wiatrowski [Fri, 26 Apr 2019 11:42:42 +0000 (13:42 +0200)]
barometer: update conf files

Updated intel_pmu.conf for ansible installation to monitor
cores 0-4 by default.
Add sample conf files for plugins supported by master container:
pcie_errors and write_prometheus.

Change-Id: Ifedff2f3b099f5d7b5a88d14909c3879d38e4e64
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agodocker: Add support for experimental collectd container 87/67787/1
Kamil Wiatrowski [Fri, 11 Jan 2019 07:58:03 +0000 (07:58 +0000)]
docker: Add support for experimental collectd container

Experimental container is based on master branch and includes
set of pull requests with experimental features.
By default one addtional PR is included - logparser.

Change-Id: I455122b23b6de382f6ef75a790f7b052784b59ac
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agobarometer: update DMA's vendoring packages 15/67715/1
Tomofumi Hayashi [Sat, 27 Apr 2019 11:38:39 +0000 (20:38 +0900)]
barometer: update DMA's vendoring packages

Change-Id: I0578b094f1ecdaed20c906be2ba29d51b8089d7c
Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
5 years agoansible: update docker userguide for collectd_ves 24/67524/1
Kamil Wiatrowski [Fri, 5 Apr 2019 14:28:15 +0000 (16:28 +0200)]
ansible: update docker userguide for collectd_ves

Change-Id: I54a2d46b8acecea6f6278f130d7567acc813c324
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agoansible: Add zookeeper to one click install 73/67473/1
Kamil Wiatrowski [Mon, 25 Mar 2019 16:02:50 +0000 (16:02 +0000)]
ansible: Add zookeeper to one click install

Previously 'zookeeper' docker container should be installed
manually by user - now it is a part of ansible one click install
for VES.

Change-Id: If3873cffa51ddf04d2c3769705259aaf5928cc45
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agoansible-kafka: Fix zookeeper_host_ip value 35/67335/1
Radoslaw Jablonski [Thu, 21 Mar 2019 10:17:13 +0000 (10:17 +0000)]
ansible-kafka: Fix zookeeper_host_ip value

Previously 'zookeeper_host_ip' was set to 'localhost' instead
of IP address - this caused error during starting kafka container.

Change-Id: I55cf6e3375e3d08df2baf69f678aaab74f4aa408
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agoMerge "Fix wrong image name in test code"
Matthias Runge [Thu, 31 Jan 2019 15:20:23 +0000 (15:20 +0000)]
Merge "Fix wrong image name in test code"

5 years agoMerge "Add git installation to docker guide"
Matthias Runge [Thu, 24 Jan 2019 10:48:23 +0000 (10:48 +0000)]
Merge "Add git installation to docker guide"

5 years agoAdd git installation to docker guide 59/66559/1 stable/hunter opnfv-8.1.0
Matthias Runge [Tue, 22 Jan 2019 13:41:39 +0000 (14:41 +0100)]
Add git installation to docker guide

Change-Id: I1e94ddaa7b877adacd874d3c2b02ea5939892dcc
Signed-off-by: Matthias Runge <mrunge@redhat.com>
5 years agoFix wrong image name in test code 89/65489/5
Toshiaki Takahashi [Wed, 16 Jan 2019 02:22:24 +0000 (02:22 +0000)]
Fix wrong image name in test code

This change fix the name of the container image to be tested
from the past name "LocalAgent" to the current name "DMA".
This also fix python function names, comments and log output.

Change-Id: I8bd8d1d884f6ff59c7e52da31455bc7f042ee9eb
Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
5 years agoMerge "Fix anteater issues of baro_tests"
Matthias Runge [Tue, 15 Jan 2019 09:56:56 +0000 (09:56 +0000)]
Merge "Fix anteater issues of baro_tests"

5 years agoansible: install mcelog from sources on Ubuntu 18.04 23/66323/1
Kamil Wiatrowski [Thu, 10 Jan 2019 14:47:50 +0000 (15:47 +0100)]
ansible: install mcelog from sources on Ubuntu 18.04

On Ubuntu 18 mcelog is no longer available through apt from
standard repositories. It can be downloaded directly, and make
on target machine. Mcelog version 161 is used.

Change-Id: Ie24990869190f86efa26994081d4f887f879c867
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agoFix anteater issues of baro_tests 93/65693/3
Toshiaki Takahashi [Mon, 10 Dec 2018 07:48:04 +0000 (07:48 +0000)]
Fix anteater issues of baro_tests

* Use yaml.safe_load instead of yaml.load
* Not use curl
  (Use the file prepared by the procedure
   in the Functest Installation Guide)
* Not use /tmp directoriy for security reasen
* Add copyright to fix "Licence header missing"

Change-Id: Ib4ad56e6a79d7f7d00058d5bd7c6690b8c360753
Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
5 years agodocker.userguide: Add note about 'python' dependency in multi node setup 55/65755/1
Radoslaw Jablonski [Wed, 12 Dec 2018 15:42:21 +0000 (15:42 +0000)]
docker.userguide: Add note about 'python' dependency in multi node setup

Ansible needs python2 to be able to finish discovery on remote host
and on some distributions it may not be installed by default.

Added note about this dependency - 'python' package has to be
installed on each node in multi-node-setup.

Change-Id: I2741325a7b4b1b38bdfb1af427c65eeb90408aa6
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agoUpdate docker userguide: dpdk plugins 29/65729/1
Kamil Wiatrowski [Tue, 11 Dec 2018 13:13:52 +0000 (14:13 +0100)]
Update docker userguide: dpdk plugins

Add dpdk plugins to description of ansible installation.

Change-Id: I89e8ec6c0918455dd4df5d086fbc2475200054ce
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agoMerge "docker.userguide: Fix instruction for installing ansible"
Matthias Runge [Tue, 11 Dec 2018 10:23:56 +0000 (10:23 +0000)]
Merge "docker.userguide: Fix instruction for installing ansible"

5 years agoMerge "docker.userguide: Fix ansible-playbook instruction for non-root user"
Matthias Runge [Tue, 11 Dec 2018 10:04:39 +0000 (10:04 +0000)]
Merge "docker.userguide: Fix ansible-playbook instruction for non-root user"

5 years agoMerge "Add support for dpdk events and stat to ansible installation"
Matthias Runge [Tue, 11 Dec 2018 10:03:02 +0000 (10:03 +0000)]
Merge "Add support for dpdk events and stat to ansible installation"

5 years agodocker.userguide: Fix instruction for installing ansible 01/65701/1
Radoslaw Jablonski [Wed, 5 Dec 2018 13:15:01 +0000 (13:15 +0000)]
docker.userguide: Fix instruction for installing ansible

Previous version of instruction for installing ansible under
pip was problematic when called as a regular user because
pip was trying to use wrong(local home) directory for caching.
It may cause problems when home directory is located on NFS.

Change-Id: Ia9eb15d1be0db0cb5aa5f3fd04a7a166ff1046b2
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agodocker.userguide: Fix ansible-playbook instruction for non-root user 99/65699/1
Radoslaw Jablonski [Fri, 7 Dec 2018 10:48:29 +0000 (10:48 +0000)]
docker.userguide: Fix ansible-playbook instruction for non-root user

Now using 'sudo -H' instead raw sudo - without that option ansible
on some systems(e.g. Ubuntu 16.04) will try to use regular user home
directory for caching (it may be not accessible when home is
mounted using Network File System)

Change-Id: I9d7e14613d7e27f86c43926c05b368972527e072
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agodocker.userguide: Add chapter about cleanup influxdb/grafana 87/65487/2
Radoslaw Jablonski [Mon, 26 Nov 2018 07:52:56 +0000 (07:52 +0000)]
docker.userguide: Add chapter about cleanup influxdb/grafana

Added chapter about cleaning influxdb and grafana configurations.
Config files for both are stored in folders that are shared
between container and Host machine - it is good to remove them
when removing barometer docker containers in case of re-installation
or changing active setup.

Change-Id: If84c0f0ee91560275b4834bc98dbdff518a059a8
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agoAdd support for dpdk events and stat to ansible installation 37/65537/1
Kamil Wiatrowski [Mon, 3 Dec 2018 14:02:06 +0000 (15:02 +0100)]
Add support for dpdk events and stat to ansible installation

Add dpdk plugins to ansible installation with default
configuration.

Change-Id: I1f7949962aff5119141b5712bb6b32db8f45b287
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agodocker.userguide: Add info about using influxdb in multi-node setup 47/65447/1
Radoslaw Jablonski [Tue, 27 Nov 2018 08:57:24 +0000 (08:57 +0000)]
docker.userguide: Add info about using influxdb in multi-node setup

Added chapter about steps that have to be performed in order to
run collect and influxdb on separate Hosts (manual setup)

Change-Id: Ia4b1234aa1346afdc27ec5eabb795dfac06f0522
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agoMerge "barometer-collectd: Add support for DPDK in container"
Matthias Runge [Fri, 23 Nov 2018 10:36:48 +0000 (10:36 +0000)]
Merge "barometer-collectd: Add support for DPDK in container"

5 years agoMerge "docker.userguide: Add --network=host option for manual docker build examples"
Matthias Runge [Fri, 23 Nov 2018 09:47:57 +0000 (09:47 +0000)]
Merge "docker.userguide: Add --network=host option for manual docker build examples"

5 years agobarometer-collectd: Add support for DPDK in container 39/65339/1
Kamil Wiatrowski [Thu, 22 Nov 2018 17:07:46 +0000 (18:07 +0100)]
barometer-collectd: Add support for DPDK in container

Build dpdk plugins in collectd container.

Change-Id: Ifdca827a419d6d3d4d9c6070d3a581372df8a2f9
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agodefault.inv: Add note about problems with mixing hostnames/IP addresses 99/65299/1
Radoslaw Jablonski [Tue, 20 Nov 2018 14:45:07 +0000 (14:45 +0000)]
default.inv: Add note about problems with mixing hostnames/IP addresses

Added a note about risks with mixing IP addresses and hostnames
in inventory file.
If the same host will be called in inventory file using both its
hostname and IP address then problems may occur during step
where dependencies are installed (ansible thinks that there
are 2 independent hosts and will try install dependencies
for both of them in the same time - it may fail be because
of apt/yum synchronization locks).

Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
Change-Id: I2cd1ea293fadfb12f78c03028cafec993dadbe2d

5 years agoMerge "docker.userguide: Fix instruction for copying ssh keys"
Matthias Runge [Wed, 21 Nov 2018 08:26:52 +0000 (08:26 +0000)]
Merge "docker.userguide: Fix instruction for copying ssh keys"

5 years agoMerge "Committers please vote +2/-2 for PTL nomination of Matthias Runge fixed INFO"
Aaron Smith [Tue, 20 Nov 2018 16:06:38 +0000 (16:06 +0000)]
Merge "Committers please vote +2/-2 for PTL nomination of Matthias Runge fixed INFO"

5 years agoCommitters please vote +2/-2 for PTL nomination of Matthias Runge 81/65081/4
Aaron Smith [Tue, 13 Nov 2018 18:32:36 +0000 (13:32 -0500)]
Committers please vote +2/-2 for PTL nomination of Matthias Runge
fixed INFO

Change-Id: I5368b2bd519376212af8719a58ac325b38b8c235
Signed-off-by: Aaron Smith <aasmith@redhat.com>
5 years agodocker.userguide: Add --network=host option for manual docker build examples 73/65173/1
Radoslaw Jablonski [Fri, 2 Nov 2018 11:17:03 +0000 (11:17 +0000)]
docker.userguide: Add --network=host option for manual docker build examples

On Ubuntu hosts (16.04 & 18.04) there might be problem to build
docker collectd container if host is behind a proxy even if
proxy variables are set correctly - when using "--network=host"
option problem is resolved.
This option has no negative impact on other host systems so adding
it to default command line build example.

Change-Id: I69ebd13f1e05658d8ad18e3ec379f515312e7b74
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agodocker.userguide: Fix instruction for copying ssh keys 65/65165/1
Radoslaw Jablonski [Thu, 15 Nov 2018 09:43:31 +0000 (09:43 +0000)]
docker.userguide: Fix instruction for copying ssh keys

Previously 'ssh-copy-id' command tried to upload key from
non-root user directory and next command was expecting that
root key was copied (in that case ansible was unable to log
into host machine)

Change-Id: Iba25e6a8da0e5902883e5aa876f735e8f632d3b9
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agoFix DMA docker image url in docker userguide 99/65099/2
Yuki Kasuya [Sat, 10 Nov 2018 12:14:29 +0000 (21:14 +0900)]
Fix DMA docker image url in docker userguide

JIRA: BAROMETER-118

This fix DMA docker image url from opnfv/barometer-localagent
to opnfv/barometer-dma

Change-Id: Ia11f388f31129b0636407e1af5139c747a861b87
Signed-off-by: Yuki Kasuya <yu-kasuya@kddilabs.jp>
5 years agoMerge "docker.userguide: Add a note about bar-collectd run without DPDK/RDT"
Aaron Smith [Fri, 9 Nov 2018 13:13:20 +0000 (13:13 +0000)]
Merge "docker.userguide: Add a note about bar-collectd run without DPDK/RDT"

5 years agoMerge "Add support for multi influx hosts"
Aaron Smith [Fri, 9 Nov 2018 13:12:55 +0000 (13:12 +0000)]
Merge "Add support for multi influx hosts"

5 years agoMerge "Add 'prometheus_hosts' example definition to default.inv"
Aaron Smith [Fri, 9 Nov 2018 13:11:28 +0000 (13:11 +0000)]
Merge "Add 'prometheus_hosts' example definition to default.inv"

5 years agoMerge "docker.userguide: Fix manual grafana and influxdb run commands"
Aaron Smith [Fri, 9 Nov 2018 13:11:06 +0000 (13:11 +0000)]
Merge "docker.userguide: Fix manual grafana and influxdb run commands"

5 years agoMerge "src, docker: Change pkg import path of DMA"
Aaron Smith [Fri, 9 Nov 2018 13:10:45 +0000 (13:10 +0000)]
Merge "src, docker: Change pkg import path of DMA"

5 years agoMerge "docker.userguide: Remove 'docker-compose' chapter"
Aaron Smith [Fri, 9 Nov 2018 13:10:17 +0000 (13:10 +0000)]
Merge "docker.userguide: Remove 'docker-compose' chapter"

5 years agoMerge "docker.userguide: Add link to VES collector setup instructions"
Aaron Smith [Fri, 9 Nov 2018 13:10:06 +0000 (13:10 +0000)]
Merge "docker.userguide: Add link to VES collector setup instructions"

5 years agoAdd 'prometheus_hosts' example definition to default.inv 83/64783/1
Radoslaw Jablonski [Wed, 7 Nov 2018 14:01:43 +0000 (14:01 +0000)]
Add 'prometheus_hosts' example definition to default.inv

Change-Id: Ibd87a721ba299f02db22723cb663c4ed513cd1fb
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agosrc, docker: Change pkg import path of DMA 25/64425/1
Toshiaki Takahashi [Fri, 2 Nov 2018 10:09:11 +0000 (10:09 +0000)]
src, docker: Change pkg import path of DMA

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>
5 years agoAdd support for multi influx hosts 01/63901/10
John O Loughlin [Tue, 23 Oct 2018 10:57:19 +0000 (11:57 +0100)]
Add support for multi influx hosts

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>
5 years agodocker.userguide: Remove 'docker-compose' chapter 33/64233/1
Radoslaw Jablonski [Mon, 29 Oct 2018 08:26:32 +0000 (08:26 +0000)]
docker.userguide: Remove 'docker-compose' chapter

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>
5 years agodocker.userguide: Add link to VES collector setup instructions 01/64001/1
Radoslaw Jablonski [Mon, 22 Oct 2018 08:41:07 +0000 (09:41 +0100)]
docker.userguide: Add link to VES collector setup instructions

Change-Id: I7633e98af0fb58baad08a3761742f5f1e2a0e917
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agodashboards: update and fix grafana dashboards 47/63747/1
Kamil Wiatrowski [Fri, 19 Oct 2018 10:52:03 +0000 (12:52 +0200)]
dashboards: update and fix grafana dashboards

Update of default grafana dashboards.

Change-Id: I049001c982c19500d367bcaf467a9c614605792a
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agodocker.userguide: Add a note about bar-collectd run without DPDK/RDT 33/63733/1
Radoslaw Jablonski [Wed, 17 Oct 2018 14:05:51 +0000 (15:05 +0100)]
docker.userguide: Add a note about bar-collectd run without DPDK/RDT

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>
5 years agodocker.userguide: Fix manual grafana and influxdb run commands 99/63699/1
Radoslaw Jablonski [Fri, 12 Oct 2018 14:03:00 +0000 (15:03 +0100)]
docker.userguide: Fix manual grafana and influxdb run commands

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>
5 years agoansible: Set IP address of influxdb for grafana 11/63411/1
Kamil Wiatrowski [Thu, 11 Oct 2018 11:10:06 +0000 (13:10 +0200)]
ansible: Set IP address of influxdb for grafana

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>
5 years agoMerge "docker.userguide: Add chapter for ansible proxy configuration"
Aaron Smith [Wed, 10 Oct 2018 15:54:04 +0000 (15:54 +0000)]
Merge "docker.userguide: Add chapter for ansible proxy configuration"

5 years agoMerge "Updated from global requirements"
Emma Foley [Wed, 10 Oct 2018 15:27:50 +0000 (15:27 +0000)]
Merge "Updated from global requirements"

5 years agodocker.userguide: Add chapter for ansible proxy configuration 55/63355/1
Radoslaw Jablonski [Tue, 9 Oct 2018 09:54:28 +0000 (10:54 +0100)]
docker.userguide: Add chapter for ansible proxy configuration

Change-Id: I0bb2f2af64001de5e029aa49a79f9627a5f405c2
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
5 years agoansible: Add cleanup for grafana cache under host machine 15/63315/1
Radoslaw Jablonski [Mon, 8 Oct 2018 13:43:09 +0000 (14:43 +0100)]
ansible: Add cleanup for grafana cache under host machine

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>
5 years agoansible: Fix custom 'influxdb_host' setting for grafana 13/63313/1
Radoslaw Jablonski [Fri, 5 Oct 2018 13:33:01 +0000 (14:33 +0100)]
ansible: Fix custom 'influxdb_host' setting for grafana

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>
5 years agoUpdated from global requirements 95/63295/2
Cédric Ollivier [Tue, 9 Oct 2018 01:02:20 +0000 (03:02 +0200)]
Updated from global requirements

Change-Id: I6661b7980e417b9544554b789e28fd07b7e4ed7b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "docker.userguide: Fix docker run commands examples"
Aaron Smith [Fri, 5 Oct 2018 11:46:43 +0000 (11:46 +0000)]
Merge "docker.userguide: Fix docker run commands examples"

5 years agoMerge "Add role to auto install docker on hosts - missing patch"
Aaron Smith [Fri, 5 Oct 2018 11:46:31 +0000 (11:46 +0000)]
Merge "Add role to auto install docker on hosts - missing patch"

5 years agoAdd role to auto install docker on hosts - missing patch 25/63125/2
Kamil Wiatrowski [Wed, 3 Oct 2018 12:59:28 +0000 (14:59 +0200)]
Add role to auto install docker on hosts - missing patch

Small updates to ansible roles.
Several minor updates in documentation.

Change-Id: Id031cebc23301b6218f8ced0d261f844f270e37f
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
5 years agodocker.userguide: Fix docker run commands examples 51/63151/1
Radoslaw Jablonski [Fri, 28 Sep 2018 08:43:45 +0000 (09:43 +0100)]
docker.userguide: Fix docker run commands examples

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>
5 years agoAdding support for prometheus using ansible 09/59209/13
John O Loughlin [Thu, 28 Jun 2018 15:01:00 +0000 (16:01 +0100)]
Adding support for prometheus using ansible

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>
5 years agoMerge "WIP: Add role to auto install docker on hosts"
Aaron Smith [Tue, 2 Oct 2018 15:09:34 +0000 (15:09 +0000)]
Merge "WIP: Add role to auto install docker on hosts"

5 years agoWIP: Add role to auto install docker on hosts 75/61575/6
Kamil Wiatrowski [Thu, 7 Jun 2018 04:13:01 +0000 (05:13 +0100)]
WIP: Add role to auto install docker on hosts

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>
5 years agoMerge "Fix that required tests are skipped"
Aaron Smith [Wed, 26 Sep 2018 14:44:58 +0000 (14:44 +0000)]
Merge "Fix that required tests are skipped"

5 years agoFix that required tests are skipped 39/61239/2
Toshiaki Takahashi [Wed, 22 Aug 2018 08:47:30 +0000 (08:47 +0000)]
Fix that required tests are skipped

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>
5 years agoMerge "Local Documentation Builds"
Aaron Smith [Wed, 19 Sep 2018 23:23:26 +0000 (23:23 +0000)]
Merge "Local Documentation Builds"

5 years agoLocal Documentation Builds 63/62463/1
Aric Gardner [Tue, 18 Sep 2018 15:01:48 +0000 (11:01 -0400)]
Local Documentation Builds

    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>
5 years agoFix links to remove references to submodules 41/62341/1
Aric Gardner [Fri, 14 Sep 2018 21:02:53 +0000 (17:02 -0400)]
Fix links to remove references to submodules

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>
5 years agoMerge "Add support for 'collectd-master' container"
Aaron Smith [Mon, 10 Sep 2018 12:01:36 +0000 (12:01 +0000)]
Merge "Add support for 'collectd-master' container"

5 years agoAdd support for 'collectd-master' container 91/61591/2
Radoslaw Jablonski [Fri, 27 Jul 2018 14:32:54 +0000 (15:32 +0100)]
Add support for 'collectd-master' container

'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>
5 years agodocs: Add DMA procedure to Docker userguide 59/61959/1
Toshiaki Takahashi [Thu, 6 Sep 2018 10:37:48 +0000 (10:37 +0000)]
docs: Add DMA procedure to Docker userguide

Change-Id: I61a6a9880f393e764222e508645a60b3f636e02a
Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
5 years agodocker: Add Dockerfile of DMA localagent 57/61957/1
Toshiaki Takahashi [Thu, 6 Sep 2018 10:35:27 +0000 (10:35 +0000)]
docker: Add Dockerfile of DMA localagent

Change-Id: I2e12ee574cc0b1fd5de178b576590ae78ff533c6
Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
5 years agofunctest: Add test code of DMA localagent 55/61955/1
Toshiaki Takahashi [Thu, 6 Sep 2018 10:16:09 +0000 (10:16 +0000)]
functest: Add test code of DMA localagent

Change-Id: If1195b7b3d9000e3ec75bc3c4c108b0e9a1bc9e3
Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
5 years agosrc: Add DMA localagent 53/61953/1
Toshiaki Takahashi [Thu, 6 Sep 2018 09:04:29 +0000 (09:04 +0000)]
src: Add DMA localagent

Change-Id: Ibcee814fbc9a904448eeb368a1a26bbb69cf54aa
Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
5 years agoMerge "Fix for Grafana does not plot the RDT plugin data correctly."
Aaron Smith [Tue, 4 Sep 2018 00:02:46 +0000 (00:02 +0000)]
Merge "Fix for Grafana does not plot the RDT plugin data correctly."

5 years agoUpdate entry_point to conform with Xtesting 17/61717/2
Cédric Ollivier [Sun, 2 Sep 2018 11:45:15 +0000 (13:45 +0200)]
Update entry_point to conform with Xtesting

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>
5 years agoFix for Grafana does not plot the RDT plugin data correctly. 51/61651/1
Kamil Wiatrowski [Tue, 7 Aug 2018 14:14:59 +0000 (16:14 +0200)]
Fix for Grafana does not plot the RDT plugin data correctly.

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>
5 years agoMerge "Enable write_redis plugin for barometer-collectd"
Aaron Smith [Fri, 3 Aug 2018 13:20:24 +0000 (13:20 +0000)]
Merge "Enable write_redis plugin for barometer-collectd"

5 years agoFix test failure condition 71/60171/2
Toshiaki Takahashi [Wed, 25 Jul 2018 09:40:31 +0000 (09:40 +0000)]
Fix test failure condition

* 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>
5 years agoNew repository. puppet-barometer 13/59713/1
Aric Gardner [Wed, 11 Jul 2018 18:22:17 +0000 (14:22 -0400)]
New repository. puppet-barometer

Change-Id: I3a706b9512c270ecb1340db93e2bb4baacab1475
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
5 years agoMerge "docs: update userguide with new option for intel_pmu plugin"
Aaron Smith [Tue, 10 Jul 2018 13:28:31 +0000 (13:28 +0000)]
Merge "docs: update userguide with new option for intel_pmu plugin"

5 years agoMerge "Fix docs"
Aaron Smith [Tue, 10 Jul 2018 12:49:08 +0000 (12:49 +0000)]
Merge "Fix docs"