View Issue Details

IDProjectCategoryView StatusLast Update
0001057bareos-corevmware pluginpublic2020-12-14 17:28
Reporteralex.kanaykin Assigned Tostephand  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSRHELOS Version6
Product Version18.2.5 
Summary0001057: Option to disable quiesced snapshot
DescriptionHi,
I have VM to backup with RHEL6. (Cisco UCM) When I tried to backup it I getting error msg = "An error occurred while quiescing the virtual machine. See the virtual machine's event log for details."

That VM doesn't support quiesced snapshots.

The question is: Can you, please, add an option to vmware-plugin to avoid quiescing host like in Bacula *quiesce_host=no*

Anyway thank you for your great software!

with best regards, Alex.
Steps To ReproduceStart job on vm that can't do quiesced snapshots.
Additional InformationFatal error: python-fd: Traceback (most recent call last):
File "/usr/lib64/bareos/plugins/BareosFdWrapper.py", line 38, in handle_plugin_event
return bareos_fd_plugin_object.handle_plugin_event(context, event)
File "/usr/lib64/bareos/plugins/BareosFdPluginVMware.py", line 549, in handle_plugin_event
return self.start_backup_job(context)
File "/usr/lib64/bareos/plugins/BareosFdPluginVMware.py", line 179, in start_backup_job
return self.vadp.prepare_vm_backup(context)
File "/usr/lib64/bareos/plugins/BareosFdPluginVMware.py", line 764, in prepare_vm_backup
if not self.create_vm_snapshot(context):
File "/usr/lib64/bareos/plugins/BareosFdPluginVMware.py", line 930, in create_vm_snapshot
self.vmomi_WaitForTasks([self.create_snap_task])
File "/usr/lib64/bareos/plugins/BareosFdPluginVMware.py", line 1219, in vmomi_WaitForTasks
raise task.info.error
vim.fault.ApplicationQuiesceFault: (vim.fault.ApplicationQuiesceFault) {
dynamicType = ,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = "An error occurred while quiescing the virtual machine. See the virtual machine's event log for details.",
faultCause = ,
faultMessage = (vmodl.LocalizableMessage) [
(vmodl.LocalizableMessage) {
dynamicType = ,
dynamicProperty = (vmodl.DynamicProperty) [],
key = 'msg.checkpoint.save.fail2.std3',
arg = (vmodl.KeyAnyValue) [
(vmodl.KeyAnyValue) {
dynamicType = ,
dynamicProperty = (vmodl.DynamicProperty) [],
key = '1',
value = 'msg.snapshot.error-QUIESCINGERROR'
}
],
message = 'An error occurred while saving the snapshot: Failed to quiesce the virtual machine.'
},
(vmodl.LocalizableMessage) {
dynamicType = ,
dynamicProperty = (vmodl.DynamicProperty) [],
key = 'msg.snapshot.vigor.take.error',
arg = (vmodl.KeyAnyValue) [
(vmodl.KeyAnyValue) {
dynamicType = ,
dynamicProperty = (vmodl.DynamicProperty) [],
key = '1',
value = 'msg.snapshot.error-QUIESCINGERROR'
}
],
message = 'An error occurred while taking a snapshot: Failed to quiesce the virtual machine.'
}
]
Tagsplugin

Activities

arogge

arogge

2019-07-12 10:59

manager   ~0003451

sounds reasonable, but I don't know when we'll be able to implement it.
stephand

stephand

2020-12-14 17:28

developer   ~0004065

Fix committed to bareos master branch with changesetid 14414.

Related Changesets

bareos: master 3257a099

2020-11-11 23:27

stephand


Committer: arogge

Ported: N/A

Details Diff
vmware: Add option to allow disabling guest quiescing

Fixes 0001057: Option to disable quiesced snapshot

Added the optional setting quiesce, by default guest quiescing on
snapshot is enabled. When adding the plugin option quiesce=no the
guest quiescing on snapshot will be disabled. The plugin will
issue an error message in this case, to indicate that the backup
may be inconsistent, so the job termination will be
Backup OK -- with warnings
Affected Issues
0001057
mod - core/src/plugins/filed/python/vmware/BareosFdPluginVMware.py Diff File

Issue History

Date Modified Username Field Change
2019-02-14 10:00 alex.kanaykin New Issue
2019-02-14 10:00 alex.kanaykin Tag Attached: plugin
2019-07-12 10:59 arogge Status new => acknowledged
2019-07-12 10:59 arogge Note Added: 0003451
2020-12-14 17:28 arogge Changeset attached => bareos master 3257a099
2020-12-14 17:28 stephand Note Added: 0004065
2020-12-14 17:28 stephand Assigned To => stephand
2020-12-14 17:28 stephand Status acknowledged => resolved
2020-12-14 17:28 stephand Resolution open => fixed