Add a volume driver in Cinder for Scality SOFS

Scality SOFS is a network filesystem mounted with FUSE, with most
options given in a configuration file. Given a mount point and a SOFS
configuration file as driver options, the Scality volume driver mounts
SOFS, and then creates, accesses and deletes volumes as regular
(sparse) files on SOFS.

Change-Id: I914714e8547a505109514e2072f9e258abca8bd4
Implements: blueprint scality-volume-driver
Update cinder-manage to use FLAGS.log_dir.

We no longer use FLAGS.logdir. This commit updates
cinder-manage to use the new FLAGS.log_dir option instead.

Fixes LP Bug #1130258.

Change-Id: Id5f1175ec83f0f0b677ab0d75b310fa054459319
rbd: implement get_volume_stats()

Report raw capacity because replication level may change, and the
cluster may be used by more than one service. If the command fails for
any reason, return unknown capacity.

Change-Id: If6871124301b51e4768ea64c4d8e5109e0804db8
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Merge "Add a volume driver in Cinder for Scality SOFS"
Merge "Update cinder-manage to use FLAGS.log_dir."
Add LIO configuration for iSCSI initiators

LIO requires iSCSI initiator IQNs to be specified in an ACL to be
allowed to connect to the target. Currently this is only done for
the IQN of the initiator on the cinder-volume node.

This patch allows setting lio_initiator_iqns in cinder.conf to
provide access to other nodes.  (Remote Nova compute nodes.)

Change-Id: I7ddee542fcd3fba5b6f142ad15459c08cfedc9d2
Ensure volume exists before deleting.

fixes bug 1130744

Change-Id: I39152dd1caa5ab1b2cfbae56eaec8c8fa309669c
Bump the oslo-config version to address issues.

Cinder unit tests weren't running with b3, b4 has some
fixes that put things back on track.

Change-Id: I7f8b7e1ab688790577d5ea3e95b4b20c6e552fae
Merge "Add LIO configuration for iSCSI initiators"
Merge "rbd: implement get_volume_stats()"
XenAPINFS: Create volume from image (generic)

Fixes bug 1130706

Related to blueprint xenapinfs-glance-integration

This patch enables users to use any images recognised by qemu-img to
create volumes on XenAPINFS.

Change-Id: I9dd8ec237309da82ec7f73db1acb48e5b7411c9e
Add HUAWEI volume driver in Cinder

This is an iSCSI driver.It supports HUAWEI OceanStor T and
Dorado series storage systems.The driver communicates with
storage systems based on SSH.

Implements: blueprint huawei-volume-driver
Change-Id: Ib3fd8ff636106e751789f6367a5b57bdaab316f4
Uses tempdir module to create/delete xml file

The emc test in cinder is leaving behind its test generated
cinder_emc_config.xml file in /cinder/tests directory.  This
fix uses tempdir module to create the xml file and delete it
when tearDown is called.

Change-Id: I7fd1dda83a097d1122c58cd3ed723ed7f5de30d8
Fixes: bug #1130495
Moved cinder_emc_config.xml.sample to emc folder

Vendor unique driver files should not be placed in /cinder/etc/cinder, but
should stay with the vendors driver.  Moved cinder_emc_config.xml.sample
to cinder/volume/drivers/emc folder.

Change-Id: I92151abdf46a3597ea94284b6dfcf611153cab19
Fixes: bug #1130496
Better error handling around volume delete.

fixes bug 1130844

Change-Id: I6886bff24194c2ace3d7719b93b5ab79aa8a0e8d
Merge "Bump the oslo-config version to address issues."
Merge "Better error handling around volume delete."
Merge "Add HUAWEI volume driver in Cinder"
Implement a basic backup-volume-to-swift service

Implements: blueprint volume-backups

This patch adds the new service, api and basic unit tests

Change-Id: Ibe02c680c5e9201d208c92e796e86ad76b4b54b3
Merge "Moved cinder_emc_config.xml.sample to emc folder"