Fix names for syslog facilites

Closes-bug: #1263675
CI retest

Change-Id: I9cf19df638d27c095b015174553d864d4f1fd143
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Setup default quota for Neutron-server

Closes bug: #1272838

Change-Id: Ib58f469e782cf2607bbdc454ce7aa0833b3be1b4
Allow more than two interfaces in the OVS bonds.

Change-Id: I2bc106a4d9ed6f95fe9802b8ab6342db1652cd6a
Closes-bug: 1271274
add 'macaddr' option to the 'ifconfig' resource

Change-Id: Ic7e7e68e40d5c4c0f3a99926c62d2ede320ca834
Added MySQL tuning parameters for galera

Change-Id: I33c72eacbce8c333fa7e05aca61294ba07901a5d
Closes-Bug: #1270875
Fix un-changeable resource in l3_if_downup

The previous patch attempted to change @resource[:wait_carrier_after_ifup]
 this dosn't work. This patch changes this to create a new variable to test
 before entering into the carrier wait loop

Change-Id: I1f6e8d8eff253dc665a66bf64f1d2ecfedb1f63a
Related-bug: #1275132
Fix TCP/UDP usage for rsyslog logging

- Introduce 'both' value for rsyslog server proto
- Make rsyslog server to listen both tcp and udp
- Fix wrong proto param usage for clients (clients
  should use $rservers hash instead)
- Change base rsyslog server proto to TCP

CI retest
Additional to: #1271176
Closes bug: #1276065

Change-Id: I3b13781a85a88dcb7d36edb54f5ad60c2f16c74b
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "Allow more than two interfaces in the OVS bonds."
Merge "add 'macaddr' option to the 'ifconfig' resource"
Merge "Setup default quota for Neutron-server"
Merge "Fix names for syslog facilites"
Fix pbr build problem. Thanks Drimty Ilyin

Change-Id: If8b52a101c02816073978ca8a263ada48c737779
Enable corosync log to pacemaker.log locally

In order to collect HA logs locally as well to syslog,
use either corosync logfile option or custom rsyslog
template, but not both.

This patch enables custom rsyslog template for
pacemaker.log to avoid messages duplicating in daemon.log.

Closes bug: #1275127

Change-Id: I237414f38c312243ad51e5d14f6c6141b684f956
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
FIX: incorrect condition in l23network bond type

Closes bug: #1277112

Change-Id: I49f24c93579dd4466030ccc1d7ed7675c34d3a5d
Merge "Fix TCP/UDP usage for rsyslog logging"
Merge "FIX: incorrect condition in l23network bond type"
Merge "Added MySQL tuning parameters for galera"
Merge "Fix un-changeable resource in l3_if_downup"
Finish configuring a service before adding it to HAProxy

Starting an HAProxy instance for ceilometer-api (and possibly other
similar services) will fail on Ubuntu if the package for that service is
installed but not yet configured: the service is still running in its
default configuration binding to 0.0.0.0 instead of just the management
IP, preventing HAProxy from binding to the management VIP on the same
port.

To prevent a dependency loop (Ceilometer, like most other OpenStack
services, depends on MySQL), Galera dependencies have to be narrowed
down from the whole of HAProxy setup to just the registration of MySQL
service with it. HAProxy related parts of controller_ha and galera
classes are refactored to support reloading HAProxy for each service
independently, and to group together HAProxy options specific to
individual services.

To support granular addition of services into HAProxy, haproxy module
updated to puppetlabs-haproxy 1.0.1 (0d4c50e) and refactored to split
haproxy.cfg into multiple files under /etc/haproxy/conf.d using include
directive as implemented in the patch by Brane F. Gračnar:

http://marc.info/?l=haproxy&m=129235503410444

The define_backends option for haproxy class introduced in Fuel is
renamed to define_backups and ported to the new haproxy module.

Support for selecting exported haproxy::balancermember resources by tag
is dropped since it is no longer used (and not relevant since Fuel no
longer runs puppetmaster).

An ordered list of controllers is passed from osnailyfacter::cluster_ha
to openstack::controller_ha so that haproxy::balancermember always sets
the primary controller as the active server in failover configurations.

HAProxy configuration for RadosGW is changed from active-passive
failover to active-active load balancing between controller nodes.
Backend IP addresses for RadosGW servers are changed from storage to
internal.

Added "--no-class_inherits_from_params_class-check" to puppet-lint
options to prevent it from issuing a warning that is not relevant for
Puppet versions 2.7 and newer.

Change-Id: I5fa03dbc3f7e3a7dfa57c226a5396f652c111997
Closes-bug: #1264388