15714 Commits

Author SHA1 Message Date
michael-mcaleer
512fd07124 VMAX Driver - Incorrect SSL cert verification
SSL certificates are not being applied to the REST session as desired.
If a user sets SSL verification to True but does not specify a path
to the SSL cert, SSL is disabled instead of looking in the system
certificate bundle.

Closes-Bug #1772924

Change-Id: I20cb64c11e43c22558939e27708ec678c5723ca2
2018-06-18 14:51:32 +01: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
Dongcan Ye
9e490e25a3 api-ref: Rephrase delete volume precondition
Change-Id: Ibab0cb257a17a1af37d522348f517185b80dfabc
Closes-Bug: #1774280
2018-06-16 03:34:48 +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
Zuul
f266406325 Merge "Clean output of driver list generation" 2018-06-14 22:03:37 +00:00
Zuul
90ef10924d Merge "Fix tox -e docs failure" 2018-06-14 20:37:07 +00:00
Sean McGinnis
1515a63e3a Allow running unit tests on macOS
Two issues prevented running our unit tests on macOS. Mocking
os.stat appears to cause issues internally when running tests,
and trying to load the Linux-only rtslib_fb package would
prevent even loading the source to find tests.

This mocks out packages to allow the code to be loaded and
skips tests that have issues on macOS to at least allow the
other tests to be run.

Change-Id: I1d2cfd0d68796e1af5344b481e610c2070e41093
2018-06-14 14:59:31 -05:00
Sean McGinnis
e80deb0510 Update macOS devref info
Mac OS X was renamed to macOS starting with Sierra in 2016. This
updates the development environment information to update the name
and note that unit tests and development are not fully supported
when using this OS.

Includes various doc formatting cleanup as well since I was making
changes to the file.

Change-Id: Ia62ac91add51450dc99c431e9f64732553495558
2018-06-14 13:27:33 -05:00
Zuul
06817266df Merge "Be explicit about tox python version" 2018-06-14 15:45:02 +00:00
Eric Harney
5ba82a1d69 Fix tox -e docs failure
Fails with D005 No newline at end of file

Change-Id: Ie87492a40971736057223d1ecbb782c0c1c689d3
2018-06-14 10:18:02 -04:00
Sean McGinnis
ac9a9343e6 Add ansible helper to Linux dev environment info
This adds instructions on how to use an Ansible playbook to
quickly get a working dev environment set up for Linux
environments as an alternative options to manually installing
packages

Change-Id: Ib9d932fca7002299537a1c0da4053a671ce3ccb1
2018-06-14 08:24:50 -05:00
Zuul
e1cef0ea51 Merge "Implement privsep boilerplate in cinder." 2018-06-14 08:04:18 +00:00
Zuul
4335b3e544 Merge "VMAX driver - VMAX list manageable volumes and snapshots." 2018-06-14 08:04:16 +00:00
Zuul
22a5a23e7c Merge "Add documentation page for basic volume quality of service" 2018-06-14 03:15:01 +00:00
TommyLike
1785ad3d2e Remove 'message' from format argument from exception
This patch removes 'message' from format argument
of 'BackupDriverException' exception.

We should not use 'message' as a format argument
and the reason is described here [1]. From a long
time view we need remove them from exceptions rather
than remove it when initialized.

[1]: https://review.openstack.org/#/c/572674/

Change-Id: I306853064ec4612444c9777d875a28fbe6e2027a
2018-06-14 10:52:06 +08:00
TommyLike
833e47f5a7 Remove 'message' from format argument from exception
This patch removes 'message' from format argument
of 'UnableToExecuteHyperScaleCmd' exception.

We should not use 'message' as a format argument
and the reason is described here [1]. From a long
time view we need remove them from exceptions rather
than remove it when initialized.

[1]: https://review.openstack.org/#/c/572674/

Change-Id: I9eb27adcd7880029a133c3657bbae67a0bc21a74
2018-06-14 10:28:09 +08:00
Sean McGinnis
5542de51bc Be explicit about tox python version
We want to default all jobs to use python 3 except for
the ones that use explicit versions. Unfortunately, the
current tox behavior for setting basepython to python3
is not intuitive.

If the system default is python 3.5, then when basepython
is set to python3, both the py35 and py36 targets will
end up running with python 3.5.

To get around this we need to not set a default base
version and explicitly set each testenv to python3 that
we want to run using 3 instead of 2 but do not really
care which minor version is used.

Change-Id: I3971eeafbd1e732a584b0c52d2eb6c2175b709aa
2018-06-13 16:54:35 -05:00
Peng Wang
edbc2956a5 DS8K: correct the return value for initialize_connection method
In patch https://review.openstack.org/#/c/564724/, the comparison
operation is case sensitive and DS8K driver converts the return host
wwpn value to uppercase for initialize_connection method so this caused
os_brick not to discover the volume for the host.

Change-Id: Iffc30ac75851436a1b0aed7099656d4076ff687a
Closes-Bug: 1776134
2018-06-12 21:37:55 -07:00
Zuul
b229a9aded Merge "api-ref: Fix some params in volume types" 2018-06-13 04:00:38 +00:00
Zuul
0548c1ab06 Merge "Support image signature verification" 2018-06-13 04:00:15 +00:00
junboli
b0ae94feb9 Add debug logs for weigher filters
Add logs for weigher filters so that we can debug from
the log.

Change-Id: I95f6145c77028aee4cce310c7b2a9636fdeed5d8
2018-06-13 09:03:11 +08:00
Simon Dodsley
a8c30bba3c Add documentation page for basic volume quality of service
Change-Id: I768aeded94e6d00dd1f8f4d5eebeab43ec5f5b6d
2018-06-12 22:57:51 +00:00
Sean McGinnis
cea466cfe0 VMAX: Address nits in list manageable code
This addresses nits pointed out during review of list manageable
volumes and snapshots in https://review.openstack.org/#/c/557297/

Change-Id: I77d95bc2f9385151e76c23f17810260df96d6868
2018-06-12 13:26:22 -05:00
Zuul
130de4f9cb Merge "Add doc about backend_default config" 2018-06-12 18:01:46 +00:00
Zuul
b711c8da16 Merge "Run pylint job under py3" 2018-06-12 16:00:08 +00:00
Zuul
a8578bd488 Merge "Default tox jobs to python3" 2018-06-12 15:43:38 +00:00
Zuul
9a7b250606 Merge "[api-ref] Fix the parameter metadata in v3" 2018-06-12 14:06:56 +00:00
Zuul
38492b1bba Merge "Add missing volume APIs" 2018-06-12 12:40:52 +00:00
Zuul
c70eafc9c2 Merge "Add support for promoting a failed over backend" 2018-06-12 12:40:50 +00:00
Zuul
7989b4c9b6 Merge "Api-ref: Fix the incorrect parameter description" 2018-06-12 12:31:26 +00:00
Zuul
20623abfe9 Merge "trivial: Add min_version: 3.1 to api_ref for upload volume" 2018-06-12 12:31:23 +00:00
Zuul
e0f3623590 Merge "Move driver config opts out of catchall page" 2018-06-12 11:52:27 +00:00
Zuul
d520a704ce Merge "Add check to the flake8 job" 2018-06-12 11:52:25 +00:00