The default value for "is_public" parameter for share group type
creation should be True. However, it is set to `false`. Fix the
error in the documentation and sets the default value of `is_public`
to `true`.
Closes-bug: #1997743
Change-Id: Ia596ec0ffcf16414c6b4a5f0e1631e7a755af23a
Pure uses the version number of the driver to identify which
customers are using which versions of OpenStack.
This will help granular analysis of which driver is being
used in each OpenStack version
Change-Id: I0d4cf3b668850b7ba5c99b24f4efa3764b4e4875
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>
The backend_url option can sometimes contain secrets.
For example when redis coordination backend is used and authentication
is enabled in redis, the plain redis password is put as an URL element.
[coordination]
backend_url=redis://:password@127.0.0.1:6379
Closes-Bug: #2012246
Change-Id: Ia815720cedda2f5c70205ffda5c765364cee8f8c
This job has actually attracted no interest and has been kept
experimental. Now TripleO project is being deprecated so we should
drop this unused job.
Change-Id: Ia098bacc7d53f878d736a324847edd5c02e40631
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I93344e494493bf6b7853b48053eee7aa134f85be
This patch fixes #1928241 checking if the share pool name
is in vserver aggregates list, if it is not, the share server
cannot be reused and a new one is created. This fix also
includes NetApp Flexgroup and Flexvol.
Closes-Bug: #1928241
Change-Id: I24bf98f6d7c962ff9430748ff0bc88c647b9946c
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
Instead of getting all services, fetch topic related entries from db
during service cleanup.
Related-bug: #1990839
Depends-on: I8b71c4c27ff8fcb25616a95a5ed8362a7f4ffc61
Change-Id: I9e911021bd144b76d39193e5480d5ca88973973e
The NetApp driver can setup a share server VLAN segmentation
and MTU based on the subnet metadata. If the subnet metadata has
`set_vlan`, the driver will configure the segmentation
following the metadata fields. If the subnet metadata has the
`set_mtu` field, the MTU is configured according its value.
If share network subnet does not have those metadata fields,
the segmentation configuration keeps working as before, that's it,
it is set according to the values provided by Manila network plugin.
Change-Id: I69731b187527d8d443893dcc94c604688d73e696
This patch contains the functions related to DHSS True only
functions, that is, the operations related to share servers and
network configurations.
Many functions that are used on DHSS True operations were already
covered in previous patches because they are also used
by DHSS False operations.
This patch covers DHSS True specific implementation for:
> DHSS True driver initialization and periodic tasks
> Setup share server
> Delete share server
> Security services configurations (AD, LDAP and Kerberos)
> Create share from snapshot
> Share server migration
partially-implements: bp netapp-ontap-rest-api-client
Change-Id: Ia8992e8125c4fc7f30fb94f19449cd62b95a4831
Co-authored-by: Caique Mello <caiquemellosbo@gmail.com>
Co-authored-by: Felipe Rodrigues <felipefuty01@gmail.com>
Co-authored-by: Helena Dantas <helenamylena@gmail.com>
Co-authored-by: Matheus Andrade <matheus.andrade@netapp.com>
Co-authored-by: Lucas Oliveira <lucasmoliveira059@gmail.com>
Co-authored-by: Luisa Amaral <luisarfamaral@gmail.com>
Co-authored-by: Luiz Santos <luizfelipe.looze@gmail.com>
Co-authored-by: Raffaela de Castro Cunha <raffaelacunha@gmail.com>
Co-authored-by: Renan Vitor <renanv@netapp.com>
When manila services are stopped or restarted via stop(), the DB
entries are not deleted, they are destroyed only in kill() method. In
cluster deployments, where multiple instances of manila services are
deployed via PODs, unique hostname is derived from node name. However
if pods are deployed again and launched on new hosts/nodes, the old
entries of manila service remains as it is.
Fix it by adding 'state' column in 'services' table and introducing
per service cleanup function. On service stop, state is changed to
'stopped' and cleanup function will delete 'stopped' services unless
they are 'up' again before cleanup periodic interval.
Closes-bug: #1990839
Change-Id: I8b71c4c27ff8fcb25616a95a5ed8362a7f4ffc61
We frequently face slow nodes on the CI, and tests
are timing out because new migrations were added
in this release and the test will likely need more
time on slow nodes.
Change-Id: I41fb3936cd302d958371e2b86dd2f32cab4d612a
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
The exception being handled has a typo and our pylint
job's failing. While we're fixing it up, it's worth adding
some unit tests for the exception handling.
Change-Id: Ia12f85686ddb69ebecf502955f1ce9f1956627d4
Closes-Bug: #2007881
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
The file `macrosan-add-configuration-option-282fa1026748c4f9.yaml`
is located in a wrong directory. Move it to right place.
Change-Id: I4b7cf8cb4288cb85baac978212cb7f2f158bcf4e
Volumes may be busy during split operation, so other actions would fail,
e.g. applying snapdir visibility, setting volume size ..
Closes-Bug: #2007970
Change-Id: I3e36f77f4e46c90af8445601e10eadf9c55ed5f6
From version 2.76, 'default_ad_site' which if provided set domain
controller discovery mode to 'site'.
Related-bug: #1988146
Depends-On: I8e21e9170eace134a51efed84de1ccc58eb7eaaa
Change-Id: I251e4f94ef04e9ad2fe24844fb8ce1947f42d752