aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-07-04[docs][install] Split the docker and ansible install guidesEmma Foley3-326/+348
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>
2019-06-19Updated the typo in diagrams for 3 modes of VES Operations.jabirkkclt3-0/+0
Change-Id: If197bf24f8b834a81f21aa99b2d89b7b70ffad54 Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com>
2019-05-09Merge "ansible: add variable to select collectd container"Matthias Runge8-4/+534
2019-05-08docker.userguide: Add info about collectd master & experimental containersKamil Wiatrowski1-11/+129
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>
2019-05-08ansible: add variable to select collectd containerKamil Wiatrowski8-4/+534
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>
2019-05-08Merge "docker: Add support for experimental collectd container"Matthias Runge9-17/+192
2019-05-07barometer: update conf filesKamil Wiatrowski3-1/+42
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>
2019-05-07docker: Add support for experimental collectd containerKamil Wiatrowski9-17/+192
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>
2019-04-27barometer: update DMA's vendoring packagesTomofumi Hayashi188-1999/+166898
Change-Id: I0578b094f1ecdaed20c906be2ba29d51b8089d7c Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2019-04-10ansible: update docker userguide for collectd_vesKamil Wiatrowski2-18/+22
Change-Id: I54a2d46b8acecea6f6278f130d7567acc813c324 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2019-04-03ansible: Add zookeeper to one click installKamil Wiatrowski4-4/+55
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>
2019-03-21ansible-kafka: Fix zookeeper_host_ip valueRadoslaw Jablonski1-1/+1
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>
2019-01-31Merge "Fix wrong image name in test code"Matthias Runge5-60/+60
2019-01-24Merge "Add git installation to docker guide"Matthias Runge1-0/+1
2019-01-22Add git installation to docker guideopnfv-8.1.0stable/hunterMatthias Runge1-0/+1
Change-Id: I1e94ddaa7b877adacd874d3c2b02ea5939892dcc Signed-off-by: Matthias Runge <mrunge@redhat.com>
2019-01-18Fix wrong image name in test codeToshiaki Takahashi5-60/+60
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>
2019-01-15Merge "Fix anteater issues of baro_tests"Matthias Runge5-12/+21
2019-01-10ansible: install mcelog from sources on Ubuntu 18.04Kamil Wiatrowski2-0/+49
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>
2018-12-25Fix anteater issues of baro_testsToshiaki Takahashi5-12/+21
* 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>
2018-12-12docker.userguide: Add note about 'python' dependency in multi node setupRadoslaw Jablonski1-0/+6
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>
2018-12-11Update docker userguide: dpdk pluginsKamil Wiatrowski1-2/+5
Add dpdk plugins to description of ansible installation. Change-Id: I89e8ec6c0918455dd4df5d086fbc2475200054ce Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-12-11Merge "docker.userguide: Fix instruction for installing ansible"Matthias Runge1-2/+2
2018-12-11Merge "docker.userguide: Fix ansible-playbook instruction for non-root user"Matthias Runge1-1/+1
2018-12-11Merge "Add support for dpdk events and stat to ansible installation"Matthias Runge4-0/+92
2018-12-10docker.userguide: Fix instruction for installing ansibleRadoslaw Jablonski1-2/+2
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>
2018-12-07docker.userguide: Fix ansible-playbook instruction for non-root userRadoslaw Jablonski1-1/+1
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>
2018-12-04docker.userguide: Add chapter about cleanup influxdb/grafanaRadoslaw Jablonski1-0/+24
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>
2018-12-03Add support for dpdk events and stat to ansible installationKamil Wiatrowski4-0/+92
Add dpdk plugins to ansible installation with default configuration. Change-Id: I1f7949962aff5119141b5712bb6b32db8f45b287 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-11-27docker.userguide: Add info about using influxdb in multi-node setupRadoslaw Jablonski1-0/+52
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>
2018-11-23Merge "barometer-collectd: Add support for DPDK in container"Matthias Runge5-0/+14
2018-11-23Merge "docker.userguide: Add --network=host option for manual docker build ↵Matthias Runge1-2/+2
examples"
2018-11-22barometer-collectd: Add support for DPDK in containerKamil Wiatrowski5-0/+14
Build dpdk plugins in collectd container. Change-Id: Ifdca827a419d6d3d4d9c6070d3a581372df8a2f9 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-11-21default.inv: Add note about problems with mixing hostnames/IP addressesRadoslaw Jablonski1-0/+9
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
2018-11-21Merge "docker.userguide: Fix instruction for copying ssh keys"Matthias Runge1-1/+2
2018-11-20Merge "Committers please vote +2/-2 for PTL nomination of Matthias Runge ↵Aaron Smith2-5/+10
fixed INFO"
2018-11-20Committers please vote +2/-2 for PTL nomination of Matthias RungeAaron Smith2-5/+10
fixed INFO Change-Id: I5368b2bd519376212af8719a58ac325b38b8c235 Signed-off-by: Aaron Smith <aasmith@redhat.com>
2018-11-16docker.userguide: Add --network=host option for manual docker build examplesRadoslaw Jablonski1-2/+2
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>
2018-11-15docker.userguide: Fix instruction for copying ssh keysRadoslaw Jablonski1-1/+2
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>
2018-11-10Fix DMA docker image url in docker userguideYuki Kasuya1-13/+13
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>
2018-11-09Merge "docker.userguide: Add a note about bar-collectd run without DPDK/RDT"Aaron Smith1-2/+19
2018-11-09Merge "Add support for multi influx hosts"Aaron Smith4-11/+32
2018-11-09Merge "Add 'prometheus_hosts' example definition to default.inv"Aaron Smith1-0/+3
2018-11-09Merge "docker.userguide: Fix manual grafana and influxdb run commands"Aaron Smith1-5/+8
2018-11-09Merge "src, docker: Change pkg import path of DMA"Aaron Smith3-8/+6
2018-11-09Merge "docker.userguide: Remove 'docker-compose' chapter"Aaron Smith1-80/+3
2018-11-09Merge "docker.userguide: Add link to VES collector setup instructions"Aaron Smith2-0/+8
2018-11-07Add 'prometheus_hosts' example definition to default.invRadoslaw Jablonski1-0/+3
Change-Id: Ibd87a721ba299f02db22723cb663c4ed513cd1fb Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-11-02src, docker: Change pkg import path of DMAToshiaki Takahashi3-8/+6
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>
2018-10-31Add support for multi influx hostsJohn O Loughlin4-11/+32
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>
2018-10-30docker.userguide: Remove 'docker-compose' chapterRadoslaw Jablonski1-80/+3
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>