This adds the ability to substitute fluentd for logstash for ELK stack deployments. This is a seamless substitution, but logstash is still the default if no options are changed. Rsyslog will be utilized instead of the official Filebeat logstash forwarder. To use fluentd instead of logstash change the following parameter in install/group_vars/all.yml: logging_backend: fluentd In addition, the following enhancements were made: * All service ports are now configurable * Firewall ports are now configurable Documentation updates can be viewed here: http://rst.ninjs.org/?n=aa3ea354e28f4ef11d2a03344d8c34be&theme=basic Patchset #2: clean up commit message character length. Patchset #3: explicitly state logstash is the default Patchset #4: clean up browbeat install instructions Patchset #5: add /etc/rsyslog.d/openstack-logs.conf that will pickup common openstack logs in /var/log/* Change-Id: Ife928c1f6699e0c675d44e857ccb6aaff165752d
154 lines
4.5 KiB
YAML
154 lines
4.5 KiB
YAML
---
|
|
|
|
# OpenStack Installer
|
|
tripleo: true
|
|
|
|
browbeat_path: /home/stack/browbeat
|
|
home_dir: /home/stack
|
|
|
|
# Login user for the remote hosts
|
|
host_remote_user: heat-admin
|
|
# Login user for the local/jump machine
|
|
local_remote_user: stack
|
|
|
|
# The Overcloud RC file
|
|
overcloudrc: /home/stack/overcloudrc
|
|
|
|
# The default Browbeat venv
|
|
browbeat_venv: /home/stack/browbeat-venv
|
|
|
|
# The default Rally venv
|
|
rally_venv: /home/stack/rally-venv
|
|
|
|
# The default Shaker venv
|
|
shaker_venv: /home/stack/shaker-venv
|
|
|
|
# The default PerfKit venv:
|
|
perfkit_venv: /home/stack/perfkit-venv
|
|
|
|
# Guest images for the Overcloud
|
|
images:
|
|
centos7:
|
|
url: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
|
|
cirros:
|
|
url: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
|
|
|
|
# DNS Server to add
|
|
dns_server: 8.8.8.8
|
|
|
|
# epel7 rpm for collectd packages
|
|
epel7_rpm: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
|
|
|
# Host where connmond will be running
|
|
connmon_host: 192.0.2.1
|
|
|
|
########################################
|
|
# Collectd Configuration
|
|
########################################
|
|
# Interval in seconds
|
|
collectd_interval: 10
|
|
# Run collectd on specific openstack nodes:
|
|
collectd_undercloud: true
|
|
collectd_controller: true
|
|
collectd_ceph: true
|
|
collectd_compute: false
|
|
|
|
########################################
|
|
# Docker related
|
|
# (use these if deploying graphite/carbon/grafana as containers)
|
|
########################################
|
|
persistent_carbon_data_path: /data/carbon/whisper
|
|
persistent_grafana_data_path: /data/grafana
|
|
docker_carbon_cache_port: 2003
|
|
docker_graphite_port: 8888
|
|
docker_grafana_port: 3000
|
|
carbon_cache_docker_image: kambiz/carbon-cache:0.9.15
|
|
graphite_web_docker_image: kambiz/graphite-web:0.9.15
|
|
grafana_docker_image: grafana/grafana:2.6.0
|
|
|
|
########################################
|
|
# Graphite Configuration
|
|
########################################
|
|
# Graphite Server ip address (Collectd -> Graphite server)
|
|
# you must fill out graphite_host prior to playbook execution
|
|
graphite_host:
|
|
graphite_port: 80
|
|
# Graphite prefix / Cloud name used both with graphite and grafana dashboards
|
|
graphite_prefix: openstack
|
|
# Graphite username and password for login on the dashboard
|
|
graphite_username: root
|
|
graphite_password: calvin
|
|
|
|
########################################
|
|
# Grafana Dashboarding Configuration
|
|
########################################
|
|
# Grafana Server IP Address/Port (Can be hosted on the Graphite server)
|
|
# you must fill out grafana_host prior to playbook execution
|
|
grafana_host:
|
|
grafana_port: 3000
|
|
grafana_username: admin
|
|
grafana_password: admin
|
|
# Batch number of hosts per row for all-{cpu, memory, disk, network} openstack dashboards
|
|
dashboards_batch: 20
|
|
# For use with all-{cpu, memory, disk, network} openstack dashboards, uses the graphite prefix to create dashboards for specific openstack cloud
|
|
dashboard_cloud_name: "{{graphite_prefix}}"
|
|
|
|
########################################
|
|
# Shaker Configuration
|
|
########################################
|
|
# Port for Shaker (5555 should suffice)
|
|
shaker_port: 5555
|
|
# Should choose m1.small or larger
|
|
shaker_flavor: m1.small
|
|
# Shaker centos image builder template
|
|
shaker_centos: "{{shaker_venv}}/lib/python2.7/site-packages/shaker/resources/image_builder_templates/centos.yaml"
|
|
shaker_region: regionOne
|
|
|
|
########################################
|
|
# Browbeat Network Configuration
|
|
########################################
|
|
# Public network that perfkit and shaker utilize
|
|
browbeat_pub_net_name: browbeat_public
|
|
browbeat_pub_subnet: 1.1.1.1/22
|
|
browbeat_pub_pool_start: 1.1.1.1
|
|
browbeat_pub_pool_end: 1.1.1.1
|
|
browbeat_pub_pool_gw: 1.1.1.1
|
|
# Private subnet
|
|
browbeat_pri_net_name: browbeat_private
|
|
browbeat_pri_subnet: 172.16.10.0/24
|
|
browbeat_pri_pool_start: 172.16.10.2
|
|
browbeat_pri_pool_end: 172.16.10.100
|
|
browbeat_pri_pool_gw: 172.16.10.1
|
|
browbeat_pri_pool_dns: 8.8.8.8
|
|
|
|
browbeat_router_name: browbeat_router
|
|
|
|
########################################
|
|
# ELK Server Variables
|
|
########################################
|
|
### nginx ###
|
|
# add nonstandard port here for undercloud usage
|
|
# usage: port nginx listens to reverse-proxy Kibana
|
|
# e.g. 8888
|
|
nginx_kibana_port: 80
|
|
#
|
|
# usage: port filebeat client grabs the client SSL certificate
|
|
# e.g. 9999
|
|
elk_server_ssl_cert_port: 8080
|
|
#
|
|
### logging backend ###
|
|
# you can pick between logstash or fluentd
|
|
# if left empty logstash will be used
|
|
### accepted options ###
|
|
# logging_backend:
|
|
# logging_backend: logstash
|
|
# logging_backend: fluentd
|
|
logging_backend:
|
|
#
|
|
### logstash options ###
|
|
logstash_syslog_port: 5044
|
|
### fluentd options ###
|
|
fluentd_syslog_port: 42185
|
|
fluentd_http_port: 9919
|
|
fluentd_debug_port: 24230
|