View Issue Details

IDProjectCategoryView StatusLast Update
0001110bareos-corefile daemonpublic2019-09-19 15:31
Reporterstephand Assigned To 
Status newResolutionopen 
Product Version18.2.7 
Summary0001110: BareosFdPluginBaseclass:parse_plugin_definition() does not allow to override plugin options using FD Plugin Options in Job
DescriptionCurrently, the code does not allow to override plugin options set from FileSet by using
the FD Plugin Options parameter in a Job resource.
As a user/admin, I want to be able to override the more general settings (FileSet) by more
specific settings (Job).

Steps To ReproduceExample FileSet:

FileSet {
  Name = "vm_generic_fileset"
  Include {
    Options {
    Plugin = "python:module_path=/usr/lib64/bareos/plugins/vmware_plugin:module_name=bareos-fd-vmware:dc=mydc:folder=/my/"

And example Job definition:

Job {
  Name = "vm_test02_job"
  JobDefs = "DefaultJob"
  FileSet = "vm_generic_fileset"
  FD Plugin Options = "python:folder=/dmz:vmname=fw01"

The above options from "FD Plugin Options" do currently not override the options declared in the FileSet,
it is only possible to add options not yet declared in the FileSet.
Tagsfd, plugin
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action


related to 0001106 assignedstephand Director's not sending Plugin Options to FileDaemon 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-09-05 13:07 stephand New Issue
2019-09-05 13:07 stephand Tag Attached: fd
2019-09-05 13:07 stephand Tag Attached: plugin
2019-09-05 13:08 stephand Relationship added related to 0001106