Implements memcache storage for keystone tokens

Switching keystone token storage to memcache with dogpile cache implementation.
This allows to use memcache as non persistence storage in HA mode.

Change-Id: I511f5849206455d65ca11ecbb8e8c1c3f639fbcb
Closes-Bug: 1269819
Fix Murano RabbitMQ IP address

Use public IP address as endpoint for Murano RabbitMQ.

Change-Id: I02f8716967517e338de5e3a7f889bf82392e1386
Closes-bug: 1316534
Do not pull ceph.conf for roles unrelated to Ceph

If ceph::conf invokes 'ceph-deploy config pull' before primary
controller is done (e.g. as part of mongodb role), it will fail and
disrupt deployment.

This commit also partially cleans up the mess introduced in
f50248cea09b320d276cf72321ed29b411fd4b55: only ceph package has a
service that can be restarted, setting up notifications for anything
else is meaningless.

Change-Id: I887bd38209752e634c11d45e4d69e0d24972d5f6
Closes-bug: #1316524
copy master node public key to its own keyring

Change-Id: I2b0307b364dfaff4c9fdf0ae1e61d726bc2ecfe3
Closes-Bug: #1316581
Merge "Implements memcache storage for keystone tokens"
Add support for debug log case for ceilometer

Closes-bug: #1317123

Change-Id: I9ab04e8de7d293144672789d43c67b468f0ef75f
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "Fix Murano RabbitMQ IP address"
Add syslog support, fix verbose for mongo

* Fix verbose hardcode to be controlled by verbose global
* Add support for syslog (controlled by use_syslog global)
  Syslog facility is default (user), hence the local logs
  will go to the /var/log/user.log.
  Remote logs will go to /var/log/remote/node*/mongo*.log

Closes-bug: #1317080

Change-Id: I79a32b18a1c601c40f695fb0266fab6ca2cc8906
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "Do not pull ceph.conf for roles unrelated to Ceph"
Add MAC match support to firewall

* Fixes parsing errors and allows defining
  rules with MAC matches. Thanks to Tomasz Głuch
  for pointing the lack of MAC support out.

* Notify neutron-ovs-agent on compute nodes
  to let it clen out saved rules from old and
  removed instances.

Change-Id: Ib82bf37644aaab3b4e794934ddef40593a87fb7d
Partial-Bug: 1308963
Add checkers for all containers

check containers services status
1) for postgres do select 1 in nailgun
2) for rabbitmq use AMQP management plugin
and fetch nodes list
3) for other containers: check listening on ports
or check processes in process list
4) add check function to dockerctl for convinience
5) add check function call to container start
Closes-Bug: #1315940
Related-Bug: #1316044

Change-Id: Id21a75718b4ad789c18aa248efca8bf16c90f6b8
Merge "Add syslog support, fix verbose for mongo"
Merge "copy master node public key to its own keyring"
Merge "Add checkers for all containers"
Merge "Add support for debug log case for ceilometer"
Merge "Add MAC match support to firewall"
Set max avaliable TTL for Mcollective

We use virtual machine snapshots for CI. When we
up it from snapshots, we get error:
"MCollective agents '<ID>' didn't respond within
the allotted time.", but node is online. Big TTL
in Mcollective should solve this problem.

Change-Id: Id3f2f5ddf26a9d31de214e9d5596a47f450b983f
Closes-Bug: #1316720
Fix logrotation for fuel master node and its docker containers

* Split rsyslog client and server roles for openstack::logrotate
  class as well
* Add missed audit logs to rotation
* Fix template used for hourly logrotate job check
  (was 10-fuel*, now is 20-fuel*)
* Use common template for rsyslog server role both for host OS
  and rsylog container
  * Configure logrotate class also for host-only.pp
* Ensure postrotate for rsyslog in docker container case as well:
  * Issue HUPing for all rsyslog pids including ones in the docker
  containers, if any.

Closes-bug: #1316957

Change-Id: I76cabf2c1361836be55551cb5b4cbdc50c4a03ec
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Install murano-apps before import its content

Forgot to install package murano-apps, now fix it.
Add category when importing packages.
Option '-c' must be specified after the target directory name.
Typos fixes.
Add workaround to call import-package only once per package.

Relates-bug: 1316069

Change-Id: I49cc86e60b446355093a85747256113b5f6a8d16
Increase docker timeout and log build output

Change-Id: I91157e10dba6927fc5c3b20b1ef7cfbd9419f18a
Closes-Bug: #1317513