Make Neutron L3/DHCP agents OCF script more tolerant to mysql and keystone temporary fails.

In this implementation cleanup-script does not get information from Neutron API.
Script inspects network namespaces on this node for given agent type and removes
found ports from integration bridge.

Closes-bug: #1287716
Partial-bug: #1285929
Change-Id: I2dfb31f240dca652341c4623f237f6a143414448
Fix local logs for puppet 3.4

This is just a simmetric change to the
https://review.openstack.org/#/c/72390/9/deployment/puppet/rsyslog/templates/30-server-remote-log.conf.erb
but for the local logs as well.

Change-Id: Iba66115fa7971f2a62b0626b95e392be0a9c4619
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "Make Neutron L3/DHCP agents OCF script more tolerant to mysql and keystone temporary fails."
Merge "Fix local logs for puppet 3.4"
Tune mysql, galera, sqlalchemy backend settings

- Tune MySQL config settings to be more clouds-specific (reads much
  more common, reads:writes rate is 10(100):1)
  * Limit innodb_buffer_pool_size to 10G
  * Update innodb_log_file_size as:
    * If mysql ib_logfiles do not match 25% of innodb_buffer_pool_size (max 2G),
      delete them and update innodb_log_file_size in the config appropriately;
    * Otherwise, use existing ib_logfile0 size to re-evaluate the
      innodb_buffer_pool_size config value to match its real size.
  * Reduce innodb_write_io_threads
  * Use innodb_flush_log_at_trx_commit=2 for HA
  * Raise FD imits to 102400, max connections, open tables limits etc.
- Tune SQLAlchemy backend settings for Openstack (QueuePool related)
- Sync some MySQL+galera class params for MySQL class as well

Closes-bug: #1274784
Implements blueprint: optimize-db-performance-at-scale

Change-Id: I0e843022f04f53150da52858280034aad6aee987
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>