Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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>
|
|
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>
|
|
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>
|
|
|
|
examples"
|
|
Build dpdk plugins in collectd container.
Change-Id: Ifdca827a419d6d3d4d9c6070d3a581372df8a2f9
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
|
|
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
|
|
|
|
fixed INFO"
|
|
fixed INFO
Change-Id: I5368b2bd519376212af8719a58ac325b38b8c235
Signed-off-by: Aaron Smith <aasmith@redhat.com>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Change-Id: Ibd87a721ba299f02db22723cb663c4ed513cd1fb
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I7633e98af0fb58baad08a3761742f5f1e2a0e917
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
|
|
Update of default grafana dashboards.
Change-Id: I049001c982c19500d367bcaf467a9c614605792a
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
Change-Id: I0bb2f2af64001de5e029aa49a79f9627a5f405c2
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
|
|
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>
|
|
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>
|
|
Change-Id: I6661b7980e417b9544554b789e28fd07b7e4ed7b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
|
|
Small updates to ansible roles.
Several minor updates in documentation.
Change-Id: Id031cebc23301b6218f8ced0d261f844f270e37f
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
|
|
'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>
|
|
Change-Id: I61a6a9880f393e764222e508645a60b3f636e02a
Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
|