NetApp CIFS (DHSS = True) driver fail configuring CIFS server if AD is in different subnet

Bug #1698258 reported by Yogesh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Goutham Pacha Ravi

Bug Description

Share Server creation fail in a situation when NetApp backend controller and CIFS AD server are in two different subnets.

Here is the error from m-shr log -

2017-06-16 02:22:26.859 474262 DEBUG manila.share.drivers.netapp.dataontap.client.api [req-5dc68229-c4fc-48b1-aa59-65cf17af9a5c 580ad5d9dd1c4047aac4f210b1e85371 503d42ac680b431c89c3b50ccbb3106c - - -] Response: <results xmlns="http://www.netapp.com/filer/admin" status="passed"/>
 invoke_elem /usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/client/api.py:248
2017-06-16 02:22:26.860 474262 DEBUG manila.share.drivers.netapp.utils [req-5dc68229-c4fc-48b1-aa59-65cf17af9a5c 580ad5d9dd1c4047aac4f210b1e85371 503d42ac680b431c89c3b50ccbb3106c - - -] Leaving method configure_dns trace_wrapper /usr/lib/python2.7/site-packages/manila/share/drivers/netapp/utils.py:88
2017-06-16 02:22:26.862 474262 DEBUG manila.share.drivers.netapp.dataontap.client.client_cmode [req-5dc68229-c4fc-48b1-aa59-65cf17af9a5c 580ad5d9dd1c4047aac4f210b1e85371 503d42ac680b431c89c3b50ccbb3106c - - -] Trying to setup CIFS server with data: {'admin-username': u'XXXXX', 'force-account-overwrite': 'true', 'domain': u'cifs.netapp.com', 'cifs-server': 'XXXXXX', 'admin-password': u'XXXX'} configure_active_directory /usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/client/client_cmode.py:1158
2017-06-16 02:22:26.863 474262 DEBUG manila.share.drivers.netapp.dataontap.client.api [req-5dc68229-c4fc-48b1-aa59-65cf17af9a5c 580ad5d9dd1c4047aac4f210b1e85371 503d42ac680b431c89c3b50ccbb3106c - - -] Request: <netapp xmlns="http://www.netapp.com/filer/admin" version="1.110" vfiler="os_de67de12-112a-4fe0-b2c6-1bd6b7f8223c">
  <cifs-server-create>
    <admin-username>XXXXXXX</admin-username>
    <force-account-overwrite>true</force-account-overwrite>
    <domain>cifs.netapp.com</domain>
    <cifs-server>XXXXXX</cifs-server>
    <admin-password>XXXXXXXX</admin-password>
  </cifs-server-create>
</netapp>
 invoke_elem /usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/client/api.py:227
2017-06-16 02:22:31.941 474262 DEBUG manila.share.drivers.netapp.dataontap.client.api [req-5dc68229-c4fc-48b1-aa59-65cf17af9a5c 580ad5d9dd1c4047aac4f210b1e85371 503d42ac680b431c89c3b50ccbb3106c - - -] Response: <results xmlns="http://www.netapp.com/filer/admin" reason="Failed to create the Active Directory machine account &quot;OS_DE67..F8223C&quot;. Reason: SecD Error: no server available Details: Error: Machine account creation procedure failed [ 0 ms] Trying to re-use machine account 'XXXXX' in domain 'CIFS.NETAPP.COM' for Vserver 'os_de67de12-112a-4fe0-b2c6-1bd6b7f8223c' [ 3] Failed to connect to 10.63.XXX.XXX for DNS via Source Address 0.0.0.0: Network is unreachable **[ 9] FAILURE: Unable to contact DNS to discover domain ** controllers. [ 9] Unable to connect to any (0) domain controllers. [ 9] 'NisDomain' configuration not available [ 9] NIS configuration not found for Vserver 143 [ 14] Failed to connect to 10.63.XXX.XXX for DNS via Source Address 0.0.0.0: Network is unreachable [ 14] Unable to contact DNS to discover domain controllers. [ 19] Failed to connect to 10.63.XXX.XXX for DNS via Source Address 0.0.0.0: Network is unreachable [ 19] Unable to contact DNS to discover domain controllers. [ 23] Failed to connect to 10.63.XXX.XXX for DNS via Source Address 0.0.0.0: Network is unreachable [ 23] Unable to contact DNS to discover domain controllers. [ 23] No servers available for MS_LDAP_AD, vserver: 143, domain: CIFS.NETAPP.COM. [ 23] Failed to find a domain controller . " status="failed" errno="13001"/>
 invoke_elem /usr/lib/python2.7/site-packages/manila/share/drivers/netapp/dataontap/client/api.py:248
2017-06-16 02:22:31.947 474262 ERROR manila.share.drivers.netapp.dataontap.cluster_mode.lib_multi_svm [req-5dc68229-c4fc-48b1-aa59-65cf17af9a5c 580ad5d9dd1c4047aac4f210b1e85371 503d42ac680b431c89c3b50ccbb3106c - - -] Failed to configure Vserver.

Changed in manila:
status: New → Confirmed
importance: Undecided → Low
tags: added: cdot driver netapp
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/478705

Changed in manila:
assignee: nobody → Goutham Pacha Ravi (gouthamr)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/478705
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=f88df34e3188624ed60c69d9e159bfebe17b0f91
Submitter: Jenkins
Branch: master

commit f88df34e3188624ed60c69d9e159bfebe17b0f91
Author: Goutham Pacha Ravi <email address hidden>
Date: Sun Jun 18 21:17:56 2017 -0400

    NetApp cDOT: Add gateway information to create static routes

    Add tenant routes/gateway to Vservers created by the driver.

    Change-Id: Id33c0e13d265d50f74f86ab8fb2c533eefa4b783
    Closes-Bug: #1698258
    Closes-Bug: #1612655

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

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/482249

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

Reviewed: https://review.openstack.org/482249
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=11c8145b964bf2eecc16b29bf20627b73805ff2c
Submitter: Jenkins
Branch: stable/ocata

commit 11c8145b964bf2eecc16b29bf20627b73805ff2c
Author: Goutham Pacha Ravi <email address hidden>
Date: Sun Jun 18 21:17:56 2017 -0400

    NetApp cDOT: Add gateway information to create static routes

    Add tenant routes/gateway to Vservers created by the driver.

    Change-Id: Id33c0e13d265d50f74f86ab8fb2c533eefa4b783
    Closes-Bug: #1698258
    Closes-Bug: #1612655
    (cherry picked from commit f88df34e3188624ed60c69d9e159bfebe17b0f91)

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 4.0.1

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

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

Fix proposed to branch: driverfixes/newton
Review: https://review.openstack.org/587685

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

Reviewed: https://review.openstack.org/587685
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=546f3c84788bc0448c9afd0dea88c633c1555603
Submitter: Zuul
Branch: driverfixes/newton

commit 546f3c84788bc0448c9afd0dea88c633c1555603
Author: Goutham Pacha Ravi <email address hidden>
Date: Sun Jun 18 21:17:56 2017 -0400

    NetApp cDOT: Add gateway information to create static routes

    Add tenant routes/gateway to Vservers created by the driver.

    Change-Id: Id33c0e13d265d50f74f86ab8fb2c533eefa4b783
    Closes-Bug: #1698258
    Closes-Bug: #1612655
    (cherry picked from commit f88df34e3188624ed60c69d9e159bfebe17b0f91)
    (cherry picked from commit 11c8145b964bf2eecc16b29bf20627b73805ff2c)

tags: added: in-driverfixes-newton
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.