[NetApp] cifs error since ontap 9.5: Failed to set preferred DC

Bug #1887643 reported by Maurice Escher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Maurice Escher

Bug Description

Hi,

starting with ONTAP 9.5 I get the following error when creating a CIFS share with security service server set to some value:

NetApp API failed. Reason - 13006:Missing input: skip-config-validation

And indeed, the ONTAP API for cifs-domain-preferred-dc-add has a new required boolean option "skip-config-validation", see https://mysupport.netapp.com/NOW/products/support/cli-94v95.shtml#vserver_cifs_domain_preferred-dc_add

I will provide a fix.

BR,
Maurice

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/741126

Changed in manila:
assignee: nobody → Maurice Escher (maurice-escher)
status: New → In Progress
Revision history for this message
Douglas Viroel (dviroel) wrote :

Thanks for your bug report Maurice. I've confirmed that this issue is happening in my environment too (ONTAP 9.6).

Changed in manila:
importance: Undecided → Low
tags: added: driver
tags: added: cifs netapp
Changed in manila:
milestone: none → victoria-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/741126
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=3057d0643e8a93c4ae857159d96e94541ad0be4d
Submitter: Zuul
Branch: master

commit 3057d0643e8a93c4ae857159d96e94541ad0be4d
Author: Maurice Escher <email address hidden>
Date: Wed Jul 15 10:31:29 2020 +0200

    [NetApp] update set_preferred_dc for ontapi 1.150

    ONTAP 9.5 adds vserver cifs domain preferred-dc configuration
    validation. The parameter 'skip-config-validation' is mandatory
    for 'cifs-domain-preferred-dc-add' now and is set to false,
    i.e. an invalid config will raise early.

    Change-Id: I5eb97ba1b29ad24b296e12064f81eb93533c6b99
    Closes-Bug: 1887643

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/742084

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/742085

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/742086

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/ussuri)

Reviewed: https://review.opendev.org/742084
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=7248532de8927c953a6d32491060b11b1e4f2a6b
Submitter: Zuul
Branch: stable/ussuri

commit 7248532de8927c953a6d32491060b11b1e4f2a6b
Author: Maurice Escher <email address hidden>
Date: Wed Jul 15 10:31:29 2020 +0200

    [NetApp] update set_preferred_dc for ontapi 1.150

    ONTAP 9.5 adds vserver cifs domain preferred-dc configuration
    validation. The parameter 'skip-config-validation' is mandatory
    for 'cifs-domain-preferred-dc-add' now and is set to false,
    i.e. an invalid config will raise early.

    Change-Id: I5eb97ba1b29ad24b296e12064f81eb93533c6b99
    Closes-Bug: 1887643
    (cherry picked from commit 3057d0643e8a93c4ae857159d96e94541ad0be4d)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/train)

Reviewed: https://review.opendev.org/742085
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=6ad361a1858e9b349e3b379e720ff95bd38ac7ff
Submitter: Zuul
Branch: stable/train

commit 6ad361a1858e9b349e3b379e720ff95bd38ac7ff
Author: Maurice Escher <email address hidden>
Date: Wed Jul 15 10:31:29 2020 +0200

    [NetApp] update set_preferred_dc for ontapi 1.150

    ONTAP 9.5 adds vserver cifs domain preferred-dc configuration
    validation. The parameter 'skip-config-validation' is mandatory
    for 'cifs-domain-preferred-dc-add' now and is set to false,
    i.e. an invalid config will raise early.

    Change-Id: I5eb97ba1b29ad24b296e12064f81eb93533c6b99
    Closes-Bug: 1887643
    (cherry picked from commit 3057d0643e8a93c4ae857159d96e94541ad0be4d)
    (cherry picked from commit 7248532de8927c953a6d32491060b11b1e4f2a6b)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/stein)

Reviewed: https://review.opendev.org/742086
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=6ce7ad156220ead30893397049c32387aa26811d
Submitter: Zuul
Branch: stable/stein

commit 6ce7ad156220ead30893397049c32387aa26811d
Author: Maurice Escher <email address hidden>
Date: Wed Jul 15 10:31:29 2020 +0200

    [NetApp] update set_preferred_dc for ontapi 1.150

    ONTAP 9.5 adds vserver cifs domain preferred-dc configuration
    validation. The parameter 'skip-config-validation' is mandatory
    for 'cifs-domain-preferred-dc-add' now and is set to false,
    i.e. an invalid config will raise early.

    Change-Id: I5eb97ba1b29ad24b296e12064f81eb93533c6b99
    Closes-Bug: 1887643
    (cherry picked from commit 3057d0643e8a93c4ae857159d96e94541ad0be4d)
    (cherry picked from commit 7248532de8927c953a6d32491060b11b1e4f2a6b)
    (cherry picked from commit 6ad361a1858e9b349e3b379e720ff95bd38ac7ff)

tags: added: in-stable-stein
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.