CIFS storage pool fails to mount - bad UNC

Bug #1611545 reported by Ofer Bezalel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
New
Undecided
Unassigned

Bug Description

In ubuntu 14.04 LTS (Linux hio-converged 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux)

libvirt version: 1.2.2

using the following xml to define a storage pool (netfs-cifs.xml):
<pool type="netfs">
  <name>netfs-cifs</name>
  <source>
    <host name="192.168.1.2"/>
    <dir path="Video"/>
    <format type='cifs'/>
  </source>
  <target>
    <path>/tmp/cifs</path>
  </target>
</pool>

I define the pool (virsh pool-define netfs-cifs.xml), build (virsh pool-build netfs-cifs) and then start it (virsh pool-start netfs-cifs)

results in the following error:
error: Failed to start pool netfs-cifs
error: internal error: Child process (/bin/mount -t cifs 192.168.1.2:Video /tmp/cifs) unexpected exit status 1: mount.cifs: bad UNC (192.168.1.2:Video)

Revision history for this message
Ofer Bezalel (obone) wrote :

Found this... https://bugzilla.redhat.com/show_bug.cgi?id=1186969 I guess that answers my question - resolved in 1.2.17

description: updated
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.