15637 Commits

Author SHA1 Message Date
Zuul
01abd75a68 Merge "Storwize: get list of all volumes for ensure_export." 2018-06-25 03:00:02 +00:00
Zuul
d9ee5372e9 Merge "VMAX docs - use config-table directive" 2018-06-23 02:19:27 +00:00
Zuul
89140dddfc Merge "DataCore: get rid of pylint errors due to contextlib" 2018-06-23 02:19:20 +00:00
Zuul
adf262aef4 Merge "api-ref: Adds os-update_readonly_flag API" 2018-06-22 21:46:10 +00:00
Zuul
063bd43ffa Merge "Fix invalid escape sequence warnings" 2018-06-22 21:46:05 +00:00
Zuul
333c0e4f5d Merge "Fix v3 sample files" 2018-06-22 21:46:01 +00:00
Zuul
cc8ede2892 Merge "Get rid of conditional rtslib_fb imports" 2018-06-22 21:45:58 +00:00
Zuul
c46ff2db51 Merge "VMAX driver - remove deprecated XML option" 2018-06-22 19:05:30 +00:00
Zuul
bc9efca122 Merge "VMAX driver - Deleting snapshot that is source of multiple volumes fails" 2018-06-22 19:05:27 +00:00
Zuul
f9611c5e2a Merge "VMAX driver - Incorrect service level reporting" 2018-06-22 03:09:07 +00:00
Zuul
f9fe85e8b8 Merge "VMAX driver and docs - change san_rest_port to san_api_port" 2018-06-22 03:09:01 +00:00
Zuul
d8021af72d Merge "VMAX: Address nits in list manageable code" 2018-06-22 03:08:58 +00:00
jeremy.zhang
299f4ecd0c Fix v3 sample files
This patch is mainly to fix some v3 sample json files to keep the format consistent.

Change-Id: Ibfe171f19e1530c0fcdc6a531c36871d1bc51a3c
2018-06-22 01:05:08 +08:00
Zuul
b79947c472 Merge "DS8K: Enable multiattach support" 2018-06-21 04:59:31 +00:00
Dongcan Ye
cb0cb208e3 api-ref: Adds os-update_readonly_flag API
This patch adds "os-update_readonly_flag" volume action API.

Change-Id: Idad24f9a17af3323a26ed487f1f0d20306bf935f
Closes-Bug: #1775915
Closes-Bug: #1771390
2018-06-21 04:38:16 +00:00
Zuul
7ff3505a68 Merge "HPE3PAR: Fix pointing to backend in group failover" 2018-06-20 22:17:00 +00:00
Sean McGinnis
09654af518 Fix invalid escape sequence warnings
There are a lot of DeprecationWarning message emited when running
under python 3.6 due mostly to non-raw strings being used for
regex expressions.

DeprecationWarning: invalid escape sequence \

These had previously been ignored, but starting with python 3.6,
and the commit for issue 27364, these are now considered deprecated
and will no longer be supported going forward. Per the discussion
on that issue, these strings should really be raw strings any way:

https://bugs.python.org/issue27364#msg272696

Change-Id: If6ff206e4bbcf10ab52d2895f606dafad2936ddb
2018-06-20 16:22:26 -05:00
Sean McGinnis
f1e942fe8d Get rid of conditional rtslib_fb imports
Newer versions of this library have been out for awhile now
and appear to be working well. This raises the minimum version
for rtslib_fb to a recent version that does not require the
conditional import due to the namespace change from rtslib to
rtslib_fb.

Depends-on: https://review.openstack.org/575530
Change-Id: I10f48833c2a61b7b2c6b300d4f8291a357f7e600
2018-06-20 16:18:21 -05:00
Zuul
5bd5c57032 Merge "Add v3 api-ref for updating snapshot status" 2018-06-20 20:58:08 +00:00
Sean McGinnis
4560e3e12a DataCore: get rid of pylint errors due to contextlib
Use of contextlib.closing causes pylint to not recognize the
type and causes "no memeber" errors. Since this is a locally
defined class that can simply be made into a context manager,
this removes the use of contextlib and handles it directly in
code.

Change-Id: I2b284b1ba51f848c183c3895948131de9e89d300
2018-06-20 15:15:59 -05:00
Sean McGinnis
1c741636c7 Increase pylint processes
The default process concurrency for pylint is 1. Since our gate
images used to run the job have 8 cores, this results in slower
job execution with many cores sitting idle. To speed things up,
this sets the process count to match the number of cores available.

Change-Id: If4ba3333a1cb3b8bb6b4797f9149f412d32047ef
2018-06-20 10:35:26 -05:00
jeremy.zhang
9519e20308 Add v3 api-ref for updating snapshot status
This patch adds v3 api-ref for updating relative fields to status of a snapshot.

Change-Id: I24b8a05c814eb6a69ce957c75b8d168576774380
2018-06-20 19:13:58 +08:00
Vivek Soni
a433c19ef0 HPE3PAR: Fix pointing to backend in group failover
Issue: After group failover, subsequent operations
like attach & detach volume, which are part of that
failed over group points to primary backend instead
of secondary.

This patch fixes the above issue by setting up the
appropriate backend in case of subsequent operation
on volume, which are part of group which is failed
over.

Change-Id: I679b11317c91ad28cefdf995a8d6849dc71bc1c5
Closes-Bug: #1773069
2018-06-19 23:11:02 -04:00
Margarita Shakhova
d5f79c52d8 Storwize: get list of all volumes for ensure_export.
This patch solves the problem of too slow initialization of
cinder-volume service.
Previously lsvdisk() was called separately for each 'in-use' volume
in order to check if the volume exists on the storage.
Now lsvdisk() is called once per pool.

Change-Id: Ia84afc12a30ea7b714b287844e81ba02ce4b0f3d
Closes-Bug: #1749687
2018-06-19 12:04:28 +00:00
wanghao
e396560f33 Keep ORM names matching their VO counterparts
Now cinder had some Versioned Objects which names do not
match their ORM counterparts. In method: get_model_for_versioned_object,
we handles those exceptions.

This patch fix this issue to keep the names match.

Change-Id: Icf709d87be99df95e5b52204032b730cd790096c
Closes-Bug: #1493112
2018-06-19 17:50:47 +08:00
Peng Wang
3599eb5ba9 DS8K: Enable multiattach support
Support multiattach capability for IBM DS8K

Change-Id: I4e1f79dba0ed241fabd83bf972f60a6cbe21a106
2018-06-18 19:08:06 -07:00
Zuul
1aa9231cb2 Merge "Storwize: add data reduction pool support" 2018-06-18 21:56:23 +00:00
Zuul
58a10d6097 Merge "policy docs: Add volume summary under GET_ALL_POLICY entry" 2018-06-18 21:56:18 +00:00
Zuul
ee7186845d Merge "DS8K: correct the return value for initialize_connection method" 2018-06-18 21:56:16 +00:00
Zuul
5f5032418c Merge "NEC driver: Delete max volumes per pool limit." 2018-06-18 20:29:29 +00:00
Zuul
baef0227fa Merge "Mark Dell EMC CoprHD Drivers unsupported" 2018-06-18 20:29:27 +00:00
Helen Walsh
6ac8051314 VMAX docs - use config-table directive
Replacing manually maintained config table with the automated
config-table directive

Change-Id: Icd1d2c19a142cd82dcf4c817db1368442bfbb1aa
2018-06-18 12:13:07 +01:00
Helen Walsh
c0a5be259e VMAX driver - remove deprecated XML option
'cinder_dell_emc_config_file' was deprecated in Queens. We are now
removing all reference to it and all XML parsing. Now we rely solely
on the config tags in cinder.conf.

Closes-Bug: #1768273

Change-Id: If6f7c58f445dd813df7161cc6cd6dd84484e8a7e
2018-06-18 12:10:45 +01:00
Ciara Stacke
6c3ab36479 VMAX driver - Deleting snapshot that is source of multiple volumes fails
Deleting a snapshot which is the source of multiple volumes fails with
the error: "The number of source and target devices must be equal". This
patch rectifies the issue by unlinking source and target volumes
individually where a single volume is a source of multiple targets.

Change-Id: I4b0c171051622f62aba1238c3b84d8a2c8bad6dc
Closes-bug: 1768047
2018-06-18 11:01:00 +01:00
Ciara Stacke
1149fccb25 VMAX driver - Incorrect service level reporting
'Optimized' is being reported as a service level option for VMAX
All-Flash arrays, in the get_pools output, and it can be assigned as
the default pool if there is no service level assigned to a volume type.
This can cause errors, as Optimized is not a recognized service level on
All Flash arrays. This patch rectifies the issue.

Change-Id: I9365ae3b923eeb92ac00023b7040e934b6e2df57
Closes-bug: 1766633
2018-06-18 10:53:25 +01:00
Helen Walsh
017dd6b4bc VMAX driver and docs - change san_rest_port to san_api_port
This is part of the effort to consolidate and eliminate duplicate
configuration tags. san_rest_port will be deprecated in this
release and replaced by san_api_port in the next.

Change-Id: I5051e39c3bf45a3a4903e94c1597a142321a77e4
Closes-Bug: #1758010
2018-06-18 10:18:58 +01:00
Zuul
9333074ee6 Merge "Cloning image fails results duplicate cache entry" 2018-06-18 09:01:05 +00:00
Zuul
f9e05029de Merge "Imported Translations from Zanata" 2018-06-16 12:48:10 +00:00
Zuul
76d20dfe2e Merge "Mark the HGST Driver unsupported" 2018-06-16 06:20:23 +00:00
OpenStack Proposal Bot
1bacdc33cb Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I01b4e6bd8000401adeaf2a3ee86faff39581e2f3
2018-06-16 06:10:53 +00:00
Zuul
941501f10e Merge "RBD: support to report backend state" 2018-06-16 02:46:36 +00:00
Zuul
0129498b8c Merge "Remove _static folder in doc directory" 2018-06-16 02:46:34 +00:00
Zuul
586e60becb Merge "NEC driver: Faster clone status check." 2018-06-16 02:46:30 +00:00
Felipe Monteiro
a1138de9e0 policy docs: Add volume summary under GET_ALL_POLICY entry
Using a codesearch [0] it is apparent that volume summary
enforces GET_ALL_POLICY [1]. Thus, this patchset includes
the entry for /volumes/summary under the GET_ALL_POLICY
documentation to signal to services and users all the APIs that
enforce that policy.

[0] http://codesearch.openstack.org/?q=vol_policy.GET_ALL_POLICY&i=nope&files=&repos=cinder
[1] 4b96310411/cinder/volume/api.py (L633)

Change-Id: Ic33f763df603f1170b8cf1bfc35cc285d5ed0669
2018-06-15 19:13:43 -04:00
Zuul
eb3d73b67e Merge "Mark DataCore Drivers unsupported" 2018-06-15 17:27:37 +00:00
Zuul
62abbbbbe8 Merge "Add debug logs for weigher filters" 2018-06-15 17:27:34 +00:00
Zuul
fc2897c165 Merge "Update macOS devref info" 2018-06-15 17:19:24 +00:00
Zuul
082c401207 Merge "Allow running unit tests on macOS" 2018-06-15 17:19:20 +00:00
yixuan.zhang
822fb701de Storwize: add data reduction pool support
Data reduction pool is a new style pool on Storwize/SVC storage.
Thin provisioned/compressed vdisk copies created in a data_reduction
pool are quite different from regular pool.

This patch adds thin-provision and compressed volumes support on
data reduction pool.

Change-Id: Icb09cbacc3cfe63017d17847799c0904e06cf8a7
Implements: blueprint svc-drpool-support
2018-06-15 17:31:09 +08:00
Zuul
2cbab15f1c Merge "Add ansible helper to Linux dev environment info" 2018-06-14 22:03:39 +00:00