Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
|
|
|
|
Change-Id: I1e94ddaa7b877adacd874d3c2b02ea5939892dcc
Signed-off-by: Matthias Runge <mrunge@redhat.com>
|
|
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>
|
|
|
|
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>
|
|
* 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>
|
|
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>
|
|
Add dpdk plugins to description of ansible installation.
Change-Id: I89e8ec6c0918455dd4df5d086fbc2475200054ce
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
|
|
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
Add dpdk plugins to ansible installation with default
configuration.
Change-Id: I1f7949962aff5119141b5712bb6b32db8f45b287
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@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>
|