Fix the RBD driver class reference

The reference for the RBD driver class was wrong.  It was fixed in all
places.

blueprint rbd-for-block-storage

Change-Id: Ie91fd2d41b82120673c0b579230228c2f6dc79e3
Merge "Fix the RBD driver class reference"
Updates cinder-group-active script to work on Ubuntu

Setting the following attribute to true causes a chef-client to fail on
Ubuntu:

default['openstack']['block-storage']['volume']['create_volume_group']

The reason is that when this is enabled, the file cinder-group-active
is dropped in /etc/init.d and attempting to start it fails since it's
not written for Ubuntu.  This change wraps some of the Red Hat specific
bits with if statements and also conditionally runs the vgcreate so we
don't run losetup unnecessarily (which keeps mapping the volume file to
new /dev/loop devices).

Change-Id: I5e14aeec64b1c1d596584bfc5d3352f45114421a
Closes-Bug: #1274385
Add attribute for notification_driver

- Add default ['openstack']['block-storage']['notification_driver'] attributes
- Value defaults to the same as before, so no change, but attribute can
  be overridden.
- Add test for the attribute
- Add README.md entry for the attribute

Change-Id: I3ee6f044a0d9d7a46f5e0225ae440fac4f9255a3
Closes-Bug: #1275714
Upgrade/Update rubocop

Now that almost all of the rubocop blueprints have been completed, make
one final pass through all of the cookbooks ensuring they're all in
sync with each other.

- Upgrade rubocop to 0.18.1
- Fix violations caused by 0.18.1 upgrade
- Add Includes for non-existent folders to Includes so they
  automatically cover future additions

Change-Id: I9224b785f50103d348e3b16ea24e5dc8cab84c62
Implements: blueprint lint-and-unit-testing-for-havana
Merge "Upgrade/Update rubocop"
Merge "Updates cinder-group-active script to work on Ubuntu"
change tests to use SLES platform instead of openSUSE

Change-Id: I0631e9c26f02164fa15cf52198055643eb540132
Add client recipe for block storage

Add an explicit recipe for installing client
only packages.
Tests are also included.
Bumped minor version for this new feature.

Change-Id: I4cf9aa8351f0c846b835b28d06c9ee92561f0353
Addresses: blueprint add-client-recipes
Add SolidFire support as a provider for cinder

- Add SolidFire attributes
- Re-organise SAN attributes, to be generic and import from
  SolidFire/storwize
- Add tests for SolidFire attributes/settings

Implements: blueprint solidfire-cinder-provider
Change-Id: Ic91be41ca04426e829a68a66317d34db08e60b6f
Fix for node['cpu']['total'] not being specified

- Add an override for node['cpu']['total'] in spec files

Change-Id: Ib519865760acd3648386d58bfd5da71a0a880cd0
Closes-Bug: #1280309
Add rabbit/qpid block-storage mq notification_topics setting

- Adjust template to use notification_topics setting
- Add test to check this setting for qpid/rabbit

Change-Id: I9e7df263fd41aec5d5147be4baa902f073206e19
Closes-Bug: #1276099
Adding ChefSpec::Converge to spec_helper.rb

Change-Id: I1e6cc97c4ebdf35e3f023d4c6d9c5be4033aab3d
Addresses: blueprint lint-and-unit-testing-for-havana
Cleanup node['cpu']['total'] work-around for fauxhai

The fauxhai fix for the cpu stanza has merged and is available in
fauxhai version 2.1.0 so reverting the workaround patch and ensuring
fauxhai 2.1.0 is used.

- Remove the node.set for ['cpu']['total']
- Adjust the Gemfile to use fauxhai 2.1.0
- Adjust the Gemfile.lock

Change-Id: Ib1fc86af1306d5443721400589a8c830263c0767
Addresses: blueprint fauxhai-cleanup
Change platform? check in template

Rendering this template currently returns a
Chef::Mixin::Template::TemplateError error on the platform? method.  We
could change the method to node.platform? however this then triggers an
FC028 error.

Note that this issue is only encountered when
node[openstack][block-storage][volume][create_volume_group] set to
true.

Change-Id: I4d5ce97762c6b82bbf10e8194c482049eb3a6620
Closes-Bug: #1280285
Merge "Adding ChefSpec::Converge to spec_helper.rb"
Utilise ['openstack']['region'] from cookbook-openstack-common

- Set ['openstack']['block-storage']['region'] to equal ['openstack']['region']
- Add tests for endpoint creation, to confirm region is set.
- Add test to override the endpoint and confirm it is used.

Change-Id: I2e88e8ff7d5fa8f5d0d611e916eff65ddff8e85e
Addresses: blueprint uniform-region
Ceph RBD integration for openstack-block-storage

This allows using a Ceph cluster as cinder backend.  The necessary
dependencies are defined in platform_options['cinder_ceph_packages'] and
can be overridden.

Overall documentation on Ceph integration has to be added, I'd be glad
to help with that.

This changes the way secrets are handled:

openstack[block-storage][rbd_secret_name]  will fetch the secret uuid
shared between cinder and nova from the databag with that name and set the
openstack[block-storage][rbd_secret_uuid] attribute.

Besides that, the user is expected to provide the password for the cephx
user, `rbd_user`, used with the pool `rbd_pool`, in the data bag item
`rbd_key_name` in the service password data bag.

Implements: blueprint rbd-for-block-storage

Change-Id: Iafe2bdea0d6120bb08c027482c94d819a67aee4a
Add volume_clear & volume_clear_size options for LVM

- Split out LVM configuration using LVM Driver
- Add volume_clear_size & volume_clear attributes/configuration
- Add tests for these values

Change-Id: I07376e3b3152e986ba1efeb9f1773fba1c4c436d
Closes-Bug: #1279756
Merge "Add client recipe for block storage"