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

Bug #1917323 reported by Ionut-Madalin Balutoiu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
Undecided
Unassigned
Ussuri
Fix Released
High
Unassigned
Victoria
Fix Released
Undecided
Unassigned
manila (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
High
Unassigned
Groovy
Fix Released
Undecided
Unassigned
Hirsute
Fix Released
Undecided
Unassigned

Bug Description

starting with ONTAP 9.5 I get

And indeed, the ONTAP API for cifs-domain-preferred-dc-add has a new required boolean option "skip-config-validation"

[Impact]
Using new releases of NetApp ONTAP (>= 9.5) leads to the following bug in the Manila code:
https://bugs.launchpad.net/manila/+bug/1887643

As Maurice Escher states, this results in 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

Only Ussuri distro packages are affected by this issue.

This bug can be reproduced only when using `cifs` shares, and only when the driver handles shares servers.

The issue was already fixed upstream, and it's even included in the latest Ussuri minor release: 10.0.2 (or even 10.0.1). Our Ubuntu distro packages install 10.0.0, and do not have this issue fixed.

[Test Case]
* Create an environment with Manila NetApp ONTAP driver and DHSS (driver handles shares enabled). This also requires an external Active Directory for the CIFS shares.
* Create a new Manila CIFS share, given a proper Manila security service defined with the Active Directory info.
* Bug is reproduced.

[Where problems could occur]
If the ontapi_version version was not calculated correctly the skip-config-validation config will result in the same error reported in this bug. Testing this code path will help mitigate this.

Changed in manila (Ubuntu Hirsute):
status: New → Fix Released
Changed in manila (Ubuntu Groovy):
status: New → Fix Released
Changed in manila (Ubuntu Focal):
status: New → Triaged
importance: Undecided → High
no longer affects: manila
description: updated
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Ionut, thanks for this. The patch has been cherry-picked and new package version uploaded to the focal unapproved queue. https://launchpad.net/ubuntu/focal/+queue?queue_state=1&queue_text=manila
Once it lands in focal-proposed it will backport to ussuri-proposed.

Note: we currently don't have an exception for uploading point releases for manila - https://wiki.ubuntu.com/OpenStack/StableReleaseUpdates. We can work on that if we get the right testing in place to regression test new point releases.

Revision history for this message
Ionut-Madalin Balutoiu (ionutbalutoiu) wrote :

Hello Corey,

I've updated the bug description with the [Test Case] needed. I'm happy to test it when the fix is ready.

description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Ionut-Madalin, or anyone else affected,

Accepted manila into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/manila/1:10.0.0-0ubuntu0.20.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in manila (Ubuntu Focal):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Ionut-Madalin, or anyone else affected,

Accepted manila into ussuri-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:ussuri-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-ussuri-needed to verification-ussuri-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-ussuri-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-ussuri-needed
Revision history for this message
Ionut-Madalin Balutoiu (ionutbalutoiu) wrote :

Hello everyone,

I've tested the new Manila Ussuri packages on Bionic and Focal. The testing was done as described in the `[Test Case]` in the bug description.

The tested packages versions are:
* Bionic - 1:10.0.0-0ubuntu0.20.04.2~cloud0
* Focal - 1:10.0.0-0ubuntu0.20.04.2

Everything works as expected, and the problem doesn't reproduce anymore using the updated Manila Ussuri packages. I'll update the tags.

tags: added: verification-done-focal verification-ussuri-done
removed: verification-needed-focal verification-ussuri-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package manila - 1:10.0.0-0ubuntu0.20.04.2

---------------
manila (1:10.0.0-0ubuntu0.20.04.2) focal; urgency=medium

  [ Chris MacNaughton ]
  * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.

  [ Corey Bryant ]
  * d/p/netapp-update-seto-preferred-dc-for-ontap.patch: Cherry-picked from
    upstream stable/ussuri to enable support for ONTAP 9.5 (LP: #1917323).

 -- Corey Bryant <email address hidden> Mon, 01 Mar 2021 15:21:47 -0500

Changed in manila (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for manila has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

The verification of the Stable Release Update for manila has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

This bug was fixed in the package manila - 1:10.0.0-0ubuntu0.20.04.2~cloud0
---------------

 manila (1:10.0.0-0ubuntu0.20.04.2~cloud0) bionic-ussuri; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 manila (1:10.0.0-0ubuntu0.20.04.2) focal; urgency=medium
 .
   [ Chris MacNaughton ]
   * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.
 .
   [ Corey Bryant ]
   * d/p/netapp-update-seto-preferred-dc-for-ontap.patch: Cherry-picked from
     upstream stable/ussuri to enable support for ONTAP 9.5 (LP: #1917323).

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.