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.
Reviewed: https:/ /review. openstack. org/168401 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=872dc5f6aff 284a6f8d89b1923 62740bf03a36bb
Committed: https:/
Submitter: Jenkins
Branch: master
commit 872dc5f6aff284a 6f8d89b19236274 0bf03a36bb
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: I3166ef5420409a d45cf64f04e6c1d 30b6c674d20
Closes-Bug: #1437389