Wait for haproxy nova backend to become ready

Change-Id: Id186545879cce9f1ecbfb70dccab85a6d3aa9ec0
Closes-Bug: #1321662
Fix quote handling for dockerctl shell

Change-Id: I300af9959c89660595be37e1cecc998529ce7718
Closes-Bug: #1324200
(cherry picked from commit bafa771b4ccd9df266cc2238810b67c6cc7aa995)
Clean lvm metadata after creating partitions

Run erase_lvm_metadata() after we create all the needed partitions
to make sure we don't have any old LVM data.

We also need to clean old filesystem from newly created partition,
that may retain after previous deployments.

Change-Id: I6ee241aca94a4db7bae2b359af7244dee6a53150
Closes-bug: #1323707
Merge "Fix quote handling for dockerctl shell" into stable/5.0
remove CEPH_ARGS from Nova and Cinder

Now that Nova and Cinder consistently pass --id option when executing rbd and
ceph commands, it's no longer necessary to set CEPH_ARGS environment variable
in the init scripts for Nova and Cinder services.

Change-Id: I29134942b1e7d5e2a276aecc00a9c5747cfa5a38
Closes-Bug: #1324954
Put Murano RabbitMQ HAProxy service on Public IP

Unlike OpenStack RabbitMQ, Murano RabbitMQ uses the Public VIP, that has to be
specified explicitly in openstack::ha::haproxy_service parameters.

Make openstack::ha::murano consistent with other OpenStack services: declare
all related HAProxy services in the same file, do not make it a dependency of
HAProxy itself (only main RabbitMQ HAProxy service needs to have before_start =
true).

Change-Id: I0fd7fb1564b322315b88320a331d5a89f0d74c48
Closes-Bug: #1325983
Merge "Wait for haproxy nova backend to become ready" into stable/5.0
Set HAProxy timeout to 3h for Horizon HTTP

puppet-haproxy default timeout value of 1m is causing 504 Gateway Timeout
errors when uploading large images via Horizon Dashboard.

Change-Id: I07a666b17c20d39d4adcbcd1be69df42c2a1ddc2
Closes-Bug: #1326082
Merge "Put Murano RabbitMQ HAProxy service on Public IP" into stable/5.0
Fix /var/log/remote rotation template

- Put /var/log/remote rotation into an appropriate server role template
- Fix node names matching to exclude symlinks for IP addresses

Closes bug: #1329991
Closes bug: #1316957

Change-Id: Iacd96d6fa02b0c63c63ce5256cc832eda229dcc7
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Limit HAProxy exec check to primary controller

HAProxy IP is controlled by Pacemaker/Corosync. Exec fails on all Slave controllers.
This patch limits exec check to primary controller only.

Change-Id: Ic8daace980f2cb01feeb1f8006c9ca22d4a6a8f2
Closes-Bug: 1329780
Related-Bug: 1321662
Merge "Fix /var/log/remote rotation template" into stable/5.0
Add dhcrelay monitor via supervisor to restart

Dockerctl can start dhcrelay, but not ensure it
stays running. Supervisord can handle this task,
so it should watch the pid of dhcrelay and trigger
restart if it exits.

Change-Id: I75909d25418e625a2b154125e9a76e22c7443e47
Closes-Bug: #1324152
(cherry picked from commit acf69bd4c1441458843a59858038d11ad2bbe9cc)
Require socat package before checking nova-api in haproxy

Change-Id: Ibc11f23574e9c929cbea78ed9098b448cb7c47d3
Closes-bug: #1328504
(cherry picked from commit c88edb0b98eae49c79fdbf9b2e596dce1cc6865a)
Merge "Add dhcrelay monitor via supervisor to restart" into stable/5.0
Merge "Set HAProxy timeout to 3h for Horizon HTTP" into stable/5.0
Exclude docker from the admin net masquerading

We should exclude -s docker0 form the nailgun iptables
rule for admin network masquerading in order to
elliminate the potential issues related with race condition
during master node deployment.

Closes-bug: #1332517

Change-Id: I942da109d83cce65880a3f27cb1d5301d300da50
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Fixed default parameters for Nova and Neutron

Default values of performance-critical parameters
changed to more comfortable for production environments.

Change-Id: Ibfb81279892303166dbafe9f1cdc87927c0fe9a0
Closes-Bug: #1324914
Fix notification driver and strategy values

To make glance ceilometer notifications to work.

Change-Id: I75e13e3cc5fdfad413b460323bb870de3565ff5a
Closes-Bug: 1314196
Use linux-firmware package instead of kernel-lt-firmware

Change-Id: Id14c9f10402e273bdc51a2cb68f1b4d53e4666af
Related-Bug: #1323354