Add more diagnostic tools to CentOS-based nodes

Add nc, tcpdump to kickstart for all CentOS-based nodes.

Change-Id: If00e1266aad288fa676332b3cd973bdafd5710d7
Partial-Bug: #1324594
Removed duplicate Neutron API monitoring item

Removed Neutron API template that had a duplicate check which caused multiple warning messages during controller deployment if Neutron is enabled.

Change-Id: Id58636feabbd3942c496b8a670da50532607bb00
Closes-Bug: #1350323
Add authorization by service token to the rescheduling script

Closes-bug: #1275652
Closes-bug: #1322221

Change-Id: I759f1330c670923f5b1bad846eff922a8bb25868
Add iops fact and add it to astute

Astute needs to know how many nodes can
be provisioned at a time, based on IOPS.

Change-Id: If2cf35ac8195baf37cda50564b70ba3db836ccea
Partial-Bug: #1355347
Fix haproxy backend checks dependencies

Openstack::Ha::Haproxy_service['keystone*']
should always be evaluated *before* any
Exec['wait-for-keystone*'] backend checks.

Closes-bug: #1352964

Change-Id: I579f33d673925bea27ceab48f3380ed1dda40170
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "Add authorization by service token to the rescheduling script"
Fix '/etc/init.d/supervisord status'

"service supervisord status" reports wrong status (servise is up)
even when supervisor is down. It uses "supervisorctl status" which
returns exit code "0" when supervisor is down. We're adding
additional check for status() function to fix this.

Closes-bug: #1356805

Change-Id: I6979d9b54c1e9fed2f1629ebc1edc741f2136b56
Merge "Add iops fact and add it to astute"
Load rabbitmq plugins from OCF script

Rabbitmq plugins do not work in HA mode since we start rabbitmq
server with RABBITMQ_NODE_ONLY=1 which disables plugins.
So we just load them with a piece of Erlang code sent to rabbitmq
via "rabbitmqctl eval".

Change-Id: Ib7e7d02bbf5f7185646c0fefbc4317d9bf5c4566
Closes-bug: #1354026
Add the iptables rule to allow gre traffic

Currently there's no rule to accept gre packets which are required for the
Neutron GRE networking case, so they are dropped due to the '999 drop all' rule

Change-Id: Ia79b6e8b26a8ccf7846affbd2dbf6aa758ac4947
Closes-bug: #1355794
Enable retry for Ubuntu installs

This is a proactive solution to bug
1355347, which allows retries for failed
downloads of packages from apt mirror
during installation.

Change-Id: I848a86ef27f9ad8235024996b7417a30689daa4f
Partial-Bug: #1355347
Align ActionQueue rsyslog params in templates

The changes accepted in fix should be aligned
with other templates we use for client.conf and
server.conf then installing and configuring rsyslog.

Related-bug: #1339659

Change-Id: I9108b0fb992f3dd5a68f3b9d39d78705e243d9fb
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "Enable retry for Ubuntu installs"
Fix mysqld backend check dependency

Waiting for haproxy mysqld backend should rely on
haproxy service for mysqld readiness

Closes-bug: #1356748

Change-Id: Ib29c1cd981c4df2086050617320b56a70cacd50c
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "Add the iptables rule to allow gre traffic"
Merge "Fix '/etc/init.d/supervisord status'"
Merge "Load rabbitmq plugins from OCF script"
Merge "Fix haproxy backend checks dependencies"
Merge "Fix mysqld backend check dependency"
Fix sysctl net.ipv4.ip_local_reserved_ports

Correct name is net.ipv4.ip_local_reserved_ports, not
sys.net.ipv4.ip_local_reserved_ports

Closes-bug: #1357317

Change-Id: Ia7383d54c3651344d97c3adcad35930e766f26f6