barometer.git
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 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>
6 years agoMerge "Auto Generated INFO.yaml file"
Aaron Smith [Mon, 5 Mar 2018 22:14:29 +0000 (22:14 +0000)]
Merge "Auto Generated INFO.yaml file"

6 years agoMerge "Switch from openstack.creds to the new env_file"
Aaron Smith [Mon, 5 Mar 2018 16:11:24 +0000 (16:11 +0000)]
Merge "Switch from openstack.creds to the new env_file"

6 years agoMerge "Switch to Xtesting"
Aaron Smith [Mon, 5 Mar 2018 16:10:59 +0000 (16:10 +0000)]
Merge "Switch to Xtesting"

6 years agoansible: add checks to ensure all ipmi dependancies are met 87/52887/4
Gordon Kelly [Thu, 1 Mar 2018 01:36:20 +0000 (01:36 +0000)]
ansible: add checks to ensure all ipmi dependancies are met

Change-Id: I342016af10a1ed3a11364bda7bd7a563882fafbd
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years agoMerge "ansible: add functionality to copy custom config files to target node"
Gordon Kelly [Fri, 2 Mar 2018 15:17:22 +0000 (15:17 +0000)]
Merge "ansible: add functionality to copy custom config files to target node"

6 years agoansible: add functionality to copy custom config files to target node 79/52879/2
Gordon Kelly [Wed, 28 Feb 2018 22:51:48 +0000 (22:51 +0000)]
ansible: add functionality to copy custom config files to target node

Change-Id: I6e7cb3e0923495e236b74444b1da3f4450122d02
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years agoSwitch from openstack.creds to the new env_file 77/52977/1
Cédric Ollivier [Fri, 2 Mar 2018 08:24:48 +0000 (09:24 +0100)]
Switch from openstack.creds to the new env_file

This file was renamed to avoid linking Kubernetes testcases to
OpenStack credentials.

This patch is mandatory for gating.

Change-Id: I6b4e7e83d6dfc8cf1d60bf016ef258a273156ffe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSwitch to Xtesting 75/52975/1
Cédric Ollivier [Fri, 2 Mar 2018 08:22:50 +0000 (09:22 +0100)]
Switch to Xtesting

It inherits from xtesting.core.feature [1].

[1] http://xtesting.readthedocs.io/en/latest/apidoc/xtesting.core.feature.html

Change-Id: Ib547aa60d9b8bf61ab5433496d7149a43355d08c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoansible: add roles to launch ves and kafka containers 77/52877/1
Gordon Kelly [Wed, 28 Feb 2018 21:35:13 +0000 (21:35 +0000)]
ansible: add roles to launch ves and kafka containers

Change-Id: Ida03c47bbe94600b034c95bd0d795e62c253303c
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years agoMerge "docker: add Dockerfile for barometer-snmp"
Gordon Kelly [Wed, 28 Feb 2018 21:27:51 +0000 (21:27 +0000)]
Merge "docker: add Dockerfile for barometer-snmp"

6 years agoMerge "ansible: add roles to launch collectd, influxdb and grafana containers"
Gordon Kelly [Wed, 28 Feb 2018 21:27:36 +0000 (21:27 +0000)]
Merge "ansible: add roles to launch collectd, influxdb and grafana containers"

6 years agoansible: add roles to launch collectd, influxdb and grafana containers 75/52875/1
Gordon Kelly [Wed, 28 Feb 2018 21:17:34 +0000 (21:17 +0000)]
ansible: add roles to launch collectd, influxdb and grafana containers

Change-Id: I330172a2165e51a1557f084fd85fce12dfaad3a7
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years agoMerge "Fix syntax error in baro_test/collectd.py:mcelog_install"
Calin Gherghe [Wed, 28 Feb 2018 18:43:03 +0000 (18:43 +0000)]
Merge "Fix syntax error in baro_test/collectd.py:mcelog_install"

6 years agoRevert "Merge conflict" 33/52833/1
Aaron Smith [Wed, 28 Feb 2018 14:24:35 +0000 (14:24 +0000)]
Revert "Merge conflict"

This reverts commit 7f4ef61d68c3ed96759f3553b2793e0ce6a7e4a5.

Change-Id: I0ac115a5e6dfbc53051ed7ee6ae0ceb72a8128af
Signed-off-by: TsaLaGi <aasmith@redhat.com>
6 years agoFix syntax error in baro_test/collectd.py:mcelog_install 75/52775/1
Emma Foley [Tue, 27 Feb 2018 18:07:08 +0000 (18:07 +0000)]
Fix syntax error in baro_test/collectd.py:mcelog_install

The version of CentOS that's used no longer matches the version that
is explicitly checked in collectd.py:mcelog_install.

As a result the code on L637-L642[1] is now being called.
This code was syntactically incorrect, however, was previously not being
called, witht eh update to the version, it is now being executed and
causing failures in deployment [2].

[1] https://github.com/opnfv/barometer/blob/c10400426df872be3236677dcb749c755f4a559c/baro_tests/collectd.py#L637-L642
[2] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-master/809/consoleText

Change-Id: I35274d4ede17510c3ae03c756eda7bc9f78b4e17
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agoMerge conflict 69/52769/1
TsaLaGi [Tue, 27 Feb 2018 14:17:38 +0000 (09:17 -0500)]
Merge conflict

Revert "Merge "ansible: add ansible scripts to configure .conf file on collectd nodes""

This reverts commit 7effd9e1e84dd7fa2a189a0815b5be1c0fcb165a, reversing
changes made to b26034d05aa81f624e9bcee2c8e82a1cacfe44c4.

Change-Id: I6f77b4432bbe0de29db3e099263e461e3043b22e
Signed-off-by: TsaLaGi <aasmith@redhat.com>
6 years agoMerge "ansible: add ansible scripts to configure .conf file on collectd nodes"
Aaron Smith [Fri, 23 Feb 2018 22:02:03 +0000 (22:02 +0000)]
Merge "ansible: add ansible scripts to configure .conf file on collectd nodes"

6 years agoansible: add ansible scripts to configure .conf file on collectd nodes 85/52185/9
Gordon Kelly [Thu, 15 Feb 2018 09:40:44 +0000 (09:40 +0000)]
ansible: add ansible scripts to configure .conf file on collectd nodes

Change-Id: I7349582f7412088f4d303ca52eabf40afea3f5fe
Signed-off-by: gordonkelly <gordon.kelly@intel.com>
6 years agodocker: add Dockerfile for barometer-snmp 55/52355/2
Gordon Kelly [Tue, 20 Feb 2018 11:58:02 +0000 (11:58 +0000)]
docker: add Dockerfile for barometer-snmp

Change-Id: I0e53dc5c9889c3f503ab4459aae8143243959c17
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years agoUpdate mcelog.conf.erb template 65/52465/1
Emma Foley [Thu, 22 Feb 2018 17:59:05 +0000 (17:59 +0000)]
Update mcelog.conf.erb template

The <Memory> tag is required for MCELog.
This was not updated in the puppet templates used by Apex.

Co-Authored-By: Aaron Smith <aasmith@redhat.com>
Co-Authored-By: Gordon Kelly <gordon.kelly@intel.com>
Change-Id: I6b0793b33099ef448316b9abcd4f0293d7518e29
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agoMerge "docs: update userguide with zookeeper instance tags and fix typos"
Aaron Smith [Thu, 22 Feb 2018 13:58:31 +0000 (13:58 +0000)]
Merge "docs: update userguide with zookeeper instance tags and fix typos"

6 years agoMerge "docker: add command to run run_collectd script on bring up"
Aaron Smith [Thu, 22 Feb 2018 13:53:11 +0000 (13:53 +0000)]
Merge "docker: add command to run run_collectd script on bring up"

6 years agodocs: update userguide with zookeeper instance tags and fix typos 01/52401/1
Gordon Kelly [Wed, 21 Feb 2018 13:18:15 +0000 (13:18 +0000)]
docs: update userguide with zookeeper instance tags and fix typos

Change-Id: I916f6e9388a7ac25ff0b5631ec49fa25157c909f
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years agocompose: modify zookeeper tag and add container names 97/52397/2
Gordon Kelly [Wed, 21 Feb 2018 12:22:09 +0000 (12:22 +0000)]
compose: modify zookeeper tag and add container names

Change-Id: I676940bb0d5c7d9e181d27b15130e6ec4a4ececd
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years agodocker: add command to run run_collectd script on bring up 95/52395/1
Gordon Kelly [Wed, 21 Feb 2018 10:50:01 +0000 (10:50 +0000)]
docker: add command to run run_collectd script on bring up

Change-Id: I509ee90f29115171e65b77dbba3081ae69aa0c8c
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
6 years agodocs: update PMU documentation 79/51979/2
Maryam Tahhan [Sat, 10 Feb 2018 10:00:07 +0000 (10:00 +0000)]
docs: update PMU documentation

Change-Id: Ib6256df8a7911aa43d86026d6c40d99ba98c971a
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
6 years agoAuto Generated INFO.yaml file 29/51529/2
agardner [Fri, 2 Feb 2018 22:18:39 +0000 (17:18 -0500)]
Auto Generated INFO.yaml file

INFO.yaml meant to be machine readable.
This file was auto generated from an ldap lookup
and your projects INFO file.

Meeting times are not currently filled out.
please ammend this patchset to complete

Going forward comitter promotions should be done
against this file.

PTLs:
Must be merged for you to gain delete access on
testresults.opnfv.org

Change-Id: Ia3bd90b129b0691f1d6b51e3daec66966d0f3d15
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agodocs: update docker userguide with steps for VES and Kafka docker images 01/51201/2
Gordon Kelly [Fri, 26 Jan 2018 13:47:55 +0000 (13:47 +0000)]
docs: update docker userguide with steps for VES and Kafka docker images

Change-Id: I1b5a5112afe6771c5f31c56ffc856aef3450fec6
Signed-off-by: gordonkelly <gordon.kelly@intel.com>
6 years agoMerge "ci: build 5.8.0 packages for Apex"
Aaron Smith [Thu, 25 Jan 2018 12:13:55 +0000 (12:13 +0000)]
Merge "ci: build 5.8.0 packages for Apex"

6 years agoci: build 5.8.0 packages for Apex 19/51119/4
Maryam Tahhan [Thu, 25 Jan 2018 10:26:13 +0000 (10:26 +0000)]
ci: build 5.8.0 packages for Apex

Change-Id: Iee1ed3e9a1d7b744a0fb94a8d031588db2b2dea2
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
6 years agodocs: update docker userguide for running docker compose files 95/50995/7
Gordon Kelly [Tue, 23 Jan 2018 14:54:09 +0000 (14:54 +0000)]
docs: update docker userguide for running docker compose files

Change-Id: Ib41d6d475506ff3920bb914aeebf9dca4070fa8c
Signed-off-by: gordonkelly <gordon.kelly@intel.com>
6 years agodocker: add docker-compose files for running barometer-images 99/50599/5
Gordon Kelly [Sun, 14 Jan 2018 20:26:13 +0000 (20:26 +0000)]
docker: add docker-compose files for running barometer-images

Change-Id: Ia02aa8d64ecb0306e0611d2dc76594bee86b0f43
Signed-off-by: gordonkelly <gordon.kelly@intel.com>
6 years agodocker: update ves image to load yaml and config files 51/50851/3
Gordon Kelly [Fri, 19 Jan 2018 16:13:45 +0000 (16:13 +0000)]
docker: update ves image to load yaml and config files

Update ves image to load yaml and config files from /opt/ves/ directory
and rename host yaml file.

Change-Id: I3caf51150d10db08b8ef1c20a53c320b27a6acb8
Signed-off-by: gordonkelly <gordon.kelly@intel.com>