cinder/cinder/volume/drivers/huawei
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
..
__init__.py Refactor Huawei Volume driver 2015-07-18 16:49:05 +08:00
constants.py Huawei: Backend capabilies report optimization 2016-09-18 12:52:24 +08:00
fc_zone_helper.py Huawei: Support backup snapshot 2016-07-16 01:35:09 +00:00
huawei_conf.py Python3 common patterns 2017-01-05 20:28:26 +08:00
huawei_driver.py Change Huawei driver's private data storing place 2017-07-21 15:33:24 +08:00
huawei_utils.py Change Huawei driver's private data storing place 2017-07-21 15:33:24 +08:00
hypermetro.py Change Huawei driver's private data storing place 2017-07-21 15:33:24 +08:00
replication.py Change Huawei driver's private data storing place 2017-07-21 15:33:24 +08:00
rest_client.py Change Huawei driver's private data storing place 2017-07-21 15:33:24 +08:00
smartx.py Huawei: Check the QoS status before we use 2016-03-16 09:35:46 +08:00