Add API v3 endpoint support

Nova API v3 is now by default in Icehouse. This patch aims to add the
ability to create the endpoint or not.

Change-Id: I66c6c9b439f8320cd56b6899d02bbe01b80f7243
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
(cherry picked from commit 00ed6139ec7346b7a1d9f42e94de72901006d089)
Allow configuring the rbd keyring name

Change-Id: I7342ec1337cf86c0e4bc66b1788e65c53b2878ce
(cherry picked from commit cb0b48016a33233abee032bbffa9f9d25bd1119e)
add rbd keyring name to secret.xml template

With Change-Id: I7342ec1337cf86c0e4bc66b1788e65c53b2878ce
a parameter for configuring the rbd keyring name was introduced.
This parameter should be used in the secrets file also.

Change-Id: I9da148f7f2e940f1d4dec73e1df6f283028bcca1
Default to utf8 for MySQL

Change default charset to utf8 and default collation order to
utf8_unicode_ci to align with upstream defaults.

Change-Id: I2aa59fd868476f599019e3029af36aa707139fe1
Closes-Bug: #1302088
(cherry picked from commit 7dfb878bc2e9668cb99962238894e82f566680c9)
Enable nova server to be run in SSL mode

This commit allows one to specify ca, cert and key file
to run nova server in SSL mode.

Note: The flag use_ssl per se is not used in nova yet,
its purpose here it to verify collateral parameters.

Change-Id: I5aed08afc2b6ac94bf9e1929f6b1f41a88882f02
(cherry picked from commit 31048d2de9160ceb1da76c96ae8a38257e9ea577)
Pin gem versions for stable branch

This intends to pin all the major gems to the version they were during
development cycle.  This should isolate the existing tests from changes in
rspec, etc.

Change-Id: I13b82b73e805fb87ee95743130f1485abf3fc734
Release 4.1.0

API additions and bug fixes.

Change-Id: Ie313d125482620bcff7a8f01e1513840c10c8b6b
Fixes Facts string comparisons in CentOS 7

- CentOS Project has adopted a new rule for versioning numbers. The major number
  matches the RHEL major number, but the minor number is generated from the
  release date. For example, CentOS 7.1407.
- Adds Support for Scientific Linux.

Change-Id: I8ffb63ba3409c7595a0f13b5ec93c87b1d534d02
Closes-Bug: 1338777
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
(cherry picked from commit 0ed5b7745b6b200cdda4ae6b7d88af71498361e4)
Don't manage the nova uid/gid if nova_{user,group}_id is undef

Any user modification before standard system package creates the
user is wrong. Usecase of patch adding the user is also broken as
there are several other options: provide user before whole class
nova, have user id enforced by package or as most humans do accept
that in multi host enviroments there are 3 layers - user, group and
netgroup. In all cases nova puppet module should never touch the
user as it's provided by package on all supported systems, but for
backwards compatibility the management of user is disabled if
nova_group_id is undef or if nova_user_id is undef.

Closes-Bug: rhbz#1115946
(cherry picked from commit d850c3ceb4d2101078a75385d52c69b3a352776b)
Change-Id: If22b27f5fb78ba6821f4d6e8c275f8b80c70dd59
Merge "Don't manage the nova uid/gid if nova_{user,group}_id is undef" into stable/icehouse
Add support for os_region_name

For environments with multiple endpoints due to regions, tasks such as
cinder volume attach will not work unless os_region_name is set. This
allows the os_region_name to be passed in.

Change-Id: I5cc41385741054281dafb501742a0d7b26099f88
(cherry picked from commit bdc8fe5df475ce36e1befc54e12c167b4115163a)
Don't define virsh secret if already defined

We test to see if the ceph secret already has been defined before
installing the secret again.

This is mainly done to keep our Foreman runs clean, as it reports
on hosts that have had changes applied. Without the 'unless' clause
any node that has the nova compute class installed will report as
having changes applied.

Change-Id: I05e83f07570d4a0e67a700bd9d9030eef1c261c3
(cherry picked from commit 69b7a3c36645630aa668fe60639417fcbc24ce32)
Join enabled_ssl_apis array

Adds a stdlib join() to the enabled_ssl_apis so we can specify more than one.

Closes bug: #1360978

Change-Id: Ifd290fea802fc926a9e34076393c2c55c3cd9cf5
(cherry picked from commit 816fe4a78a330c2e2c6eb0849566d1777b8e91f6)
Makes kombu_ssl_* parameters optional when rabbit_use_ssl => true

The kombu_ssl_* parameters should not be required when rabbit_use_ssl => true
Rather, rabbit_use_ssl must be set to true if the kombu_ssl_* parameters are
used.

(Similar to this patch to puppet-neutron: https://review.openstack.org/#/c/113671/ )

Conflicts:
	manifests/init.pp
	spec/classes/nova_init_spec.rb

Closes-Bug: 1356083
Change-Id: I6a27ebf359c1910e221e9dc31711c6af569dc0ce
(cherry picked from commit 61429e79ddfc0308657482cb57e411f82c8a0165)
add parameter for libvirt_service_name

Currently the service name is taken from params.
This patch allows to overwrite the parameter.

Change-Id: I673854e81ca3177be9e4b1104fd862590616c163
(cherry picked from commit a79e5338df5f85cb299183e54b39e8a22a640f59)
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
nova::logging to support them. This change is identical to
<https://review.openstack.org/#/c/113560/> but it applies to puppet-nova
instead of puppet-ceilometer.

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

Change-Id: I25453f27c8864c8d56c023895d6aa4acf20a8ea0
(cherry picked from commit fb44c989c21ff73e0c0382b976949893a4c45c61)
Merge "Join enabled_ssl_apis array" into stable/icehouse
Merge "Don't define virsh secret if already defined" into stable/icehouse
Merge "Makes kombu_ssl_* parameters optional when rabbit_use_ssl => true" into stable/icehouse
Merge "Add extended logging options." into stable/icehouse