cinder/cinder/tests/unit/volume/drivers
zengyingzhe 10032adc6b Change Huawei driver's private data storing place
This patch is to fix issues at two circumstances:
1. Create volume from image by non-admin user, this operation
will fail because Huawei driver tries to record LUN WWN at admin
metadata, however non-admin user doesn't have the admin metadata
access right, so exception is raised.
2. Restore volume backup to 3rd volume, this operation will also
restore backup volume's metadata to the 3rd volume, but the data
recorded in metadata is strong correlative to the corresponding
LUN at backend storage, so this will break the one-to-one
relationship between the restored volume and the LUN at storage.

To fix the issues above, we moved all LUN private data to
provider_location, stored as a dict string, not use admin
metadata or metadata to store LUN private data.

Change-Id: Id18622935ecaa1715491b4ede48c7b627e43d3fa
Closes-Bug: #1699109
(cherry picked from commit 2d6ac671f2)
2017-07-21 15:33:24 +08:00
..
dell Dell EMC SC: Raise on _init_volume create_snapshot failure 2017-04-13 15:16:06 +00:00
dell_emc Merge "VMAX driver - None connector object in a terminate_connection" into stable/ocata 2017-07-18 22:34:48 +00:00
disco Add manage/unmanage to DISCO driver 2017-01-06 02:26:20 +00:00
fusionstorage Fix dos-style endlines 2016-12-08 14:36:03 +00:00
hitachi Merge "HNAS: Cloned volume with different volume type" 2017-02-05 20:06:05 +00:00
hpe 3PAR: rally test create-volume-from-snapshot fails 2017-03-02 03:45:58 +00:00
huawei Change Huawei driver's private data storing place 2017-07-21 15:33:24 +08:00
ibm ds8k: should verify REST version separately 2017-05-11 01:55:15 -07:00
infortrend Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
nec Add cinder volume drivers for NEC Storage M series 2016-12-14 17:45:17 +09:00
netapp NetApp: Refresh directory before waiting 2017-04-26 02:52:00 +00:00
nexenta Fix Pep8 Failures for Python3 2017-05-10 08:26:51 +00:00
solidfire Fix lock contention in SolidFire driver 2017-03-15 16:59:02 -06:00
synology Move driver tests to tests/unit/volume/drivers 2017-01-19 19:46:24 +05:30
violin Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
vmware Merge "VMware: Allow deletion of snapshot in error state" 2017-01-23 23:36:01 +00:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_block_device.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_blockbridge.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_cloudbyte.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_coho.py NFS snapshots 2017-01-25 14:12:11 -05:00
test_coprhd.py Move driver tests to tests/unit/volume/drivers 2017-01-19 19:46:24 +05:30
test_datera.py Datera 2.3 driver update 2017-01-06 13:25:54 -08:00
test_dothill.py Merge "Merge changes from kilo version of the dothill driver" 2017-01-27 07:04:20 +00:00
test_drbdmanagedrv.py Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
test_falconstor_fss.py FalconStor: Restore option "san_secondary_ip" 2017-01-23 16:44:43 +08:00
test_fujitsu.py Stop using mox in unit/volume/drivers/*.py 2016-09-01 22:19:39 +07:00
test_gpfs.py GPFS: Fix forceful delete for consistency group 2017-06-01 13:11:58 +05:30
test_hgst.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_infinidat.py New cinder driver to support INFINIDAT InfiniBox 2016-12-05 11:10:07 +02:00
test_kaminario.py Merge "Do not manage VG with > 1 volume in Kaminario driver" 2016-12-13 17:36:09 +00:00
test_lvm_driver.py LVM: Don't initialize VG with lvm_type='auto' 2017-07-13 15:35:49 +00:00
test_nfs.py NFS snapshots 2017-01-25 14:12:11 -05:00
test_nimble.py Fix Qos for clone for Nimble Storage Driver 2017-01-26 09:55:02 -08:00
test_prophetstor_dpl.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_pure.py Merge "Switch to using generic groups with Pure driver" 2017-01-27 23:06:35 +00:00
test_qnap.py Move driver tests to tests/unit/volume/drivers 2017-01-19 19:46:24 +05:30
test_quobyte.py NFS snapshots 2017-01-25 14:12:11 -05:00
test_rbd.py Check if volume node has enough space for image operations 2017-01-26 12:33:35 +02:00
test_reduxio.py Move driver tests to tests/unit/volume/drivers 2017-01-19 19:46:24 +05:30
test_remotefs.py Fix double call to "qemu-img create" 2017-01-26 15:11:22 +00:00
test_san.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_sheepdog.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_smbfs.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_tegile.py Fix for Tegile driver failing to establish volume connection 2016-10-03 17:57:08 -07:00
test_tintri.py Stop using mox in unit/volume/drivers/*.py 2016-09-01 22:19:39 +07:00
test_v7000_iscsi.py Move volume drivers unit tests to tests.unit.volume.driver module 2016-10-05 13:33:46 +03:00
test_vzstorage.py Tests: Fix mock for vzstorage remotefs 2017-01-25 11:10:08 -05:00
test_xio.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_zadara.py Move volume drivers unit tests to tests.unit.volume.driver module 2016-10-05 13:33:46 +03:00
test_zfssa.py NFS snapshots 2017-01-25 14:12:11 -05:00
test_zte_ks.py Move volume drivers unit tests to tests.unit.volume.driver module 2016-10-05 13:33:46 +03:00