NetApp driver fails to load when a VE license is not present

Bug #1772026 reported by Rodrigo Barbieri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Luiz Benedito Aidar Gavioli

Bug Description

Since queens release and the addition of NVE support, the driver fails to start when a VE license is not present on a 9.1 (or later) ONTAP box.

Exception:

2018-05-17 10:27:13.968 7313 ERROR manila.share.manager raise NaApiError(code, msg)
2018-05-17 10:27:13.968 7313 ERROR manila.share.manager NaApiError: NetApp API failed. Reason - 35021:Package "VE" is not licensed in the cluster.
2018-05-17 10:27:13.968 7313 ERROR manila.share.manager
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager [req-db615131-66be-42cf-a992-6ac73989eff4 - - - - -] Error encountered during initialization of driver <email address hidden>@netapp_akapila: NaApiError: NetApp API failed. Reason - 35021:Package "VE" is not licensed in the cluster.
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager Traceback (most recent call last):
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/manager.py", line 305, in _driver_setup
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager self.driver.do_setup(ctxt)
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/cluster_mode/drv_single_svm.py", line 40, in do_setup
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager self.library.do_setup(context)
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/utils.py", line 96, in trace_wrapper
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager result = f(self, *args, **kwargs)
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py", line 133, in do_setup
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager self._set_cluster_info()
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/utils.py", line 96, in trace_wrapper
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager result = f(self, *args, **kwargs)
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py", line 141, in _set_cluster_info
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager self._client.is_nve_supported()
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/utils.py", line 96, in trace_wrapper
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager result = f(self, *args, **kwargs)
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/client/client_cmode.py", line 393, in is_nve_supported
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager return self.get_security_key_manager_nve_support(nodes[0])
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/utils.py", line 96, in trace_wrapper
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager result = f(self, *args, **kwargs)
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/client/client_cmode.py", line 427, in get_security_key_manager_nve_support
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager 'security-key-manager-volume-encryption-supported', api_args)
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/client/client_base.py", line 88, in send_request
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager return self.connection.invoke_successfully(request, enable_tunneling)
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager File "/usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/client/api.py", line 287, in invoke_successfully
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager raise NaApiError(code, msg)
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager NaApiError: NetApp API failed. Reason - 35021:Package "VE" is not licensed in the cluster.
2018-05-17 10:28:18.055 7313 ERROR manila.share.manager
2018-05-17 10:30:26.140 7313 ERROR manila.share.manager [req-db615131-66be-42cf-a992-6ac73989eff4 - - - - -] Error encountered during initialization of driver <email address hidden>@netapp_akapila: NaApiError: NetApp API failed. Reason - 35021:Package "VE" is not licensed in the cluster.

Changed in manila:
assignee: nobody → Luiz Benedito Aidar Gavioli (luizbag)
Changed in manila:
status: New → In Progress
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.openstack.org/579681

Changed in manila:
importance: High → Low
milestone: none → rocky-3
tags: added: drivers netapp
Tom Barron (tpb)
tags: added: driver
removed: drivers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/579681
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=61f82e492ec95befd9fa623ec035439a6b4a4671
Submitter: Zuul
Branch: master

commit 61f82e492ec95befd9fa623ec035439a6b4a4671
Author: Rodrigo Barbieri <email address hidden>
Date: Mon Jun 11 09:40:20 2018 -0300

    [NetApp driver] NVE License not present fix

    Since the addition of NVE support in the NetApp ONTAP driver,
    the driver fails to start when a VE license is not present on
    a 9.1 (or later) ONTAP box.

    This patch fixes the problem by improving error handling.

    Change-Id: I27bf9f0d1be666f4151281ca52d6bb3377f856ff
    Closes-Bug: #1772026

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

This issue was fixed in the openstack/manila 7.0.0.0b3 development milestone.

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

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/587184

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

Reviewed: https://review.openstack.org/587184
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=31f35aed04d7ca2ac76ebe5c6df09e22331849cb
Submitter: Zuul
Branch: stable/queens

commit 31f35aed04d7ca2ac76ebe5c6df09e22331849cb
Author: Rodrigo Barbieri <email address hidden>
Date: Mon Jun 11 09:40:20 2018 -0300

    [NetApp driver] NVE License not present fix

    Since the addition of NVE support in the NetApp ONTAP driver,
    the driver fails to start when a VE license is not present on
    a 9.1 (or later) ONTAP box.

    This patch fixes the problem by improving error handling.

    Change-Id: I27bf9f0d1be666f4151281ca52d6bb3377f856ff
    Closes-Bug: #1772026
    (cherry picked from commit 61f82e492ec95befd9fa623ec035439a6b4a4671)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 6.1.0

This issue was fixed in the openstack/manila 6.1.0 release.

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.