Fix mongo replication

Fix mongo replication set for slow hardware; remove warnings
from puppet log

* Increase timeout to puppet default
* Refactor on script for mongod verification
* Fix linting

Change-Id: Ib6d9fa200568920ba54c21600ea647de0e92d734
Closes-bug: 1320831
Sync puppet module rsync to v0.3.0 from upstream

v0.3.0 sha1: d0707c4ae3674b63c2193c0012ceb9fa90ed41b6
Repo link: https://github.com/puppetlabs/puppetlabs-rsync
Implements: blueprint merge-openstack-puppet-modules

Change-Id: I873975f11ad5d839c5a52c2c3301b1f63fe92f5f
Add AMQP conn check for heat-engine ocf

Improve status check by AMQP port connection tracking.
Heat-engine service will be restarted by pacemaker,
if amqp connection is lost. And monitor action will
report fail, unless amqp connection re-established.
Source: https://github.com/madkiss/openstack-resource-agents
0263ab71d319d3c398c5d29c4c0eb261db358ab1

DocImpact
Related blueprint pacemaker-improvements

Change-Id: I0a2246051212332acc40b8a82d42b585188d5d73
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Add AMQP conn check for ceilo-agent-central ocf

Improve status check by AMQP port connection tracking.
Ceilometer-agent-central service will be restarted by
pacemaker, if amqp connection is lost. And monitor action
will report fail, unless amqp connection re-established.
Source: https://github.com/madkiss/openstack-resource-agents
0263ab71d319d3c398c5d29c4c0eb261db358ab1

DocImpact
Related blueprint pacemaker-improvements

Change-Id: I733e9473bda767c6396a63336c5e6b7ac6415fff
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Fix hourly log rotation schedule

W/o this patch, new log rotation template for
Fuel 5.x master node with docker (which is
/etc/logrotate.d/20-fuel-docker.conf) would
never be scheduled for execution.
And that could have caused master node's /var/log/
free space exhausted until the next planned daily
log rotation will come.

DocImpact
Closes-bug: #1378327

Change-Id: I21ba3debcfda4d94d5e25786f97996f6431e5ec3
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "Fix hourly log rotation schedule"
honour `replication_mode' configuration option in the VMware NSX plugin

- `replication_mode' stanza determines network traffic replication mode.
  Default value for this setting is `service' which means that NSX
  cluster operates with NSX Service nodes (as any NSX production cluster
  should) and packet replication on router and switches happens on NSX
  Service nodes.
- setting `replication_mode' to `source' means that traffic replication
  happens localy on nodes, which is the only option if we do not have
  Service nodes.

DocImpact
Change-Id: I830dc687dbf25a8fd9e4d375c5e37af2bda83df4
Partial-bug: #1365043
Run syntax check for OCF scripts

Make fuel_syntax_check.sh script run syntax check for any file
found under "files/ocf/" subfolder in all puppet modules.

Also bugfix for "rake spec" testing part of the script.

Change-Id: I83c5bb1366b9284ff411c3e3e54e3a27c4049815
Closes-bug: 1376254
Closes-bug: 1378857
DocImpact
Merge "Add AMQP conn check for ceilo-agent-central ocf"
Merge "Add AMQP conn check for heat-engine ocf"
Rename package murano-api to murano

Added backward compatibility logic to murano
to enable Icehouse deployment, but depends on
setting openstack_version to 2014.1.X-6.0

blueprint fuel-deploy-juno

Co-Authored-By: Dmitry Borodaenko <dborodaenko@mirantis.com>
Change-Id: I5b7f314c3e9ff8fd34c4e2a7044e282b55ee6b7c
Merge "Rename package murano-api to murano"
Merge "honour `replication_mode' configuration option in the VMware NSX plugin"
Added AUTHORIZED_KEYS field into settings.yaml.erb

This is for making it possible for nailgun to pass
default (aka system) public key into provisioning data
so as to put them on a target node apart from user
defined public key.

Related PR to fuel-web is
https://review.openstack.org/#/c/127490/

Change-Id: Id5dff61444d7dfb278e0ae6c49b0f772ff68ffd6
Closes-Bug: 1378832
Implements: blueprint image-based-provisioning
Use host puppet manifests for containers

Potentially conflicts with upgrades, but useful
for feature of testing puppet changes with
Fuel CI. /etc/puppet of host system is now
mounted read only inside containers.

Docimpact: impact on puppet manifests for testing

blueprint fuel-master-ci-tests

Change-Id: I63a13fbd5b105c3b4326ad53125dbc4ae06e502e
Merge "Run syntax check for OCF scripts"
Merge "Added AUTHORIZED_KEYS field into settings.yaml.erb"
Fix blocking reject rule for rabbit ocf

* Make RMQ unblock call safe (remove all discovered RMQ
  blocking rules, if there are many of them).
* Use unblock safe call prior to the blocking one.
* Make block call idempotent and add 5 retries for iptables.
* Add info log messages about block/unblock actions. Notify
  if RMQ blocking rule cannot be added for some strange reason.

Partial-bug: #1373569
Closes-bug: #1375824

Change-Id: I46c6bf3c83ada4273eaa05530e80886ebac7e75f
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "Fix mongo replication"
Merge "Sync puppet module rsync to v0.3.0 from upstream"