703 Commits

Author SHA1 Message Date
melakualehegn
5d5ece51ea update irc dcoumentation
Change-Id: I5758e150aaecfa20e52cb196b94ccce961562434
2023-10-25 22:43:25 +03:00
Goutham Pacha Ravi
caaf8fd9ed [Doc] Add a quick and dirty IRC guide
For the benefit of new contributors

Change-Id: Iee749a75615b6c31c3764a4e567382d5d4411e4c
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2023-10-09 17:14:00 -07:00
silvacarloss
b44c36e5ba Fix py311 unit test issues
- Dell EMC driver had an issue with mocking an object
and sending it forward.

- Some of the create table statements in the database
migrations didn't have the charset specified. That seemed
to trick the DB engine while defining foreign keys and
adding a name to them, as the default charset was defined
in the schema, but not in the tables. This behavior was also
noted in different places, like [1]. Fix this issue by
adding the charset to all create table statements, so they
match the engine default charset.

[1] https://github.com/apache/superset/issues/8808

Change-Id: I7cd6fa0cc8e054af112493746e753fef2024000f
2023-09-21 16:31:05 -03:00
Yian Zong
bd471d5d9a Dell PowerStore and PowerFlex Manila drivers enhancement
Addressed unresolved comments for Dell PowerStore Manila Driver
and PowerFlex Manila Driver.
1. Updated Dell PowerFlex Driver configuration guide.
2. Improved code style.

Implements: blueprint dell-powerstore-manila-driver
Change-Id: I744279b77226a097f774d3ae0f9a77b6524db1d0
2023-09-07 02:27:44 +00:00
Zuul
44014e6827 Merge "Allow restricting access rules fields and deletion" 2023-08-28 02:40:24 +00:00
silvacarloss
0f82690ddd Allow restricting access rules fields and deletion
Access rules rules allow API will now take three additional
parameters:

- lock_visibility: when True, only services, administrators and
  the same user will be able to see the content of ``access_to`` and
  access_key.

- lock_deletion: when True, the access rule will be locked for
  deletion. Only services, administrators or the user that placed
  the lock will be able to drop the access rule.

- lock_reason: a reason for the lock. This parameter should only
  be provided in the presence of at least one of the former
  parameters.

In order to delete an access rule that is currently locked, the
requester will need to specify ``unrestrict=True`` in the request.

In case a service placed the restrictions, only the own service or
the system administrator will be able to release it.

This change also implements filters to the access list API. It is
now possible to filter access rules based on `access_to`,
`access_type`, `access_level` and `access_key`.

DocImpact

Change-Id: Iea422c9d6bc99a81cd88c5f4b7055d6a1cf97fdc
2023-08-24 14:53:06 -03:00
Zuul
aafc221027 Merge "Resource Locks: Support for share deletion lock" 2023-08-23 23:27:37 +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
Goutham Pacha Ravi
f641577d8a Resource Locks: Support for share deletion lock
Add CRUD APIs for resource locks with support
for preventing deletion of shares (applies to
soft-deletions and unmanage operations as well).

Change-Id: I146bc09e4e8a39797e22458ff6860346e11e592e
Implements: bp/allow-locking-shares-against-deletion
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2023-08-18 10:47:25 -07: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
Zuul
c976f041dd Merge "[DOC] Add doc for Scheduler Hints" 2023-06-10 17:52:40 +00:00
Zuul
f5df898cd4 Merge "[DOC] Add doc for Share Transfer" 2023-06-09 13:16:31 +00:00
Nahim Alves de Souza
21356fee2d [DOC] Add doc for Scheduler Hints
Closes-bug: #2008029
Change-Id: Icfdba020267bc1270f7d581b635730f20d99135e
2023-06-09 11:15:44 +00:00
Zuul
76feed440f Merge "Enhance quota documentation" 2023-06-06 01:47:34 +00:00
Zuul
f23264d0d2 Merge "Update the generic driver 'Known restrictions' section" 2023-06-05 23:02:26 +00:00
MelloCaique
e9f4bf7474 [DOC] Add doc for Share Transfer
Change-Id: Id60a0e009320a1e7b7ae7a84faf76c8bc3a50828
2023-06-02 14:07:44 +00:00
Kiran Pawar
7a4a81b53c Add max share extend size limited by share_type
Allows set max share extend size that can be created in extra_specs
for each share_type. At API level as part of share extend for admin,
max share extend size will be checked whereas for non-admin users,
max share size will be checked.
New extra_specs key is added to set max extend size of share
i.e.'provisioning:max_share_extend_size'

Closes-Bug: #1987253
Change-Id: I61e590ed1851e8fa15996dc61e8e17e9413a9d91
2023-05-31 03:32:10 +00:00
Vida Haririan
52445fde2e Update the generic driver 'Known restrictions' section
This change addresses some limitations for considering this
driver in a production deployment of OpenStack Manila.

Closes-Bug: #1867950
Change-Id: If45d1eabb33b57440c8946a56b5af39447514792
2023-05-26 18:01:27 -04:00
Goutham Pacha Ravi
70ecf89cd9 Enhance quota documentation
These doc enhancements still use the "manila"
CLI/shell utility. It makes it easier to
backport to older branches. A future commit
will update all documentation to use OSC.

Change-Id: I18c4ac2d4134314da9df0d3e0b7d45acafce2b22
Closes-Bug: #1941057
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2023-05-25 17:00:51 -07:00
Maurice Escher
fe0a356381
add reno to allowlist_externals
enables adding a release note with tox 4

Change-Id: Ia32da2b511b1cd901d74c6b2f126d0c0bc910dff
2023-03-30 10:41:06 +02:00
Goutham Pacha Ravi
e1b9241384 [doc] Add sample dummy driver config
This should help new contributors have an easier
on-ramp to certain kinds of manila development.

Change-Id: I55a43cccec2f8a1987042398c9f8057a95f44d8f
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2023-03-22 21:12:01 +00:00
Alexander Deiter
29f97d5f38 [docs] Update documentation for Infinidat driver
Update the step for the user account as mentioned
in the official Infinidat documentation.

Signed-off-by: Alexander Deiter <adeiter@infinidat.com>
Change-Id: I3f733682c8805e6258c945c81ce012badaf80796
2023-02-26 22:09:24 +02:00
Alexander Deiter
7ec7321053 [Infinidat] fixed host assisted migration
Fixed an issue in Infinidat driver to support host assisted migration.
And added new configuration options:
* `infinidat_snapdir_accessible` to configure access to the `.snapshot`
  directory on the client side.
* `infinidat_snapdir_visible` to configure visibility of the `.snapshot`
  directory on the client side.

Closes-Bug: #1992443
Signed-off-by: Alexander Deiter <adeiter@infinidat.com>
Change-Id: I29b51fcec28dd5110de6ad196ff8b67c875ce8fa
2022-12-05 22:20:54 +02:00
Felipe Rodrigues
3bd8fe3cfe Fix Create From Snapshot with Server Limits
Share Server limits must be ignored in case the new share is
from a snapshot and same host as the parent, since they must
be in the same server.

Closes-bug: #1918845
Change-Id: I1c611f4a7f3590b571f75ceca17c2fc3d8f3ad7a
2022-09-14 23:31:09 -03:00
Alexander Deiter
25d3306f9f [Infinidat] bump driver version and update docs
Incremented driver version to 1.1 and updated documentation
with SSL options, added by commit 52dac7619.

Closes-Bug: #1989283
Change-Id: Icc567a50b8498c06c2cfc76f6ae82731df63cafd
Signed-off-by: Alexander Deiter <adeiter@infinidat.com>
2022-09-12 21:51:17 +03:00
gyh
297fbc00f6 Add Macrosan Manila Driver
Change-Id: I493e8c7d1247e6bd52441fdfdc801f7205541659
2022-08-22 02:57:50 +00:00
jiaqi07
55f9360a05 remove unicode from code
Change-Id: I78c923941910c64963f90b9528866c27ec2ab754
2022-08-03 18:17:24 +08:00
Goutham Pacha Ravi
95b44453b5 [DOC] Replace references to policy.json
The override file now supports yaml format. While
JSON formatting is absolutely fine, the file suffix
".json" will confuse our tooling.

Change-Id: I01ce4ab3e879a8dbbc7377997f7e497f15c9b15e
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2022-07-05 15:11:25 +00:00
Lucas Oliveira
1cbdbfc32e DOC: Add neutron binding to network plugins
Add a section about NeutronBindNetworkPlugin on shared file systems
network plugins doc resource.

Closes-Bug: #1617490
Change-Id: I4bdd2c04ce6ee05b7d9bc6526f9aa13d07803bb7
2022-03-10 15:01:25 -03:00
Eduardo Santos
2dc60a0b4e Container: Multiple subnets per AZ
This change gives the Container driver the ability to create share
servers that span multiple subnets in the same availability zone, where
previously it was only possible to do so with one subnet per
availability zone. It also enables the driver to create new subnets on
share networks that already have shares exported on them.

Some relevant changes in the driver behavior:

- container creation is now separate from its start
- containers no longer use the default Docker network; instead,
  dedicated networks are created (one for each subnet)
- fetch_container_addresses now returns a list of addresses
- find_container_veth, _get_veth_state, _get_corresponding_veth were
  removed
- these new methods were written:

  - start_container
  - fetch_container_interfaces
  - create_network
  - remove_network
  - connect_network
  - disconnect_network
  - get_container_networks
  - get_container_veths
  - get_network_bridge
  - get_veth_from_bridge
  - _setup_server_network

DocImpact
Depends-On: I7de9de4ae509182e9494bba604979cce03acceec
Partially-Implements: blueprint multiple-share-network-subnets
Signed-off-by: Eduardo Santos <eduardo.experimental@gmail.com>
Change-Id: I81a616b57c95508f30d872383f5c2d68718950d7
2022-03-03 21:17:34 +00:00
Takashi Kajinami
d3c4e9c31a ratelimit should not be enabled in nolimit pipeline
This change fixes the wrong instruction in admin guide which enables
ratelimit in the keystone_nolimit pipeline. To use a pipeline with
ratelimit, [DEFAULT] api_rate_limit should be set to True.

Change-Id: I0cfde1c5a18eeb6ace5bc96e728e58954d0ac046
2021-12-27 12:45:13 +00:00
Zuul
dad3cc805c Merge "Update admin, user and contributor guide" 2021-12-08 20:48:38 +00:00
Zuul
91e7430d97 Merge "Add release notes command to tox" 2021-11-17 22:27:14 +00:00
haixin
ba7f1a4e44 [doc] update cli doc about extend share
Change-Id: I0122c33cb967f5674ffb10adb07864d379d79d7f
2021-11-10 09:59:36 +08:00
Zuul
67664839b3 Merge "[doc] Update PTL documentation" 2021-11-08 22:15:53 +00:00
Zuul
7d498f5235 Merge "[doc] Fix config and install guide for the generic driver" 2021-11-08 12:15:38 +00:00
silvacarloss
94a55f396b [doc] Update PTL documentation
Adds a call out to the release session of the PTL documentation.
It is important to release new code for branches in a specific
order (from the newest branch to the older ones)

Change-Id: Id32daf390fd31f58b10635b6c7e434741ff8a08f
2021-11-05 18:28:30 -03:00
Zuul
2d62329abd Merge "service_instance: allow overriding the instance name" 2021-10-27 23:31:49 +00:00
Goutham Pacha Ravi
9b21f4e476 [doc] Fix config and install guide for the generic driver
The generic driver needs to communicate with cinder, nova, neutron
and glance. It does so using credentials set in the configuration
file; some of this information was missing in our install and config
guides.

Change-Id: Ia7dc0e441057487e42b356b5d0ee22d5615be0a5
Closes-Bug: #1948646
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2021-10-26 22:08:36 +00:00
David Caro
abfa2e2311
service_instance: allow overriding the instance name
This uses the method _get_service_instance_name to generate the name
of the share service instance, instead of using directly the share
service id.

Note that it changes the default value of the
service_instance_name_template option to match the current default and
keep backwards compatibility.

Closes-Bug: #1945463
Change-Id: I3ee10f53315a37b47bd66eba082502b4209f4d95
Signed-off-by: David Caro <me@dcaro.es>
2021-10-26 10:58:51 +02:00
Zuul
7d4e507e94 Merge "doc: admin: generic_driver: extend documentation" 2021-10-25 22:40:29 +00:00
Zuul
b7013c90e5 Merge "Replace Jenkins with Zuul." 2021-10-01 22:16:42 +00:00
Lori Ruffing
7f3a8f662d Replace Jenkins with Zuul.
Change-Id: If55688e9dd8e5feb20e3e6204e10f635055eb5a3
2021-10-01 14:43:52 -07:00
katie
8a7264bcf2 Changed 'Jenkins' to 'Zuul'
Change-Id: I43ba29b19d2112b559cf71c0b6c52855df206e2e
2021-10-01 14:29:14 -07:00
ashrod98
5eadb484de Add release notes command to tox
Added command "tox -e newnote slug-goes-here" to create a new release note.
Fixes error that occurs when reno is not installed globally.
Also changed contributor documentation to include this new command.

Change-Id: I4568163d63e389891e701a424720567d065f70b3
2021-09-27 18:23:46 +00:00
Arturo Borrero Gonzalez
666403169e doc: admin: generic_driver: extend documentation
Hopefully this will make life easier to those looking at Manila
for the first time.

Closes-Bug: #1944696
Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org>
Change-Id: Ifc40db7540612c30abec95562b5688da3873fbbc
2021-09-23 17:00:20 +02:00
Arturo Borrero Gonzalez
1b78a90b04 doc: admin: generic_driver: fix indentation
The extra spaces makes sphinx think the line should be bolded. But this is not
what we want here.

Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org>
Change-Id: Ie466a5a1a5db7ddb3e3da121fab6d9dbcb8fcc7e
2021-09-23 16:53:12 +02:00
Felipe Rodrigues
9f3c566a10 [NetApp] Add FlexGroup volume support
The NetApp driver has been working  with FlexVol ONTAP volumes.
The driver does not support scaling FlexVol volumes higher than
100 TiB, which was a theoretical limit for the large namespace that
these containers were meant to handle. ONTAP's Flexgroup volumes
eliminate such limitations. So, added the support for provisioning
share as FlexGroup in the NetApp driver.

The FlexGroup provision is enabled by new option
`netapp_enable_flexgroup`, which will make the driver report a single
pool represeting all aggregates. The selection on which aggregates the
FlexGroup share will reside is up to ONTAP. If the administrator desires
to control that selection through Manila scheduler, it must inform the set
of aggregates that formss FlexGroup pool in the new  option
`netapp_flexgroup_pool`.

Each NetApp pool will report now the capability: `netapp_flexgroup`
informing which type the pool is.

The following operations are allowed with FlexGroup shares (DHSS
True/False and NFS/CIFS):

- Create/Delete share;
- Shrink/Extend share;
- Create/Delete snapshot;
- Revert to snapshot;
- Manage/Unmanage snapshots;
- Create from snapshot;
- Replication[1]
- Manage/Unmanage shares;

The backend with one FlexGroup pool configured will drop the consistent
snapshot support for all pools.

The driver FlexGroup support requires ONTAP version 9.8 or greater.

[1] FlexGroup is limited to one single replica for ONTAP version
lower than 9.9.1.

DocImpact

Depends-On: If525e97a5d456d6ddebb4bf9bc8ff6190c95a555
Depends-On: I646f782c3e2be5ac799254f08a248a22cb9e0358
Implements: bp netapp-flexgroup-support
Change-Id: I4f68a9bb33be85f9a22e0be4ccf673647e713459
Signed-off-by: Felipe Rodrigues <felipefuty01@gmail.com>
2021-09-08 15:47:15 -03:00
haixin
fb221d05bc [doc] add since and before parameter to message-list cli
after Support query user message by timestamp has been merged.
https://review.opendev.org/c/openstack/python-manilaclient/+/708807
we should update corresponding command line manual

Change-Id: Id27bcde967717bb6b80d96c39e55bc3dd9e92e1b
2021-08-30 16:05:04 +08:00
Zuul
a07930e2c3 Merge "Add documentation for share server limits" 2021-08-29 19:03:19 +00:00