aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
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>
2018-10-25docker.userguide: Add link to VES collector setup instructionsRadoslaw Jablonski2-0/+8
Change-Id: I7633e98af0fb58baad08a3761742f5f1e2a0e917 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-10-19dashboards: update and fix grafana dashboardsKamil Wiatrowski10-13031/+7411
Update of default grafana dashboards. Change-Id: I049001c982c19500d367bcaf467a9c614605792a Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-19docker.userguide: Add a note about bar-collectd run without DPDK/RDTRadoslaw Jablonski1-2/+19
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>
2018-10-18docker.userguide: Fix manual grafana and influxdb run commandsRadoslaw Jablonski1-5/+8
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>
2018-10-11ansible: Set IP address of influxdb for grafanaKamil Wiatrowski2-8/+5
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>
2018-10-10Merge "docker.userguide: Add chapter for ansible proxy configuration"Aaron Smith1-2/+63
2018-10-10Merge "Updated from global requirements"Emma Foley1-3/+3
2018-10-09docker.userguide: Add chapter for ansible proxy configurationRadoslaw Jablonski1-2/+63
Change-Id: I0bb2f2af64001de5e029aa49a79f9627a5f405c2 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-10-09ansible: Add cleanup for grafana cache under host machineRadoslaw Jablonski1-0/+6
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>
2018-10-09ansible: Fix custom 'influxdb_host' setting for grafanaRadoslaw Jablonski1-2/+5
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>
2018-10-09Updated from global requirementsCédric Ollivier1-3/+3
Change-Id: I6661b7980e417b9544554b789e28fd07b7e4ed7b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-05Merge "docker.userguide: Fix docker run commands examples"Aaron Smith1-7/+18
2018-10-05Merge "Add role to auto install docker on hosts - missing patch"Aaron Smith4-14/+50
2018-10-04Add role to auto install docker on hosts - missing patchKamil Wiatrowski4-14/+50
Small updates to ansible roles. Several minor updates in documentation. Change-Id: Id031cebc23301b6218f8ced0d261f844f270e37f Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-04docker.userguide: Fix docker run commands examplesRadoslaw Jablonski1-7/+18
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>
2018-10-03Adding support for prometheus using ansibleJohn O Loughlin9-0/+151
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>
2018-10-02Merge "WIP: Add role to auto install docker on hosts"Aaron Smith17-34/+525
2018-09-28WIP: Add role to auto install docker on hostsKamil Wiatrowski17-34/+525
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>
2018-09-26Merge "Fix that required tests are skipped"Aaron Smith1-4/+4
2018-09-25Fix that required tests are skippedToshiaki Takahashi1-4/+4
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>