Merge "Add possibility to set replicas"
diff --git a/apache/server/site/cinder.yml b/apache/server/site/cinder.yml
new file mode 100644
index 0000000..7338b6e
--- /dev/null
+++ b/apache/server/site/cinder.yml
@@ -0,0 +1,42 @@
+parameters:
+ _param:
+ apache_cinder_ssl:
+ enabled: false
+ apache_cinder_api_address: 0.0.0.0
+ apache_cinder_api_host: ${linux:network:fqdn}
+ cinder:
+ server:
+ service_name: apache2
+ apache:
+ server:
+ enabled: true
+ default_mpm: event
+ site:
+ cinder:
+ enabled: false
+ available: true
+ type: wsgi
+ name: cinder
+ ssl: ${_param:apache_cinder_ssl}
+ wsgi:
+ daemon_process: cinder-wsgi
+ processes: 5
+ threads: 1
+ user: cinder
+ group: cinder
+ display_name: '%{GROUP}'
+ script_alias: '/ /usr/bin/cinder-wsgi'
+ application_group: '%{GLOBAL}'
+ authorization: 'On'
+ host:
+ address: ${_param:apache_cinder_api_address}
+ name: ${_param:apache_cinder_api_host}
+ port: 8776
+ log:
+ custom:
+ format: >-
+ %v:%p %{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %D %O \"%{Referer}i\" \"%{User-Agent}i\"
+ error:
+ enabled: true
+ format: '%M'
+ file: '/var/log/apache2/cinder_error.log'
diff --git a/apache/server/site/gnocchi.yml b/apache/server/site/gnocchi.yml
index f9f6cc8..a3d6def 100644
--- a/apache/server/site/gnocchi.yml
+++ b/apache/server/site/gnocchi.yml
@@ -14,6 +14,7 @@
available: true
type: wsgi
name: gnocchi
+ ssl: ${_param:apache_gnocchi_ssl}
host:
name: ${_param:apache_gnocchi_api_host}
address: ${_param:apache_gnocchi_api_address}
diff --git a/apache/server/site/manila.yml b/apache/server/site/manila.yml
index 2e32e00..2161882 100644
--- a/apache/server/site/manila.yml
+++ b/apache/server/site/manila.yml
@@ -17,6 +17,7 @@
available: true
type: wsgi
name: manila
+ ssl: ${_param:apache_manila_ssl}
wsgi:
daemon_process: manila-api
threads: 2
diff --git a/apache/server/site/panko.yml b/apache/server/site/panko.yml
index 8e4854d..d052c37 100644
--- a/apache/server/site/panko.yml
+++ b/apache/server/site/panko.yml
@@ -1,5 +1,7 @@
parameters:
_param:
+ apache_panko_ssl:
+ enabled: false
panko_api_workers: 2
apache_panko_api_host: ${linux:network:fqdn}
apache_panko_api_address: ${_param:single_address}
@@ -12,6 +14,7 @@
available: true
type: wsgi
name: panko
+ ssl: ${_param:apache_panko_ssl}
host:
name: ${_param:apache_panko_api_host}
address: ${_param:apache_panko_api_address}
diff --git a/jenkins/client/job/deploy/openstack.yml b/jenkins/client/job/deploy/openstack.yml
index d9b1c29..a9f2007 100644
--- a/jenkins/client/job/deploy/openstack.yml
+++ b/jenkins/client/job/deploy/openstack.yml
@@ -26,7 +26,7 @@
STACK_INSTALL:
type: string
default: "core,kvm,openstack,stacklight"
-
+ description: "Components to be installed. Valid values are 'core,kvm,k8s,openstack,contrail,ovs,ceph,oss,cicd,stacklight,sl-legacy,finalize'. For all deployments it's recommended to run 'finalize' as a final step as Salt highstate on all nodes will be run."
# salt master
SALT_MASTER_CREDENTIALS:
type: string
diff --git a/jenkins/slave/libvirt.yml b/jenkins/slave/libvirt.yml
index e40b841..4ebaae2 100644
--- a/jenkins/slave/libvirt.yml
+++ b/jenkins/slave/libvirt.yml
@@ -14,6 +14,9 @@
version: latest
libvirt-bin:
version: latest
+ # Reguired to simplify building custom cloud-init.iso
+ cloud-image-utils:
+ version: latest
# Ensure FORWARD chain to be ACCEPT to avoid issue when running with docker
# 1.13 and newer that sets chain to DROP, see:
# https://github.com/docker/docker/pull/28257
diff --git a/keepalived/cluster/instance/cicd_control_vip.yml b/keepalived/cluster/instance/cicd_control_vip.yml
index ab7f413..cde6af2 100644
--- a/keepalived/cluster/instance/cicd_control_vip.yml
+++ b/keepalived/cluster/instance/cicd_control_vip.yml
@@ -5,6 +5,12 @@
parameters:
keepalived:
cluster:
+ vrrp_scripts:
+ check_pidof:
+ args: "haproxy"
+ interval: 10
+ rise: 1
+ fall: 1
enabled: true
instance:
cicd_control_vip:
@@ -13,3 +19,4 @@
interface: ${_param:keepalived_vip_interface}
virtual_router_id: ${_param:keepalived_vip_virtual_router_id}
priority: ${_param:keepalived_vip_priority}
+ track_script: check_pidof
diff --git a/keepalived/cluster/instance/openstack_baremetal_vip.yml b/keepalived/cluster/instance/openstack_baremetal_vip.yml
index c3141b6..355cf53 100644
--- a/keepalived/cluster/instance/openstack_baremetal_vip.yml
+++ b/keepalived/cluster/instance/openstack_baremetal_vip.yml
@@ -11,6 +11,12 @@
keepalived_openstack_baremetal_vip_priority: ${_param:keepalived_vip_priority}
keepalived:
cluster:
+ vrrp_scripts:
+ check_pidof:
+ args: "haproxy"
+ interval: 10
+ rise: 1
+ fall: 1
enabled: true
instance:
openstack_baremetal_vip:
@@ -19,3 +25,4 @@
interface: ${_param:keepalived_openstack_baremetal_vip_interface}
virtual_router_id: ${_param:keepalived_openstack_baremetal_vip_virtual_router_id}
priority: ${_param:keepalived_openstack_baremetal_vip_priority}
+ track_script: check_pidof
diff --git a/keepalived/cluster/instance/openstack_web_public_vip.yml b/keepalived/cluster/instance/openstack_web_public_vip.yml
index 8279b65..1080e62 100644
--- a/keepalived/cluster/instance/openstack_web_public_vip.yml
+++ b/keepalived/cluster/instance/openstack_web_public_vip.yml
@@ -9,6 +9,12 @@
keepalived_openstack_web_public_vip_interface: eth1
keepalived:
cluster:
+ vrrp_scripts:
+ check_pidof:
+ args: "haproxy"
+ interval: 10
+ rise: 1
+ fall: 1
enabled: true
instance:
openstack_web_public_vip:
@@ -17,3 +23,4 @@
interface: ${_param:keepalived_openstack_web_public_vip_interface}
virtual_router_id: 132
priority: ${_param:keepalived_vip_priority}
+ track_script: check_pidof
diff --git a/keepalived/cluster/instance/stacklight_log_vip.yml b/keepalived/cluster/instance/stacklight_log_vip.yml
index caa6754..44d3527 100644
--- a/keepalived/cluster/instance/stacklight_log_vip.yml
+++ b/keepalived/cluster/instance/stacklight_log_vip.yml
@@ -5,6 +5,12 @@
parameters:
keepalived:
cluster:
+ vrrp_scripts:
+ check_pidof:
+ args: "haproxy"
+ interval: 10
+ rise: 1
+ fall: 1
enabled: true
instance:
stacklight_log_vip:
@@ -13,3 +19,4 @@
interface: ${_param:keepalived_stacklight_log_vip_interface}
virtual_router_id: 110
priority: 101
+ track_script: check_pidof
diff --git a/keepalived/cluster/instance/stacklight_monitor_vip.yml b/keepalived/cluster/instance/stacklight_monitor_vip.yml
index 28a6b69..e146f20 100644
--- a/keepalived/cluster/instance/stacklight_monitor_vip.yml
+++ b/keepalived/cluster/instance/stacklight_monitor_vip.yml
@@ -5,6 +5,12 @@
parameters:
keepalived:
cluster:
+ vrrp_scripts:
+ check_pidof:
+ args: "haproxy"
+ interval: 10
+ rise: 1
+ fall: 1
enabled: true
instance:
stacklight_monitor_vip:
@@ -13,3 +19,4 @@
interface: ${_param:keepalived_stacklight_monitor_vip_interface}
virtual_router_id: 100
priority: 101
+ track_script: check_pidof
diff --git a/keepalived/cluster/instance/stacklight_telemetry_vip.yml b/keepalived/cluster/instance/stacklight_telemetry_vip.yml
index e7d31a5..95d4d80 100644
--- a/keepalived/cluster/instance/stacklight_telemetry_vip.yml
+++ b/keepalived/cluster/instance/stacklight_telemetry_vip.yml
@@ -5,6 +5,12 @@
parameters:
keepalived:
cluster:
+ vrrp_scripts:
+ check_pidof:
+ args: "haproxy"
+ interval: 10
+ rise: 1
+ fall: 1
enabled: true
instance:
stacklight_telemetry_vip:
@@ -13,3 +19,4 @@
interface: ${_param:keepalived_stacklight_telemetry_vip_interface}
virtual_router_id: 120
priority: 101
+ track_script: check_pidof
diff --git a/openssh/server/team/stacklight.yml b/openssh/server/team/stacklight.yml
index b46ac24..7f86187 100644
--- a/openssh/server/team/stacklight.yml
+++ b/openssh/server/team/stacklight.yml
@@ -109,6 +109,13 @@
full_name: Christian Huebner
home: /home/crh
email: chuebner@mirantis.com
+ mmatuszkowiak:
+ enabled: true
+ name: mmatuszkowiak
+ sudo: true
+ full_name: Mateusz Matuszkowiak
+ home: /home/mmatuszkowiak
+ email: mmatuszkowiak@mirantis.com
openssh:
client:
enabled: true
@@ -190,6 +197,11 @@
public_keys:
- ${public_keys:crh}
user: ${linux:system:user:crh}
+ mmatuszkowiak:
+ enabled: true
+ public_keys:
+ - ${public_keys:mmatuszkowiak}
+ user: ${linux:system:user:mmatuszkowiak}
public_keys:
newt:
key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3odU+3V2uDA2ptAFL9hrJRPNEEdAyztWOZFQ5Oyd9oerTGOU3p4xmrgWWjfKFKbYGhiiIUcYAol5PkTfKukGEkkjCHYA1t023soCaaAj85wCZCnw2zQNAziwxTYmAzTqgxiSvtZNMMrtJvFHRIRDzJ3M1lV0prWNWkMM1/3FAd4W49y6VT3fkMCo8uqG7CfGdgR2DgBCxf9KaNPfW5eDEPOgmE5lK8tVSEI6T+Cg7hbcTf4lFYnlFBnlQgp/0JstsM4Vbwb4B34LOpOsf2S8rrWk2xQMjwaMHXkc2s/E8iW3F5nVFuyEXYISFQIiAHw8dzC6CHgLcyHUVWwznKawZ newt@newt-dev1
@@ -221,3 +233,5 @@
key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMdgjQ/jeWwQTaPyy7G5JJAkM+QPNPFkzMldPHJzOxEBzt/M5zAooj0XgbRIDIztolhXhmj8N5QSG5n3Wn9T9e2KpoxrLaVhMV5WGTgMrXMmyT8oXLV3gLxGNHMWFvplSbHLK78EsZQQ1/kBQMyPXB1+FpIuSHVOxaospOQObJ08lvQfvlO7AUUV4ecpFj3PpV5vkKPRS+KfiRm84BeGIu51BL1BClZcOyHZPBQT+DUBjm8y4Nd7pVZRjsiBzZBvUotCbn5+RqWJnu4kyoGoRNmk8pvCx7jGL1G9rE8NNsKlCUWedvyNkDeoWKvleJuzkj3ggfuCj/iTtDoXFR95e3
crh:
key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDjW4PSMoILjoZWDM8RnbiW6HXHBFntnDd6jgAlokJhTpYIjzUHpoh/Oqphra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