Commit Graph

26 Commits

Author SHA1 Message Date
Takashi Kajinami f8a53c037a Ensure password values are not logged
Make sure that all password options is defined with secret=True so that
the given values do not appear in debug logs.

Also remove the redundant default=None .

Change-Id: I989e825ef160a65a5a72c58d6fd4e8099044bcd5
2024-04-22 15:36:26 +09:00
Takashi Kajinami 19a91e0558 Dell EMC: Deprecate VNX driver
... because VNX already reached its EOL.

Change-Id: I1d6b2bfd7d99295f30fd9028771c8c4e7bd6b65f
2024-02-01 02:27:41 +00:00
Takashi Kajinami aabbd02598 Dell EMC: Drop "vmax" alias
This removes support for using "vmax" backends, which was translated
to "powermax" backends. This behavior was expected to be removed during
Wallaby cycle.

Also replace the remaining reference to EMC VMAX.

Change-Id: Id1187a9a99d87abefe3549e70df768f41494145f
2024-02-01 02:27:34 +00:00
Yian Zong ac8a9a2380 Adds a new Manila driver for Dell PowerFlex storage backend
Adds a new Manila driver to support Dell PowerFlex storage backend.
It will include the minimum set of Manila features.

Implements: blueprint dell-powerflex-manila-driver
Change-Id: I4dc81bf75135b32f1971ca21eee298bca33441cf
2023-08-23 16:04:22 +00:00
Yian Zong 09555c80de Adds a new Manila driver for Dell PowerStore storage backend
Adds a new Manila driver to support Dell PowerStore storage backend.
It will support NFS share operations and snapshot operations.

Implements: blueprint dell-powerstore-manila-driver
Change-Id: If0d0a7820a1ae2392e5e0e4a4b65c4e631f4c3d4
2023-08-17 08:19:08 +00:00
Felipe Rodrigues 2b57d15c64 Add multiple subnets per AZ support
Manila can now configure a share network with multiple subnets
in an availability zone. Also, it can add a new subnet for an
availability that has share servers, which will triger an update
share server allocations.

Changes:
- API:
  - Bump version to 2.70.
  - setup share network with multiple subents per az.
  - Block manage server with multiple subnets.
  - Allow add subnet for in-use share servers.
  - `share_network_subnet_id` is dropped from ShareServer view
  - `share_network_subnet_ids` is added in ShareServer view
  - `network_allocation_update_support` is added to ShareServer and
    ShareNetwork views.
  - Add a check operation for share network subnet create.

- DB:
  - Remove `share_network_subnet_id` from share_servers.
  - Create mapping table `share_server_share_network_subnet_mappings`.
  - Fix queries with new db design.
  - Add migration downgrade and upgrade alembic.
  - Add `share_network_subnet_id` to the NetworkAllocations.

- Scheduler:
  - Change `AvailabilityZoneFilter` to take in account if the
    host supports the allocation required by the setup request.

- Manager:
  - Bump RPC API version.
  - `_setup_server` allocating multiple subnets.
  - Modify signature of driver `_setup_server` interface, passing a
    list of `network_info` for each subnet.
  - Share server DB creation to inform a list of subnets and
    create with `network_allocation_update_support`.
  - Implement `check_update_share_server_network_allocations` and
    `update_share_server_network_allocations`.

- Drivers:
  - For legacy compatibility, all drivers implementing `_setup_server`
    consume the first element of the `network_ino`.
  - Dummy Driver:
    - Implement `_setup_server` with new signature as multiple subnet.
    - Modify the `backend_details` to save allocations for all subnets.
    - Report update allocation and share server multiple subnet support.
    - Implement `check_update_share_server_network_allocations` and
      `update_share_server_network_allocations` interfaces.

Signed-off-by: Felipe Rodrigues <felipefuty01@gmail.com>
Co-Authored-By: Andre Beltrami <debeltrami@gmail.com>
Co-Authored-By: Fábio Oliveira <fabioaurelio1269@gmail.com>
Co-Authored-By: Nahim Alves de Souza <nahimsouza@outlook.com>
Co-Authored-By: Caique Mello <caique_mellosbo@hotmail.com>

DocImpact
APIImpact
Partially-Implements: blueprint multiple-share-network-subnets

Change-Id: I7de9de4ae509182e9494bba604979cce03acceec
2022-03-03 02:31:11 +00:00
kpdev 18668d2465 Early validate for CIFS without security service.
To create a share with protocol CIFS it is mandatory to add a security
service to the share network beforehand. If this is forgotten the share
ends up in error. Validate the security service association based on
share protocol from given driver. Raise invalid request exception if
needed association between share_network and security_service is
missing for given driver e.g. ONTAP.

DocImpact

Closes-Bug: #1900752
Change-Id: Ib7e9850e6439ee5d04f826d129afb1ab06950ce7
2021-08-05 22:44:55 +02:00
Yong Huang a5adb0bd11 [Unity] Implements default filter function
Implements the default filter function for Unity driver, if the
share size is smaller than 3GB, will not schedule the share
creation to Unity backend.

Change-Id: Iebb5063d4e1c4c2f5ddce0d5000b7d51dcb0605b
Closes-bug: #1652379
2020-04-30 14:58:39 +08:00
Zuul ba57e90d45 Merge "Create share from snapshot in another pool or backend" 2020-04-09 21:10:13 +00:00
Douglas Viroel 6c47b193b0 Create share from snapshot in another pool or backend
This patch enables the creation of a share from snapshot
specifying another pool or backend. In the scheduler, a
new filter and weigher were implemented in order to consider
this operation if the backend supports it. Also, a new
field called 'progress' was added in the share and share
instance. The 'progress' field indicates the status
of the operation create share from snapshot (in percentage).
Finally, a new periodic task was added in order to constantly
check the share status.

Partially-implements: bp create-share-from-snapshot-in-another-pool-or-backend

DOCImpact
Change-Id: Iab13a0961eb4a387a502246e5d4b79bc9046e04b
Co-authored-by: carloss <ces.eduardo98@gmail.com>
Co-authored-by: dviroel <viroel@gmail.com>
2020-04-09 11:15:22 -03:00
dingd 252a7e8118 [Unity] Manage/unmanage share server/share/snap
1. Try parse share_backend_id from export path in case
it is managed share.

2. Try to take snapshot id from 'provider_location' in case
this is managed snapshot

3. Try to get share server name from property 'identifier'
first in case this is managed share server

4. Add property 'provider_location' when creating snapshot

Implements: blueprint emc-unity-manage-unmange

Change-Id: I676475d0500ecce31a1a863926accec8585ac83a
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-08 16:02:12 -07:00
Helen Walsh 6995b9f975 Manila PowerMax - rebrand from VMAX to PowerMax
Rebrand from VMAX to PowerMax includes change tags, directory structure,
file names and documentation.

Implements: blueprint powermax-rebrand-manila

Change-Id: Ie9ba5939b223d7061a3b2707ee9ef899f1fe7f66
2019-07-19 12:19:30 +01:00
dingd a6e1746a2f [Unity] Shrink share in Unity driver.
Change-Id: Iaa29088456e4dd46039511a2bf8bbf789ddd6e7f
2019-02-14 05:07:05 +00:00
Yong Huang e4156ddb08 [Unity] Revert to snapshot support
Implement revert to snapshot support for Dell EMC Unity driver.

Change-Id: I3a4da4a506ae4c2dbcd97207121ce19ecfb98043
Implements: unity-revert-to-snapshot
2019-01-16 15:20:47 -05:00
Sam Wan 5caebd0475 Fix a trivial bug of Dell EMC Manila IPv6 implementation.
This fixes the bug which causes failures of Dell EMC Manila
drivers without ipv6_implemented.

Change-Id: Iee37960c2ba6520a5c5e1db99c2dda115a1757ff
Closes-Bug: #1746207
2018-01-30 05:43:07 -05:00
Che, Roger eb65711063 Implement IPv6 support for Manila Dell EMC Unity driver
Major changes:
  * Support to create/delete/extend/access NFS and CIFS share/snapshot
    in the IPv6 network which created by Neutron
  * Support to connect Unity management interface using IPv6 address

Change-Id: I590d569c6fe1a0f8b146bec9c74513269b8358f4
Implements: blueprint unity-manila-ipv6-support
2018-01-19 11:12:45 +08:00
Yong Huang e691879fcf Implement IPv6 support for Dell EMC VNX driver
Major changes:
  * Support to create/delete/extend/access NFS and CIFS share/snapshot
    in the IPv6 network which created by Neutron
  * Support to connect VNX management interface using IPv6 address

Change-Id: Ibe7620f9548d5f57780e49c08214dc627b91a945
Implements: blueprint vnx-manila-ipv6-support
2018-01-11 14:57:59 -05:00
Shaun Edwards 753bf63dc5 Implement update_access in Isilon Driver.
Implemented the required "update_access" method in the Isilon driver.

Change-Id: Iedef4b88c6cdd8f39d88cac40a66146bf666e84b
Implements: blueprint dellemc-isilon-driver-update-access
2017-05-30 16:44:11 +00:00
Jenkins bf3a91ac33 Merge "Use HostAddressOpt for opts that accept IP and hostnames" 2017-04-01 05:14:48 +00:00
Peter Wang bf0f42858b Handle SSL from VNX driver
From python 2.7.9 on, the ssl verification is enabled by default,
This commit adds 2 options for VNX Manila driver, so user is able
to control the ssl verification.

Closes-bug: 1669202
Implements: blueprint vnx-ssl-verification-options
Change-Id: Iedad15e077c0537e133f81e6d537798482789160
2017-03-27 11:59:07 +08:00
luqitao 86a1bc189c Use HostAddressOpt for opts that accept IP and hostnames
Some configuration options were accepting both IP addresses
and hostnames. Since there was no specific OSLO opt type to
support this, we were using ``StrOpt``. The change [1] that
added support for ``HostAddressOpt`` type was merged in Ocata
and became available for use with oslo version 3.22.

This patch changes the opt type of configuration options to use
this more relevant opt type - HostAddressOpt.

[1] I77bdb64b7e6e56ce761d76696bc4448a9bd325eb

TrivialFix

Change-Id: I44ba478ff14a6184434dd030efd9b7fa92458c7a
2017-03-21 08:14:01 -04:00
xing-yang 1b0042f052 VMAX manila plugin - Support for VMAX in Manila
VMAX plugin is the plugin which manages the VMAX to
provide shared filesystems using the Dell EMC manila
driver framework.

DocImpact
Change-Id: I0b69f013443217f2053bbbfdec36dff226664b34
Implements: blueprint vmax-manila-support
2017-01-24 13:34:00 +00:00
Jenkins 966b1621d3 Merge "Unity/VNX Driver: Rename driver options" 2017-01-10 10:35:37 +00:00
Ryan Liang 01391527ed Unity/VNX Driver: Rename driver options
- Never initialize the log by passing it in to `load_plugin`. Unity and VNX
  driver plugins initialize it in their implementation.
- Move plugins specific options from framework to Unity and VNX plugins.
- Rename driver options for Unity/VNX, the old ones are deprecated:
  emc_nas_pool_names -> unity_share_data_pools/vnx_share_data_pools,
  emc_nas_server_pool -> unity_server_meta_pool,
  emc_interface_ports -> unity_ethernet_ports/vnx_ethernet_ports,
  emc_nas_server_container -> unity_server_container/vnx_server_container.

DocImpact
Closes-Bug: 1652710
Change-Id: I8f1404de8dea9eeb09f1e5f6fc2538cefb0d63d9
2017-01-05 10:42:29 +08:00
Peter Wang c341e52b5e Report create_share_from_snapshot_support
Set create_share_from_snapshot_support as True in order to
be able to create share from snapshot.

This fixes all Dell EMC drivers issue like below:
  Share cannot be created from snapshot

Change-Id: If43d9b15b21a2ae74c6872726e9e537501697405
Closes-Bug: #1652911
2016-12-29 01:03:48 +08:00
xing-yang d9be8fa62b Move EMC drivers to dell_emc folder
This patch moves EMC drivers under dell_emc folder and
changes vendor name to "Dell EMC".

The base driver remains as EMCShareDriver.

DocImpact
UpgradeImpact
Implements-blueprint: move-emc-driver-to-dell-emc-folder
Change-Id: I799c7fcb59fbe887045fe81beb1e257586ba2f0e
2016-11-14 20:34:26 -05:00