Commit Graph

15 Commits

Author SHA1 Message Date
haixin a73b299374 Remove usage of six lib for third party/vendors drivers.
Python2 is no longer supported, so in this patch
set we remove the usage of the six (py2 and py3
compatibility library) in favor of py3 syntax.

Change-Id: I3ddfad568a1b578bee23a6d1a96de9551e336bb4
2022-01-29 03:01:17 +00:00
Yong Huang 47b90fa8fb [Unity]: Failed to enabled ACE for share
It is no need to enable ACE when creating CIFS share, so
remove this process.

Change-Id: Id9d248857c9a02eca486185d41b1fc22520d0919
Closes-bug: #1841035
2020-05-25 14:23:30 +08:00
Zuul a43f0666c8 Merge "[Unity]: Failed to delete cifs share if wrong access set" 2020-02-26 13:45:45 +00:00
Yong Huang 0103c3aa92 [Unity]: Failed to delete cifs share if wrong access set
If wrong access was set, CIFS share won't be able to delete.

Change-Id: Ie1c47dcbd53f7f49d9a8669e9912bb88abd6ac30
Closes-bug: #1845452
2020-01-21 14:53:09 +08:00
zhufl 73b0bccd9f Fix a wrong comma in log message
This is to remove a wrong comma in log message.

Change-Id: I837b4afb66018dc96a338c93ce839216ec8f33d2
2020-01-02 13:33:42 +08:00
Tom Barron 1b8c19bf88 Suppress pylint warnings from dell_emc drivers
The dell_emc driver imports a library that doesn't ship
with OpenStack so suppress the pylint warnings about not being
able to import it.

Change-Id: I0ecb72d85f655a01567a22b9d45b1815e96e3245
2019-02-19 06:34:12 -05: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
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
Ryan Liang ee32ed6a57 Unity: unexpected data in share from snapshot
The share created from snapshot had inconsistent data with the snapshot,
but consistent with the original share. Because the snapshot was
created on wrong `storage resource`.

Change-Id: Ia135c93bd9eedaba549426ea9233a90767de5d46
Closes-bug: 1701458
2017-07-04 10:35:14 +08:00
yfzhao 059fae0ed5 Remove log translations in share and share_group 4/5
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.
This is the 4/5 commit.
Old commit will be abandoned: https://review.openstack.org/#/c/447822/

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: Ia46e9dc4953c788274f5c9b763b2fed96c28d60e
Depends-On: I9fd264a443c634465b8548067f86ac14c1a51faa
Partial-Bug: #1674542
2017-03-31 10:20:11 +08:00
Tina f07e09cbb8 [Dell EMC Unity] Create with user capacity
The unity driver is creating the file system with allocated capacity
which caused the usable space is less then the size specified by user.
This patch changed the driver to create file system with user capacity.

Besides, change the version to 3.0.0 for Pike release.

Closes-Bug: 1674882
Change-Id: I2acf294d45662fd91a153fcd1f76202c3ad10132
2017-03-25 14:24:55 +00:00
Tina Tang c90515d64e [Unity driver] VLAN enhancement
The enhancement includes:
1. Creates tenant for each vlan on the unity system. So that the nas
server in different vlan will have isolated IP address space.
2. Select the appropriate port on the system to create interface based
on MTU.
3. Remove the option unity_server_container (the old
emc_nas_server_container option) to enable the storage processors load
balance and the auto-selection of ports (by mtu).

DocImpact
Change-Id: Ic1140112f8cfbed7c89d5f66e6bee0c22d64b3ed
Closes-Bug: 1649458
2017-01-18 02:06:38 +00:00
Tina Tang bf9adef776 [Dell EMC Unity] Support create share smaller than 3 GB
The minimum file system on Unity is 3 GB. This patch changes
driver to create 3 GB underlying file system for shares
smaller than 3 GB.

DocImpact
Change-Id: Ida6ad9ad7e752c25b53390f0fee327c594e03f9f
Closes-Bug: 1648316
2016-12-19 09:39:28 +00: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