netapp driver active directory cifs server not valid dns hostname

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

Bug Description

The Cifs Server Name ends up in active directory as Computer Account and will be used for DNS naming. Therefore it needs to be DNS compliant.

Currently https://github.com/openstack/manila/blob/5e8df296abcc2f08aac085b09aeae202508d5dc7/manila/share/drivers/netapp/dataontap/client/client_cmode.py#L1329 it uses dots and possible other not compliant characters defined by the user in netapp_vserver_name_template (e.g. default "os_%s" which adds an non-compliant underscore)

See RFC 1123 and RFC 952 for the valid hostnames

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

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

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

commit a8ea49c5479dfb7024a9b3776b84a52693cf7707
Author: Maurice Schreiber <email address hidden>
Date: Fri Sep 29 10:35:50 2017 +0200

    NetApp ONTAP: change cifs server valid dns hostname

    by using hyphen instead of dots and underscore

    Change-Id: Iba8131fff3d92100d554a07f42f23c7a38c2e469
    Closes-Bug: #1716694

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

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

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.