Public bug reported:

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)

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: cifs storage-pools

** Description changed:

+ 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>
+   <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)

** Bug watch added: Red Hat Bugzilla #1186969
   https://bugzilla.redhat.com/show_bug.cgi?id=1186969

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611545

Title:
  CIFS storage pool fails to mount - bad UNC

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1611545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to