Windows: cannot handle UNC paths containing subdirs

Bug #1805341 reported by Lucian Petrut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
Fix Released
Undecided
Lucian Petrut

Bug Description

When using Scale-Out File Server SMB shares, we have to use the local share paths instead of the UNC paths, if the host is part of the cluster. There's an os-win method that allows fetching the shared path, but it expects the share name, while we're passing subdirs as well, for which reason it fails with with "Exception during mounting: Could not find the local share path for csv1\volumes.".

We'll have to make sure we're passing the share name only, appending the subdir afterwards.

Changed in os-brick:
assignee: nobody → Lucian Petrut (petrutlucian94)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (master)

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

Changed in os-brick:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-brick (master)

Reviewed: https://review.openstack.org/620253
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=d5c3f3a7f61c6ea48152d16a21b89ca0e0d642c9
Submitter: Zuul
Branch: master

commit d5c3f3a7f61c6ea48152d16a21b89ca0e0d642c9
Author: Lucian Petrut <email address hidden>
Date: Mon Nov 26 16:40:23 2018 +0200

    Windows SMBFS: fix using share subdirs

    When using Scale-Out File Server SMB shares, we have to use the local
    share paths instead of the UNC paths if the host is part of the
    cluster.

    There's an os-win method that allows fetching the shared path but
    it expects the share name, while we're passing subdirs as well,
    for which reason it fails.

    We'll have to make sure we're passing the share name only, appending
    the subdir afterwards.

    Closes-Bug: #1805341

    Change-Id: I47d7e7afefe050cd4b25435cfcfc3e8963bd04bc

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

This issue was fixed in the openstack/os-brick 2.7.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.