Affects Version/s: 4.4.0, 4.4.1
Fix Version/s: None
Security Level: Public (Anyone can view this level - this is the default.)
Configuration: Xenserver 6.2, secondary storage on a Windows 2012R2 server.
Xenserver can not mount secondary storage.
Creating an instance from a downloaded template fails, and the following gets logged in Xenserver's SMlog:
Oct 18 10:08:32 xentest3 SM:  ['mount', '10.0.0.14:/secondary', '/var/run/sr-mount/2cf2caba-fa75-7f24-394b-215164e805e4']
Oct 18 10:08:32 xentest3 SM:  FAILED in util.pread: (rc 32) stdout: '', stderr: 'mount: 10.0.0.14:/secondary failed, reason given by ser
ver: No such file or directory
manually running the command " mount 10.0.0.14:/secondary ...." fails too with the same error.
manually running "mount 10.0.0.14:secondary ..." succeeds. (Also works like this: 10.0.0.14:\secondary)
By the way, when mounting a cifs ISO share from Xencenter, the following is logged in SMlog:
Oct 18 21:24:40 xentest3 SM:  ['mount.cifs', '//10.0.0.14/secondary', '/var/run/sr-mount/3bbea389-cffb-9a0e-54eb-435960a248f8', '-o', 'credentials=/tmp/8a2ff51d-2842-499e-b3da-9bff521a4dd8']
Oct 18 21:24:40 xentest3 SM:  pread SUCCESS
So I think either mount.cifs should be used, or the path of the share should start with "\".
I am not sure if this is a Cloudstack or Xenserver related bug.