I have installed the Vmware plugin, and it seems operational. But when I test it, on several VM with CBT enabled, I got the following error :
Fatal error: Traceback (most recent call last):
File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 42, in start_backup_file
return bareos_fd_plugin_object.start_backup_file(context, savepkt)
File "/usr/lib/bareos/plugins/vmware_plugin/BareosFdPluginVMware.py", line 160, in start_backup_file
if not self.vadp.get_vm_disk_cbt(context):
File "/usr/lib/bareos/plugins/vmware_plugin/BareosFdPluginVMware.py", line 887, in get_vm_disk_cbt
changeId=cbt_changeId)
File "/usr/lib/python2.7/dist-packages/pyVmomi/VmomiSupport.py", line 566, in <lambda>
self.f(*(self.args + (obj,) + args), **kwargs)
File "/usr/lib/python2.7/dist-packages/pyVmomi/VmomiSupport.py", line 375, in _InvokeMethod
return self._stub.InvokeMethod(self, info, args)
File "/usr/lib/python2.7/dist-packages/pyVmomi/SoapAdapter.py", line 1301, in InvokeMethod
raise obj # pylint: disable-msg=E0702
vim.fault.FileFault: (vim.fault.FileFault) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = u'Erreur provoqu\xe9e par le fichier /vmfs/volumes/19536d18-6870b949/vm124.ddo.net_1/vm124.ddo.net.vmdk',
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) [],
file = '/vmfs/volumes/19536d18-6870b949/vm124.ddo.net_1/vm124.ddo.net.vmdk'
}
"msg" could be translated by "error coming from the file ..."
The plugin setup is good, as it has found the vCenter and the VM.
Other VMs generate also this kind of message.
I have checked that these VM are really CBT enabled.
Any idea ?
BR
Sylvain
I have enabled CBT manually in my vCenter. So, now, I use the vmware_cbt_tool.py tool to resetcbt, or disablecbt/enablecbt on the VM, but this does not change the error. Of course, I have checked that there was no snapshot on my VM.
I also use the tool on a fresh VM, never CBTed. And backup also failed, with same kind of error message, on the corresponding disk.
Very very strange...
As it was not found in my Ubuntu 14.10, I downloaded it from here :
https://launchpad.net/ubuntu/+source/python-pyvmomi
It could be an obsolete or invalid pachage ?
Thanks for your returns.
I had installed Bareos packages with "Debian_8.0" settings.
The bareos-vmware-* installed are :
bareos-vmware-plugin
bareos-vmware-vix-disklib
The first one, bareos-vmware-plugin, has required a dependancy, not present in distrib : python-pyvmomi. This is why I have downloaded from launchpad.net website.
I also have installed bareos-vadp-dumper, but not set it up.
On the VMs tested, the "--info" works fine and returns True on "supported" and "enabled" settings.
Am Donnerstag, 17. Dezember 2015 17:36:51 UTC+1 schrieb Stephan Duehr:
> Are you using an NFS datastore?
>
> The Bareos VMware Backup Plugin does currently not work with NFS datastores.
>
> For more details see the folowing FAQ article:
> http://www.bareos.org/en/faq/does-the-bareos-vmware-backup-plugin-work-on-nfs-datastore.html
>
This post is a little older but still current. You're right that the use of the special "*" change ID is the cause of trouble with VMs on NFS datastores. If you migrate the datastore to VMDK, backup it with Bareos and migrate it back to NFS, bareos works with CBT enabled on NFS datastore, because the change ID was set initially by the first backup and CBT is supported by VMware on NFS datastores also. From my understanding it should also be possible to do a intiially full backup of the VM sitting on the NFS datastore which converts the thin layout to thick and sets the necessary change ID for later CBT backups. Do you think, that it would be possible to implement that in Bareos?
Best regards