18578 Commits

Author SHA1 Message Date
Helen Walsh
e1f56a7c85 Cinder - Creating clone of encrypted volume fails
After a clone of an encrypted volume is created, an attach is attempted.
PowerMax driver requires the provider_location be populated in order
to find the volume to attach. For this, the volume object needs to be
updated.

Closes-Bug: #1913054
Change-Id: Idf5b3783ddc333d6d60f28a3d08e5fd28e5c1fa8
2021-03-25 15:00:32 +00:00
Zuul
02809ef4ec Merge "Update SolidFire Storage assisted migration in support-matrix" 2021-01-25 23:10:59 +00:00
Zuul
d26092348b Merge "Add Cinder driver for TOYOU ACS5000" 2021-01-22 20:42:27 +00:00
yangheng
fe0822b1bc Add Cinder driver for TOYOU ACS5000
* Supported Protocol
 - iSCSI

* Supported Feature
 - Volume Create/Delete
 - Volume Attach/Detach
 - Snapshot Create/Delete
 - Create Volume from Snapshot
 - Get Volume Stats
 - Copy Image to Volume
 - Copy Volume to Image
 - Clone Volume
 - Extend Volume
 - Volume Migration

ThirdPartySystems: TOYOU ACS5000 CI
Change-Id: Ia7d2056e0a49032654812da74dac514dfac83529
Implement: blueprint toyou-acs5000-driver
2021-01-20 18:28:51 +00:00
Zuul
e39c0406de Merge "Add driver for Dell EMC PowerVault ME Series" 2021-01-20 06:41:56 +00:00
Zuul
82767362b0 Merge "Pure: Add default value to pure_host_personality" 2021-01-20 06:26:42 +00:00
Fernando Ferraz
1156c89c2f Update SolidFire Storage assisted migration in support-matrix
Storage assisted volume migration for NetApp SolidFire driver was
merged in Victoria release cycle [1]. This patch updates the
support-matrix to claim driver support to the feature.

[1] https://review.opendev.org/c/openstack/cinder/+/746941

Change-Id: I87fb30b7faddf615d6df4401de444b9d9f7cb2e2
2021-01-19 13:13:03 +00:00
Zuul
4428a42ac6 Merge "Remove unneeded arg from _clean_db (vol manager)" 2021-01-18 20:26:12 +00:00
Gorka Eguileor
69f4f5ffe4 Pure: Add default value to pure_host_personality
Pure's "pure_host_personality" configuration option currently defaults
to a non valid value according to its choices.

This affects tools leveraging the "get_driver_options" mechanism, since
the default value for the option was not considered a valid option.

This patch sets the default explicitly and adds it as a valid choice.

Change-Id: I381b80920d812a3f3b5f75b6dae66aa932f6baa4
2021-01-18 12:35:31 +01:00
Chris M
e9d1bf8f6c Add driver for Dell EMC PowerVault ME Series
Change-Id: I0af2d5cfbbfdb384786ef0c17cf96ba8ca865ced
Implements: blueprint dellemc-me-driver
2021-01-16 23:41:45 +00:00
OpenStack Proposal Bot
f3d1168856 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie5d790e1301870dfb53916219118768a57d55cb0
2021-01-16 06:08:13 +00:00
Zuul
006a4f4817 Merge "Pure Storage FlashArray: Add active/active support" 2021-01-16 05:49:23 +00:00
Zuul
0be66140de Merge "Reno: Use customized template" 2021-01-15 18:16:53 +00:00
Eric Harney
f19a92064a LVM: Support only LVM 2.02.107+
Require LVM version 2.02.107 (circa 2014).

Warn if the driver starts on a machine with an
older LVM version.

This is the first version that supports
"lvs --readonly".

Change-Id: Ibc49d870442a10605558c244ed97ce7671dc594e
2021-01-11 17:02:20 -05:00
Eric Harney
83e511e012 LVM: Use --readonly for lvs
We only need information about existence of
LVs, which is readable w/ --readonly.

This should perform better in general
and may help dodge the problem appearing in
bug #1901783.

This requires LVM 2.02.107+.

Related-Bug: #1901783
Change-Id: Ib2a6dac8d074decfbbba2ca8330714f80d2973c9
2021-01-11 17:02:20 -05:00
Zuul
662bb58517 Merge "Tests: Fix rbd unit test failure due to ceph keyring file" 2021-01-06 19:33:35 +00:00
Zuul
a9c922ab7f Merge "Correct group:reset_group_snapshot_status policy" 2021-01-06 16:43:56 +00:00
Eric Harney
d3f4c55593 Tests: Fix rbd unit test failure due to ceph keyring file
This test fails if /etc/ceph/ceph.client.admin.keyring
exists.  Mock out isfile() to get the behavior the unit
test expects.

Closes-Bug: #1909109

Change-Id: Ie9fd2a0e14b426c68f7c7a22db590a2d94fa0084
2021-01-06 09:49:01 -05:00
Zuul
70cd6f4faa Merge "pylint: run coding-checks.sh with bash" 2021-01-05 16:10:35 +00:00
Zuul
5d3fe0a7f4 Merge "[SVF] RevertToSnapshot support for GM volumes" 2021-01-04 23:43:04 +00:00
Eric Harney
ce060323f0 pylint: run coding-checks.sh with bash
[[ is a bash extension and therefore not
available on platforms where sh is not bash.
Use bash explicitly.

Change-Id: I3f31acd5fc3d7422270be53510962dcbc08db602
2021-01-04 08:46:50 -05:00
Zuul
9c1b4f40ba Merge "Add docs and update support matrix for Hitachi driver" 2021-01-02 15:32:26 +00:00
Zuul
8b6822874d Merge "3PAR: Workaround SSH logging issue" 2021-01-02 15:32:09 +00:00
Zuul
c6e13c1a85 Merge "Remove lxml deprecated methods" 2021-01-02 15:31:47 +00:00
Zuul
f98d1c24dc Merge "[api-ref]Add replication_status(optional) to List groups with details response" 2021-01-02 15:31:20 +00:00
Zuul
b3cfddb561 Merge "[SVF]: Fixed host and group failover issues" 2021-01-02 15:31:02 +00:00
Zuul
8240195bd6 Merge "RBD: Retry delete if VolumeIsBusy in _copy_image_to_volume" 2020-12-22 15:06:23 +00:00
Zuul
3415e2a9ae Merge "Switch from unittest2 compat methods to py3 methods" 2020-12-22 15:05:58 +00:00
Zuul
0abcdc4a69 Merge "Fix cinder-manage <category> traceback" 2020-12-22 14:51:12 +00:00
Zuul
8660e95bd8 Merge "Pure Storage - bump version numbers for Wallaby" 2020-12-22 14:50:12 +00:00
tushargite96
7d705fceae Basic volume QoS doc.
The Cinder Basic volume quality of service documentation does
not provide enough information to understand difference
between options to control volume quality of service.

These option can categorized into fixed and burst IOPS per volume
and fixed and burst bandwidth per volume.

Change-Id: Ia4533185fece4576640968e91c0112add7ce73ae
Closes-Bug: #1894052
2020-12-22 06:28:17 +00:00
Kazumasa Nomura
96f09aae52 Add docs and update support matrix for Hitachi driver
Change-Id: Ib2f793e1d68ba2f3e613ee43c553f1d2a1d7f5a4
2020-12-21 07:54:05 +00:00
OpenStack Proposal Bot
482e6a3cc5 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib68304101c24a2d57d29b82a0d616c2a4d3c0a01
2020-12-20 06:08:42 +00:00
Brian Rosmaita
1631742f43 Correct group:reset_group_snapshot_status policy
The default value for the group:reset_group_snapshot_status policy, which
governs the Block Storage API call "Reset group snapshot status" [0],
was changed to admin-or-owner during refactoring for the policy-in-code
initiative in Queens [1].  Consensus at the Wallaby R-18 mid-cycle was
that this change was a mistake that should be corrected [2].

[0] https://docs.openstack.org/api-ref/block-storage/v3/#reset-group-snapshot-status
[1] https://review.opendev.org/c/openstack/cinder/+/507812
[2] https://wiki.openstack.org/wiki/CinderWallabyMidCycleSummary#consistent_and_secure_policies

Change-Id: I7875d365bb73dd80ecbe30c4801599b6f781cc39
Closes-bug: #1908315
2020-12-16 21:34:57 -05:00
Zuul
5c620c6232 Merge "[goal] Deprecate the JSON formatted policy file" 2020-12-16 21:24:39 +00:00
Zuul
09cd26b0c5 Merge "Update doc contributor doc" 2020-12-16 19:45:35 +00:00
Zuul
790528ee08 Merge "[SVF]:Fix clone fcmap not being deleted in cleanup" 2020-12-16 13:14:45 +00:00
Zuul
108c554dc3 Merge "Add CHAP support to Dell EMC PowerStore driver" 2020-12-15 14:00:41 +00:00
Zuul
8e0ea0a9ae Merge "[SVF]:Fix in change_vdisk_iogrp during retype" 2020-12-14 17:27:07 +00:00
OpenStack Proposal Bot
d5750ea093 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2853b0e4f76daba7a9e623b1dd4040ef857f53f3
2020-12-13 06:15:49 +00:00
Ghanshyam Mann
325001045c [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on project side
via warning in doc and format releasenotes.

1st item if already done by cinder in Stein so this commit
only cover the 2nd item.

Since oslo.policy 3.6.0, by default oslo policy will
fallback to existing policy.json file to give operator some
time to migrate it to new default policy.yaml. But cinder
already changed the default value to policy.yaml long back
since Stein so no need to fallback to default JSON file. To
do that it disable this fallback via flag to oslo.policy.

Also convert the tests/unit/policy.json to policy.yaml file.

Additionally, made some corrections to outdated documentation
when removing references to a "policy.json" file.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Co-Authored-By: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Change-Id: Iaf8a454e60d1e4b66981b61175f89203cc15e439
2020-12-11 18:31:04 -06:00
OpenStack Proposal Bot
f845f90219 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9502c808c309cf86c7a66fc69f8c97f5e4ab26fb
2020-12-11 06:17:11 +00:00
Corey Bryant
6231d26667 RBD: Retry delete if VolumeIsBusy in _copy_image_to_volume
Cinder can fail to create an image-based volume if RBD mirroring
is enabled. With the journaling-based approach to RBD mirroring,
ceph will still create a snapshot as a result of volume creation.
The volume create in _create_from_image_download() results in
a snapshot getting created, resulting in a race where delete_volume()
gets a VolumeIsBusy exception.

Change-Id: Ib80e04512ec34a390e9e17af2f3544e18cad8598
Closes-Bug: #1900775
2020-12-09 13:20:07 +00:00
Brian Rosmaita
d3ffa90baa Update requirements and lower-constraints
Bring the versions specified in requirements.txt and test-req.txt
closer to what's actually being used in the py36 and py38 testenvs,
and update lower-constraints to reflect the updated requirements.

What has made this necessary right now is that the latest pip has
introduced a much stricter resolver, and the cinder lower-constraints
job is failing because cinder is imposing some constraints which are
too low for some dependencies, and we can't get away with that under
the stricter resolver.

Change-Id: I42af21b1c4247d04d479f1fc1ecd6f9baac0cfc9
2020-12-08 17:04:46 -05:00
Ivan Pchelintsev
7d50d58b63 Add CHAP support to Dell EMC PowerStore driver
Fix bug with using PowerStore with enabled CHAP as a storage backend.

Change-Id: I2164be24a2c6adce78dc7782d2fa2791e1a8f27e
Closes-Bug: #1900979
2020-12-08 14:49:30 +03:00
sharathkacham
1145569343 [SVF]:Fix in change_vdisk_iogrp during retype
[Spectrum Virtualize Family] Fixed issues in change_vdisk_iogrp.
During retyping a volume between I/O groups, if addvdiskaccess fails
an exception is raised and if movevdisk fails rmvdiskaccess should be
done for new I/O group before failing the retype operation.

Closes bug: #1896214

Change-Id: Ic1f770a7c7850c9897f42999968820eac4d6ed47
2020-12-08 03:40:57 +00:00
Zuul
95d00bd7a6 Merge "Remove collections.abc backwards compatibility" 2020-12-06 19:28:11 +00:00
Zuul
075ab6c85f Merge "Tests: Improve get_qemu_img_version coverage" 2020-11-30 16:28:55 +00:00
Zuul
8a319cfeec Merge "[IBM DS8000] Support volume name template" 2020-11-29 16:58:59 +00:00
Zuul
f37bb5bd5d Merge "Add links to package metadata" 2020-11-29 16:50:42 +00:00