Add fluentd params to pike ovs
Not so long ago LMA start to use fluentd,
so need to add it into models to be possible to test it
Change-Id: I5bb55ffd005e5af49e39c6d8d88d3e4e7fc96727
Related: PROD-17888
diff --git a/classes/cluster/virtual-mcp-pike-dvr/.env b/classes/cluster/virtual-mcp-pike-dvr/.env
new file mode 100644
index 0000000..d2e169a
--- /dev/null
+++ b/classes/cluster/virtual-mcp-pike-dvr/.env
@@ -0,0 +1 @@
+EXTRA_FORMULAS="ntp sphinx nginx heka grafana rsyslog prometheus telegraf memcached collectd fluentd"
diff --git a/classes/cluster/virtual-mcp-pike-dvr/init.yml b/classes/cluster/virtual-mcp-pike-dvr/init.yml
index adc2b2e..bb497ac 100644
--- a/classes/cluster/virtual-mcp-pike-dvr/init.yml
+++ b/classes/cluster/virtual-mcp-pike-dvr/init.yml
@@ -1,10 +1,14 @@
classes:
- system.linux.network.dynamic_hosts
- service.grafana.collector
-- system.heka.log_collector.single
-- system.heka.log_collector.output.telegraf
+- system.fluentd
+- system.fluentd.label.default_metric
+- system.fluentd.label.default_metric.prometheus
+- system.fluentd.label.default_output.elasticsearch
+- system.fluentd.label.default_output.drop_event
- system.linux.system.repo.mcp.extra
- system.linux.system.single
+- system.linux.system.repo.mcp.apt_mirantis.fluentd
- system.rsyslog.client.single
- system.prometheus.collector
- system.telegraf.agent
diff --git a/classes/cluster/virtual-mcp-pike-dvr/openstack/init.yml b/classes/cluster/virtual-mcp-pike-dvr/openstack/init.yml
index 731ec40..370626d 100644
--- a/classes/cluster/virtual-mcp-pike-dvr/openstack/init.yml
+++ b/classes/cluster/virtual-mcp-pike-dvr/openstack/init.yml
@@ -144,6 +144,8 @@
mongodb_admin_password: cloudlab
mongodb_shared_key: eoTh1AwahlahqueingeejooLughah4tei9feing0eeVaephooDi2li1TaeV1ooth
ceilometer_influxdb_password: lmapass
+ openstack_log_appender: true
+ openstack_fluentd_handler_enabled: true
linux:
network:
purge_hosts: true
diff --git a/classes/cluster/virtual-mcp-pike-dvr/stacklight/init.yml b/classes/cluster/virtual-mcp-pike-dvr/stacklight/init.yml
index 0b10c03..015ea27 100644
--- a/classes/cluster/virtual-mcp-pike-dvr/stacklight/init.yml
+++ b/classes/cluster/virtual-mcp-pike-dvr/stacklight/init.yml
@@ -9,6 +9,7 @@
grafana_database_type: mysql
grafana_database_host: ${_param:openstack_database_address}
grafana_database_password: ${_param:mysql_grafana_password}
+ fluentd_elasticsearch_host: ${_param:stacklight_log_address}
linux:
network:
host: