NetApp driver fails to create a CIFS share when associating only active_directory as security service

Bug #1942124 reported by Nahim Alves de Souza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Nahim Alves de Souza

Bug Description

Description
===========

When a user tries to create a CIFS share, the NetApp driver is requiring to associate a mandatory network security service even if Active Directory is already configured.

Steps to reproduce
==================

1. Configure a share network and a security service on manila client [1]
2. Try to create a CIFS share

Expected result
===============
Create a CIFS share successfully, since Active Directory should be the only network security service required to create a CIFS share.

Actual result
=============
Creation process returned an error with the message "Share network security service association is mandatory for protocol CIFS." [2]

Environment
===========
1. OpenStack Manila
   > manila --version: 2.7.1
   > manila-share --version: 12.1.0

2. Backend
   > NetApp ONTAP 9.8

Logs & Configs
==============

[1] https://netapp-openstack-dev.github.io/openstack-docs/draft/manila/examples/openstack_command_line/section_manila-cli.html#creating-a-manila-cifs-share-with-security-service

[2] https://paste.opendev.org/show/808411/

Tags: netapp
Changed in manila:
assignee: nobody → Nahim Alves de Souza (nahimsouza)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/806764

Changed in manila:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/806764
Committed: https://opendev.org/openstack/manila/commit/58031e369305337475aa20efb060b3061a5681cb
Submitter: "Zuul (22348)"
Branch: master

commit 58031e369305337475aa20efb060b3061a5681cb
Author: Nahim Alves de Souza <email address hidden>
Date: Tue Aug 31 14:52:11 2021 +0000

    [NetApp] Fix list of mandatory services for CIFS share creation

    To create a CIFS share, it is mandatory to configure an active
    directory service, but the code was requiring to configure also
    the `ldap` and `kerberos` services to be configured during the
    creation of a CIFS share.

    This patch fixes this, removing `ldap` and `kerberos` from the
    list of mandatory security services.

    Change-Id: I34020da6a929f5c7ae1c63bc0f2ef338c49dbe10
    Closes-bug: #1942124

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 13.0.0.0rc1

This issue was fixed in the openstack/manila 13.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to manila (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/820955

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/820955
Committed: https://opendev.org/openstack/manila/commit/578e3c78c2aa90555e65924657e630bdc843be28
Submitter: "Zuul (22348)"
Branch: master

commit 578e3c78c2aa90555e65924657e630bdc843be28
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Dec 7 14:21:27 2021 -0800

    Move release notes to correct folders

    Idb4b6de5108dd1862df7de97d0ffdc15282b1d74 recently merged and
    is backport worthy to all maintained older stable releases.

    I34020da6a929f5c7ae1c63bc0f2ef338c49dbe10 was committed
    to stable/xena when it was still under development; the bug-fix
    in question is not back portable to other stable branches, so
    backporting this release note fix to stable/xena should suffice.

    Change-Id: I751b6e4a3288cde7a98c0ddc55deac7a0682010d
    Related-bug: #1942124
    Related-Bug: #1475351
    Signed-off-by: Goutham Pacha Ravi <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.