Hello, 

I installed the bareos-fd-vmware plugin on two vm (centos and ubuntu), 
unfortunately with each test I get the following error message :


*estimate job=vm-ubunutu
Using Catalog "MyCatalog"
Connecting to Client fd-vmware-fd at 192.168.1.10:9102
python-fd: 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/BareosFdPluginVMware.py", line 176, in 
start_backup_file
    self.vadp.disk_device_to_backup = self.vadp.disk_devices.pop(0)
AttributeError: 'NoneType' object has no attribute 'pop'

2000 OK estimate files=0 bytes=0


My configuration file for dir:


Client {
  Name = fd-vmware-fd
  Address = 192.168.1.10
  Password = "..."
  AutoPrune = yes
  File Retention = 1 years
  Job Retention = 1 years
}

Job {
  Name = "vm-ubunutu"
  Client = "fd-vmware-fd"
  JobDefs = "DefaultVM"
  FileSet = "fs-vm-ubuntu"
}

FileSet {
  Name = "fs-vm-ubuntu"

  Include {
    Options {
         signature = MD5
         Compression = GZIP
    }
Plugin = 
"python:module_path=/usr/lib/bareos/plugins:module_name=bareos-fd-vmware:dc=mydc:folder=/:vmname=whatever-vmname:vcserver=whatever-ip:vcuser=whatever-user:vcpass=whatever-psw"
  }
}


On client :

Client {
  Name = fd-vwamre-fd
  Maximum Concurrent Jobs = 20

  # remove comment from "Plugin Directory" to load plugins from specified 
directory.
  # if "Plugin Names" is defined, only the specified plugins will be loaded,
  # otherwise all storage plugins (*-fd.so) from the "Plugin Directory".
  #
  Plugin Directory = "/usr/lib/bareos/plugins"
  Plugin Names = "python"
  # Plugin Names = "bareos-fd-vmware"

  # if compatible is set to yes, we are compatible with bacula
  # if set to no, new bareos features are enabled which is the default
  # compatible = yes
}

Do you have any idea why I'm getting this message ?

Thank a lot

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to