Skip to content

vmware plugin: merge into subdirectories, add system test#544

Merged
pstorz merged 10 commits intomasterfrom
dev/pstorz/master/vmware-test
Jul 1, 2020
Merged

vmware plugin: merge into subdirectories, add system test#544
pstorz merged 10 commits intomasterfrom
dev/pstorz/master/vmware-test

Conversation

@pstorz
Copy link
Member

@pstorz pstorz commented Jun 10, 2020

No description provided.

@pstorz pstorz requested a review from sduehr June 10, 2020 12:20
@pstorz pstorz changed the title vmare plugin: merge into subdirectories, add system test vmware plugin: merge into subdirectories, add system test Jun 10, 2020
@@ -318,7 +318,52 @@ Description: Backup Archiving Recovery Open Sourced - common tools
.
This package provides scripts and configuration to run bareos-regress with the installed Bareos packages.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes are also required in the file core/debian/control.in. If bareos-vmware should not be build on all Debian platforms, it is only required there.

@pstorz pstorz force-pushed the dev/pstorz/master/vmware-test branch 4 times, most recently from f883b97 to b5d106f Compare June 23, 2020 10:29
@pstorz pstorz force-pushed the dev/pstorz/master/vmware-test branch from 07294bd to cc1def2 Compare June 30, 2020 07:58
pstorz and others added 6 commits June 30, 2020 10:13
When a job is cancelled in a plugin call, the log being was:
    Command plugin "python:..." requested, but is not loaded.

As this is very misleading, cancelling is handled individually and the
log being created now is:
    Command plugin "python:..." requested, but job is already cancelled.
- moved vmware/ directory into core/src
- moved vmware plugin to src/plugins/filed
- introduced python vmware plugin test
- cmake: look for vmware-vix-disklib

To run the vmware test, do the following:

 * unpack vmware-vix-disklib into /usr/lib/vmware-vix-disklib-distrib
 * set the rquired variables when running cmake like this:

   cmake <src directory> \
   <usual configure settings> \
  -Dvmware_user=Administrator@vsphere.local\
  -Dvmware_password="p@$$w0rd" \
  -Dvmware_vm_name=testvm1 \
  -Dvmware_datacenter=mydc1 \
  -Dvmware_folder="/webservers" \
  -Dvmware_server=<ip_or_name_of_server>
Define VIXDISKLIBCREATEPARAMS_HAS_PHYSICALSECTORSIZE when building
bareos_vadp_dumper if true.
The VMware plugin now allows to use an optional config file to
specify plugin options.

By cmake check for physicalSectorSize member in VixDiskLibCreateParams
the build of bareos_vadp_dumper now works with VDDK 6.5.2, 6.7.3 an 7.0
@pstorz pstorz force-pushed the dev/pstorz/master/vmware-test branch from cc1def2 to 07f2a14 Compare June 30, 2020 08:13
Copy link
Member

@sduehr sduehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, can be merged.

@pstorz pstorz merged commit 0c7cc18 into master Jul 1, 2020
@pstorz pstorz deleted the dev/pstorz/master/vmware-test branch July 1, 2020 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants