Merge "Pass in Alerta authentication details for Alertmanager to send alerts with"
diff --git a/fluentd/label/notifications/input_rabbitmq.yml b/fluentd/label/notifications/input_rabbitmq.yml
index 3d7edef..06fca7c 100644
--- a/fluentd/label/notifications/input_rabbitmq.yml
+++ b/fluentd/label/notifications/input_rabbitmq.yml
@@ -85,7 +85,7 @@
enable_ruby: true
record:
- name: notification_type
- value: '${fluentd:dollar}{ record["payload"]["eventType"] && record["payload"]["eventTime"] ? "audit" : "notification" }'
+ value: '${fluentd:dollar}{ record["payload"].key?("eventType") && record["payload"].key?("eventTime") ? "audit" : "notification" }'
match:
rewrite_message_tag:
tag: raw_notifications
diff --git a/horizon/server/iptables.yml b/horizon/server/iptables.yml
index 4836feb..e25fad8 100644
--- a/horizon/server/iptables.yml
+++ b/horizon/server/iptables.yml
@@ -36,7 +36,7 @@
action: REJECT
501:
# 501-503 disable private networks
- rule: --dst 10.0.0.0/16
+ rule: --dst 10.0.0.0/8
action: REJECT
502:
rule: --dst 172.16.0.0/12
diff --git a/keystone/server/fernet_rotation/cluster.yml b/keystone/server/fernet_rotation/cluster.yml
index 7ae4dfd..4db82cc 100644
--- a/keystone/server/fernet_rotation/cluster.yml
+++ b/keystone/server/fernet_rotation/cluster.yml
@@ -5,8 +5,13 @@
_param:
fernet_rotation_driver: 'rsync'
credential_rotation_driver: 'rsync'
+ openstack_control_node01_hostname: ctl01
keystone:
server:
+ initial_data:
+ home_dir: /srv/volumes/backup/backupninja
+ host: ${_param:openstack_control_node01_hostname}.${_param:cluster_domain}
+ source: ${_param:infra_kvm_node03_address}
tokens:
fernet_sync_nodes_list:
sync_node01:
diff --git a/keystone/server/fernet_rotation/single.yml b/keystone/server/fernet_rotation/single.yml
index 3ce6a8d..4bd09e9 100644
--- a/keystone/server/fernet_rotation/single.yml
+++ b/keystone/server/fernet_rotation/single.yml
@@ -3,10 +3,15 @@
- system.openssh.client.root
parameters:
_param:
+ openstack_control_node01_hostname: ctl01
fernet_rotation_driver: 'rsync'
credential_rotation_driver: 'rsync'
keystone:
server:
+ initial_data:
+ home_dir: /srv/volumes/backup/backupninja
+ host: ${_param:openstack_control_node01_hostname}.${_param:cluster_domain}
+ source: ${_param:infra_kvm_node03_address}
tokens:
fernet_rotation_driver: ${_param:fernet_rotation_driver}
credential: