Cleanup for file modes

Change-Id: I8b8390949680dff1f862a1747fdac57afdc10d57
Fix wrong parameter name for corosync cs_location

Closes-bug: #1264996

Change-Id: Iec906fac2a2ddaf9ba2cff58b2a1c39763bf4655
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Fix log file names for imfile templates

Change-Id: I7005c5915bd7db8612c11c4ade7af856c396682b
Closes-bug: #1268132
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Fixed incorrectt PID matching for neutron-*-agents

Change-Id: I15ea6cce54135f9d91080c736ba496c3002aa182
Closes-bug: #1269334
Fix ubuntu and centos static_net cobbler snippet

Previously, we identified admin net by
interface name, but bootstrap interface
ordering differs from ubuntu's, so it is
necessary to enumerate manually and use
mac address to identify which interface
is on the admin network.

CentOS snippet also updated to reflect changes
to choose_interface providing MAC instead of
interface name

Change-Id: I6fe0f4cc54ad63533ebf549420c71db3e4886a0d
Keystone should store tokens in memcache if it present.

Without it we have decrease mysql perfomance day by day at big clesters.

Change-Id: Ib683574411c8e68ac18f7d55c9ce13fd0729d1ea
Closes-bug: #1269819
Merge "Fixed incorrectt PID matching for neutron-*-agents"
Limit puppet-mysql module version from the top

Since mysql::python was deprecated by 01/01/2014
(see https://github.com/puppetlabs/puppetlabs-mysql/
commit/c22e72a97a4665a17178f358db72c73c3a5c70db)
all puppet modules' dependencies and spec's fixtures
relying on puppetlabs-mysql module/repo would fail, if
mysql::python is used as is in Fuel now, thus should be
fixed approrpiately, i.e.:
1) limit mysql dependencies in Modulefiles to <1.0.0
according to their upstream versions
(see https://bugs.launchpad.net/puppet-openstack/+bug/1271168)
2) add "ref:  'origin/0.x'" for mysql repos in .fixtures.yml

Closes-bug: #1270807

Change-Id: I28a0de33b6b749eb7f0270af02c4b369a032a13e
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Allow cs_resource pass 'operations' with equal names and different roles.

It need for master/slave resources, that contains set of 'monitor' resources.

Change-Id: I31abbd355a82e1ffd1d10b642f239efc33784efe
Closes-bug: #1270949
Merge "Cleanup for file modes"
Merge "Fix wrong parameter name for corosync cs_location"
Disable file injection when using RBD Nova backend

Change-Id: Ib607ffb8a3c50918f10716718a2e7c7219efa9d4
Merge "Limit puppet-mysql module version from the top"
Merge "Allow cs_resource pass 'operations' with equal names and different roles."
Merge "Fix log file names for imfile templates"
Merge "Keystone should store tokens in memcache if it present."
Merge "Disable file injection when using RBD Nova backend"
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