Libvirt SMB volume driver: fail to attach volume

Bug #1437389 reported by Lucian Petrut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Lucian Petrut

Bug Description

The Libvirt SMB volume driver fails to attach volumes if the connection info does not contain mount options.

The reason is that the mount options are not parsed correctly. It attempts to join the connection info mount options (which in this case are set to None) with the locally configured mount options.

Trace: http://paste.openstack.org/show/197179/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Petrut Lucian (petrutlucian94)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/168401
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=872dc5f6aff284a6f8d89b192362740bf03a36bb
Submitter: Jenkins
Branch: master

commit 872dc5f6aff284a6f8d89b192362740bf03a36bb
Author: Lucian Petrut <email address hidden>
Date: Fri Mar 27 18:09:49 2015 +0200

    Libvirt SMB volume driver: fix volume attach

    The Libvirt SMB volume driver fails to attach volumes if the
    connection info does not contain mount options.

    The reason is that the mount options are not parsed correctly.
    It attempts to join the connection info mount options (which in
    this case are set to None) with the locally configured mount
    options.

    This patch handles the case when the mount options are set to None.

    Change-Id: I3166ef5420409ad45cf64f04e6c1d30b6c674d20
    Closes-Bug: #1437389

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-rc1 → 2015.1.0
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.