barometer.git
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 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"

5 years agoEnable write_redis plugin for barometer-collectd 35/59635/2
Tomofumi Hayashi [Tue, 10 Jul 2018 04:58:49 +0000 (13:58 +0900)]
Enable write_redis plugin for barometer-collectd

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>
5 years agoMerge "Disable lvm plugin build"
Aaron Smith [Tue, 19 Jun 2018 18:32:46 +0000 (18:32 +0000)]
Merge "Disable lvm plugin build"

5 years agoDisable lvm plugin build 91/58691/1
TsaLaGi [Tue, 19 Jun 2018 02:03:29 +0000 (22:03 -0400)]
Disable lvm plugin build

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>
5 years agoConfigure collectd to load ipmi before PMU 07/57807/6
John O'Loughlin [Thu, 24 May 2018 09:06:33 +0000 (09:06 +0000)]
Configure collectd to load ipmi before PMU

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>
5 years agoFix docs 45/58545/2
John O Loughlin [Thu, 14 Jun 2018 15:28:45 +0000 (16:28 +0100)]
Fix docs

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>
5 years agodocs: update userguide with new option for intel_pmu plugin 15/58315/2
Kamil Wiatrowski [Tue, 29 May 2018 23:42:08 +0000 (00:42 +0100)]
docs: update userguide with new option for intel_pmu plugin

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>
6 years agoMerge "docs: Updating Compass4nfv installer support in Fraser"
Aaron Smith [Thu, 12 Apr 2018 18:53:29 +0000 (18:53 +0000)]
Merge "docs: Updating Compass4nfv installer support in Fraser"

6 years agoUpdated from global requirements 35/55535/1
Cédric Ollivier [Thu, 12 Apr 2018 07:24:41 +0000 (09:24 +0200)]
Updated from global requirements

Change-Id: Iec6300fbae08a9d924bf9db8b9b9702bc568844b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agodocs: Updating Compass4nfv installer support in Fraser 09/53809/2
ramamani yeleswarapu [Wed, 14 Mar 2018 22:38:30 +0000 (15:38 -0700)]
docs: Updating Compass4nfv installer support in Fraser

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>
6 years agoMerge "Update repo link for collectd-ceilometer-plugin"
Aaron Smith [Tue, 3 Apr 2018 15:51:35 +0000 (15:51 +0000)]
Merge "Update repo link for collectd-ceilometer-plugin"

6 years agoMerge "[functest] Update kernel version check for mcelog"
Aaron Smith [Thu, 29 Mar 2018 15:37:14 +0000 (15:37 +0000)]
Merge "[functest] Update kernel version check for mcelog"

6 years agoMerge "Fix docs for container deployment"
Aaron Smith [Tue, 27 Mar 2018 21:04:52 +0000 (21:04 +0000)]
Merge "Fix docs for container deployment"

6 years agoFix docs for container deployment 19/54319/3
John O Loughlin [Thu, 22 Mar 2018 13:26:48 +0000 (13:26 +0000)]
Fix docs for container deployment

Change-Id: I4a610d8686d758913d73ca684db41616daf391bd
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
6 years ago[functest] Update kernel version check for mcelog 05/54405/3
Emma Foley [Fri, 23 Mar 2018 16:48:42 +0000 (16:48 +0000)]
[functest] Update kernel version check for mcelog

Change-Id: I926d0d03781a98e3509d7f9c4f4eaffc1320919b
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agoUpdate repo link for collectd-ceilometer-plugin 93/41393/6
Emma Foley [Thu, 7 Sep 2017 12:19:38 +0000 (12:19 +0000)]
Update repo link for collectd-ceilometer-plugin

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>
6 years agoMerge "[functest] Skip RDT tests if on a virtual node"
Aaron Smith [Fri, 23 Mar 2018 13:00:59 +0000 (13:00 +0000)]
Merge "[functest] Skip RDT tests if on a virtual node"

6 years agoMerge "[functest] Update tests for Aodh"
Aaron Smith [Fri, 23 Mar 2018 13:00:49 +0000 (13:00 +0000)]
Merge "[functest] Update tests for Aodh"

6 years ago[functest] Skip RDT tests if on a virtual node 37/54337/1
Emma Foley [Thu, 22 Mar 2018 18:09:39 +0000 (18:09 +0000)]
[functest] Skip RDT tests if on a virtual node

* 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>
6 years ago[functest] Update tests for Aodh 05/54205/1
Emma Foley [Tue, 20 Mar 2018 14:33:13 +0000 (14:33 +0000)]
[functest] Update tests for Aodh

* 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>
6 years agoMerge "ansible: add task to copy custom types.db file to targets"
Gordon Kelly [Tue, 20 Mar 2018 09:25:19 +0000 (09:25 +0000)]
Merge "ansible: add task to copy custom types.db file to targets"

6 years agoMerge "[userguide] Update post install verification for Apex"
Aaron Smith [Fri, 16 Mar 2018 18:09:38 +0000 (18:09 +0000)]
Merge "[userguide] Update post install verification for Apex"

6 years agoMerge "[conf] Update the ovs_events config for Apex"
Aaron Smith [Fri, 16 Mar 2018 18:08:52 +0000 (18:08 +0000)]
Merge "[conf] Update the ovs_events config for Apex"

6 years agoMerge "Update functest to fix failing tests"
Aaron Smith [Fri, 16 Mar 2018 18:08:30 +0000 (18:08 +0000)]
Merge "Update functest to fix failing tests"

6 years agoansible: add task to copy custom types.db file to targets 93/53993/4
Gordon Kelly [Fri, 16 Mar 2018 13:18:36 +0000 (13:18 +0000)]
ansible: add task to copy custom types.db file to targets

Change-Id: I0ae30a46d11d53cdc218e38d0b3a852aa5be147d
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years ago[conf] Update the ovs_events config for Apex 05/54005/1
Emma Foley [Fri, 16 Mar 2018 16:07:18 +0000 (16:07 +0000)]
[conf] Update the ovs_events config for Apex

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>
6 years agoMerge "ansible: break task to copy additional config files to own file"
Gordon Kelly [Fri, 16 Mar 2018 15:19:03 +0000 (15:19 +0000)]
Merge "ansible: break task to copy additional config files to own file"

6 years ago[userguide] Update post install verification for Apex 77/53977/1
Emma Foley [Fri, 16 Mar 2018 11:20:36 +0000 (11:20 +0000)]
[userguide] Update post install verification for Apex

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>
6 years agoansible: break task to copy additional config files to own file 71/53971/2
Gordon Kelly [Fri, 16 Mar 2018 10:16:55 +0000 (10:16 +0000)]
ansible: break task to copy additional config files to own file

Change-Id: Iffba385bd8e565459288f95eadf8a52bb6cc0084
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years agoansible:Put plugins in alphabetical order and fix swap plugin config path 95/53895/2
Gordon Kelly [Thu, 15 Mar 2018 15:56:29 +0000 (15:56 +0000)]
ansible:Put plugins in alphabetical order and fix swap plugin config path

Change-Id: Ie146e0ac9ad5e8bc1721b51e4e5112db51462854
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years agoUpdate functest to fix failing tests 07/53907/1
Emma Foley [Thu, 15 Mar 2018 21:46:37 +0000 (21:46 +0000)]
Update functest to fix failing tests

* 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>
6 years agoUpdate collectd-gnocchi conf for DEFAULT_ARCHIVE_POLICY 69/53869/1
Emma Foley [Thu, 15 Mar 2018 10:35:46 +0000 (10:35 +0000)]
Update collectd-gnocchi conf for DEFAULT_ARCHIVE_POLICY

* 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>
6 years agoClean up barometer-collectd Dockerfile 93/53693/3
Leif Madsen [Tue, 13 Mar 2018 15:07:33 +0000 (11:07 -0400)]
Clean up barometer-collectd Dockerfile

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>
6 years agoFixing the if/else logic in baro_tests/ mcelog_install() 43/53443/4
Sharada Shiddibhavi [Sat, 10 Mar 2018 00:22:27 +0000 (00:22 +0000)]
Fixing the if/else logic in baro_tests/ mcelog_install()

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>