Set osapi_compute_workers to number of processors

Closes-bug: #1275988
Change-Id: I5c017e4cd8b345147b3ecdad40deaa4715ccacb1
Sort unicast corosync IP addresses

Sort addresses in order to make corosync
config file generation idempotent

Change-Id: I02dcd9bb3458b56e23c9b452db12e0e7e334e0f3
Add missed block_until_ready calls for corosync provider

Closes-bug: #1279211

Change-Id: I995d01bd28ea8ef41f752feb252be49d19b62c83
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Use instance variables instead of
local variables in supervisor config

Change-Id: I2efa668f25cfd99b5eae41024e8802ee186ea67d
Remove a stricted Cobbler version

We already have a Cobbler version set up in
requirements-rpm.txt in fuel-main repo.

Change-Id: I674d205fdf111abd0cf5eff471549a7f6438e36f
Add ssh console to anaconda and preseed

Adds ssh console to CentOS and Ubuntu nodes during provisioning.
SSH is accessible from Fuel master node via Admin network IPs with
Fuel root RSA ssh key. Password authentication is not available.

Anaconda/Debian-installer stop commands have been removed from the
login profiles. Orchestrator should execute something like the
following in order to pause provisioning on the node:

- CentOS/RH: "killall -STOP anaconda"
- Ubuntu: "killall -STOP debootstrap dpkg"

Change-Id: Ic34b7e6f154c084bd03c29cc5ce1d22edfc165ad
Closes-Bug: #1277447
Replace recursive directory processing with chown

Closes-Bug: 1255412
Change-Id: I45247b37cb499a52b8bfc53d5a57600cf524056e
Add new snippet ubuntu_authorized_keys

Adds a new snippet for setting up the /root/.ssh/authorized_keys in Ubuntu
carriage returns in keys are escaped in the preseed
they are put back with command echo -e
existing authorized_keys renamed centos_*

Change-Id: Ia9b77d418a27f86665671c323ae0e23002907456
Closes-Bug: #1277253
Merge "Use instance variables instead of local variables in supervisor config"
Merge "Remove a stricted Cobbler version"
Fix puppet logs tags in rsyslog template

- add puppet-error tag
- use strict '==' (faster) instead of 'contains'
- del unnecessary rsyslog::imfile 20-puppet*.conf templates

Closes-bug: #1275121

Change-Id: I58afae3ae220dc437f23670796526e67d2f8a3b3
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Implement user-defined tenant for neutron nets

Default networks were previously hardcoded to use
"admin" as the tenant, regardless of user input.
This patch is a workaround because nailgun creates
neutron_config with admin tenant hardcoded as well.

FIXMEs were added to indicate what code needs cleanup
after nailgun is patched.

Change-Id: I272b53b6dbb4e972f94e82e81b58920351f4144d
Partial-Bug: #1267431
Minor refactor for syslog logging

- Fix missed log config notify for glance-api, glance-registry
- Fix confusing titles for generic/main Openstack services
- Removed unnecessary 'ensure absent' for config providers
- Removed confusing unused logging config for local logging cases
- Synced confusing 10-fuel & 20-fuel file lists to be the same
- Removed delaycompress option from logrotate configs
- Removed hardcoded logging_context_format_string,
  and logging_default_format_string config settings
- Removed clumsy value selectors for debug/verbose/use_syslog
- Use top scope for verbose, debug, use_syslog options in cluster*.pp

Implements blueprint: refactor-logging-puppet-openstack-services
CI retest4

Change-Id: I543c52c9fe6a95d3bc6eb6f87c0599e659ee01ec
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "Sort unicast corosync IP addresses"
Mysql performance and disk optimization

1. Use per table innodb option
2. Use Barracuda file format

Change-Id: I42eaa51aa80853f609f34d8028eed32f1ec8a2dc
Partial-bug: #1278964
Merge "Add missed block_until_ready calls for corosync provider"
Merge "Fix puppet logs tags in rsyslog template"
Merge "Set osapi_compute_workers to number of processors"
Merge "Minor refactor for syslog logging"
Fix rsyslog templates for Openstack logs

- use *_matched values for facilities in templates
- simplify stop processing condition

Closes-bug: #1263675

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