Skip to content

VMware Plugin: Fix transformer issues#1532

Merged
BareosBot merged 6 commits intomasterfrom
dev/sduehr/master/vmware-fix-transformer-issues
Sep 15, 2023
Merged

VMware Plugin: Fix transformer issues#1532
BareosBot merged 6 commits intomasterfrom
dev/sduehr/master/vmware-fix-transformer-issues

Conversation

@sduehr
Copy link
Member

@sduehr sduehr commented Aug 18, 2023

Thank you for contributing to the Bareos Project!

This PR fixes multiple issue with the transformation of VM config data for recreation of VMs on restore.

Additionally, the vmware_cbt_tool.py can now dump the virtual machine config metadata to a JSON file, this can be helpful to debug this type of issue.

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Check backport line
  • Required backport PRs have been created
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

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

See comments

@sduehr sduehr requested a review from pstorz September 12, 2023 21:00
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

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

Good work!

@pstorz pstorz mentioned this pull request Sep 14, 2023
11 tasks
@pstorz pstorz force-pushed the dev/sduehr/master/vmware-fix-transformer-issues branch from 686e545 to 8c486e3 Compare September 14, 2023 19:55
sduehr and others added 6 commits September 15, 2023 12:01
The VMware Plugin can now recreate virtual machines which use
VirtualPCIPassthrough or VirtualEnsoniq1371. Backup now terminates
without warning in this case.

Additionally, the vmware_cbt_tool.py can now dump the virtual machine
config metadat to a JSON file, this can be helpful to debug issues with
metadata transformation to recreate virtual machines.
The above properties can be missing, the plugin code now handles this
properly so that backup jobs no longer cause false warnings.
The object_index of restore objects must always increase globally,
not only within a job, because the SQL query uses ORDER BY ObjectIndex
only. Otherwise restore objects could be processed in wrong order.
Unified setting controllerKey and unitNumber. Note in docs properly
formatted now.
@BareosBot BareosBot force-pushed the dev/sduehr/master/vmware-fix-transformer-issues branch from e3ef035 to 164f745 Compare September 15, 2023 12:01
@BareosBot BareosBot merged commit 235cc6a into master Sep 15, 2023
@BareosBot BareosBot deleted the dev/sduehr/master/vmware-fix-transformer-issues branch September 15, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants