summaryrefslogtreecommitdiffstats
path: root/docker/ansible
AgeCommit message (Collapse)AuthorFilesLines
2020-02-07Temperarily disable SNMP in one click installopnfv-9.0.0stable/iruyaEmma Foley1-1/+1
SNMP config has been causing the one click install to fail. Disabling it temperorily so that it doesn't block Iruya release JIRA: BAROMETER-134 Change-Id: Ia7944eb6461497c0cd17a2f7ba5b2c2018ffd2a2 Signed-off-by: Emma Foley <efoley@redhat.com> (cherry picked from commit e1831ecb1a0c0803a39c297b2a0c11633ef45e6d)
2019-11-07Format change to align with Influxdb_hostsjabirkkclt1-1/+1
Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: Ie368f2d32ce1291036f6fff95cd13b0dbdeced24
2019-11-06Added a comment under grafana_hosts to convey that Influxdb and Grafana ↵jabirkkclt1-0/+1
should be same host. Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: I82732de3eacd7abda5d63059d988452e8141201b
2019-10-02Update ansible scripts to use py3 for Ubuntu and FedoraEmma Foley3-4/+60
Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: Ia62933a4b824f1280a693fc8004d29c67dc5e2ac
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-07barometer: update conf filesKamil Wiatrowski1-1/+2
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-04-10ansible: update docker userguide for collectd_vesKamil Wiatrowski1-1/+1
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-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-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-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-09Merge "Add support for multi influx hosts"Aaron Smith4-11/+32
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-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-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-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-05Merge "Add role to auto install docker on hosts - missing patch"Aaron Smith3-3/+8
2018-10-04Add role to auto install docker on hosts - missing patchKamil Wiatrowski3-3/+8
Small updates to ansible roles. Several minor updates in documentation. Change-Id: Id031cebc23301b6218f8ced0d261f844f270e37f Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-03Adding support for prometheus using ansibleJohn O Loughlin8-0/+148
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-09-28WIP: Add role to auto install docker on hostsKamil Wiatrowski16-34/+316
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-08-31Fix for Grafana does not plot the RDT plugin data correctly.Kamil Wiatrowski1-1/+1
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>
2018-06-18Configure collectd to load ipmi before PMUJohn O'Loughlin1-1/+1
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>
2018-03-16ansible: add task to copy custom types.db file to targetsGordon Kelly3-0/+28
Change-Id: I0ae30a46d11d53cdc218e38d0b3a852aa5be147d Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-16Merge "ansible: break task to copy additional config files to own file"Gordon Kelly2-9/+25
2018-03-16ansible: break task to copy additional config files to own fileGordon Kelly2-9/+25
Change-Id: Iffba385bd8e565459288f95eadf8a52bb6cc0084 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-16ansible:Put plugins in alphabetical order and fix swap plugin config pathGordon Kelly1-42/+41
Change-Id: Ie146e0ac9ad5e8bc1721b51e4e5112db51462854 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-02ansible: add checks to ensure all ipmi dependancies are metGordon Kelly5-10/+93
Change-Id: I342016af10a1ed3a11364bda7bd7a563882fafbd Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-02Merge "ansible: add functionality to copy custom config files to target node"Gordon Kelly2-0/+14
2018-03-02ansible: add functionality to copy custom config files to target nodeGordon Kelly2-0/+14
Change-Id: I6e7cb3e0923495e236b74444b1da3f4450122d02 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-02-28ansible: add roles to launch ves and kafka containersGordon Kelly4-0/+142
Change-Id: Ida03c47bbe94600b034c95bd0d795e62c253303c Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-02-28ansible: add roles to launch collectd, influxdb and grafana containersGordon Kelly5-0/+191
Change-Id: I330172a2165e51a1557f084fd85fce12dfaad3a7 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-02-28Revert "Merge conflict"Aaron Smith35-0/+1922
This reverts commit 7f4ef61d68c3ed96759f3553b2793e0ce6a7e4a5. Change-Id: I0ac115a5e6dfbc53051ed7ee6ae0ceb72a8128af Signed-off-by: TsaLaGi <aasmith@redhat.com>
2018-02-27Merge conflictTsaLaGi35-1922/+0
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>
2018-02-23ansible: add ansible scripts to configure .conf file on collectd nodesGordon Kelly35-0/+1922
Change-Id: I7349582f7412088f4d303ca52eabf40afea3f5fe Signed-off-by: gordonkelly <gordon.kelly@intel.com>