Ensure target service is running when using lioadm

Change-Id: I279c981364d2099ded9c969e5d868051e0682753
Closes-Bug: rhbz#1109861
Merge "Ensure target service is running when using lioadm"
volume/iscsi: Fix typo and use real default iscsi_helper in tests

The default value for iscsi_helper isn't correctly configured in
volume::iscsi. This commit fix also a typo in the params class.

Closes-Bug: 1341091
Change-Id: Idcad78c78405c17518b8f4fe75e9954107b386f9
Use 2.2 as the default mysql_module

Change-Id: Ie93a5bee25044004b5f664038fc6961a4a8b4feb
Hide secrets from puppet logs

Currently secrets like rabbit_password or admin_password are laked in puppet 
logs when changed.  This commit added secret parameter to password and
databases params.

Change-Id: Idf2b8928e5dee89f011e5adae723a9799db6acb2
Closes-Bug: #1328448
Extend cinder::setup_test_volume to use cinder provided path

cinder::setup_test_volume should now support RHEL6 and RHEL7 and
also Fedora systems. It should use cinder provided path and not
file in /tmp and it should set correct permissions to it.

Change-Id: Iee783a3445c97b6559d63d0d501b12028b7b2b26
Merge "Extend cinder::setup_test_volume to use cinder provided path"
Merge "Hide secrets from puppet logs"
Merge "Use 2.2 as the default mysql_module"
Add path to exec cinder type-create

The lack of path on the exec gives an error, i added
the path as an array take in account Red Hat and Debian
derivatives.

Change-Id: Ibd78369a850340c07154a9a62a510e1804cf0464
Migrate mysql backend to use openstacklib::db::mysql

Implements: blueprint commmon-openstack-database-resource
Change-Id: Iaffbc561941461fde7de61af88c02f1ba1197db7
Allow configuration of Cinder API workers

  - Set default to 1
  - Add additional setting explanation
  - Fix typo in setting explenation

Change-Id: Ice9fbe149df6abdedcbdea8cea4e56e4a397a48d
Add extended logging options.

There is a range of extended logging options in Openstack services that use
openstack.common.logger (Ceilometer, Cinder, Heat, Keystone, Nova). Adding
cinder::logging to support them. This change is identical to
<https://review.openstack.org/#/c/113560/> but it applies to puppet-cinder
instead of puppet-ceilometer.

No blueprint/spec, as discussed in the IRC meeting on 08-11-2014.

Change-Id: Id1d4380157e681da9ada2e2647ab285ce3cc40ad
Merge "Migrate mysql backend to use openstacklib::db::mysql"
Merge "Add extended logging options."
Merge "Allow configuration of Cinder API workers"
Make user creation optional when creating service.

In some cases it is useful to be able to just configure
the service in Keystone and not the service user. This
is the case when e.g. a read only LDAP backend is used.
Added parameters configure_user and configure_user_role
(default to true).

Change-Id: I021976f1eafa881755c0abbe1f6ba1b546dee111
Closes-Bug: 1360232
Use $::processorcount to compute API workers number

As we do in other OpenStack Puppet modules, let's use $::processorcount
fact to compute the number of API workers and improve scalability for
cinder-api service.

Change-Id: Iac3e1305ba0b22d70e874e038eb10914311d5695
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
Add use_multipath_for_image_xfer with E-Series

This change implements the documented best practice to use multipath
with a Cinder deployment leveraging the NetApp E-Series driver by
setting a Cinder configuration setting to ensure that multipath is
appropriately used by the driver.

Change-Id: I4d279ebefc5a1ed935680775c6ea95fa38c1b9ef
Add tuning data base configs

Add data base configs: min_pool_size, max_pool_size, max_retries,
retry_interval, max_overflow

Use the same default values as cinder project

Change-Id: Icfc545e41049ee6b3d05fb6770a12d5d2b683f93