Hi all,
I have a few guests that show this in the backup logs:
qmp command 'guest-fsfreeze-freeze' failed - got timeout
qmp command 'guest-fsfreeze-thaw' failed - got timeout
This is obviously dealing with the qemu guest agent, and the corresponding vss functionality (when dealing with a windows client in this case) - I notice in the source code:
of qemu-server, the timeout is 10 seconds. normally I assume this would be a good time - these two machines happen to be WSUS servers so they have a lot of data and a lot of small files and I'm thinking the VSS functionality is just taking too long and timing out. Is there any way (either existing or for the future) to add in the .conf to make it possible to increase that timeout period? That way for machines that don't experience the problem, it would just use the default, but for those few cases, you could increase it if necessary without increasing it for all of the machines....
Right now I'm not even sure of the state of those VMs due to the two timeouts (freeze and thaw) right after each other where it may be in a state where it may have not properly thawed (assuming it ever finished freezing). For those two vms right now I'll have to turn off the guest agent functionality to prevent any future issues, but it'd be nice if one could extend the timeout if needed.
I have a few guests that show this in the backup logs:
qmp command 'guest-fsfreeze-freeze' failed - got timeout
qmp command 'guest-fsfreeze-thaw' failed - got timeout
This is obviously dealing with the qemu guest agent, and the corresponding vss functionality (when dealing with a windows client in this case) - I notice in the source code:
Code:
if (!$timeout) {
# hack: monitor sometime blocks
if ($cmd->{execute} eq 'query-migrate') {
$timeout = 60*60; # 1 hour
} elsif ($cmd->{execute} =~ m/^(eject|change)/) {
$timeout = 60; # note: cdrom mount command is slow
} elsif ($cmd->{execute} eq 'guest-fsfreeze-freeze' ||
$cmd->{execute} eq 'guest-fsfreeze-thaw') {
$timeout = 10;
} elsif ($cmd->{execute} eq 'savevm-start' ||
$cmd->{execute} eq 'savevm-end' ||
$cmd->{execute} eq 'query-backup' ||
$cmd->{execute} eq 'query-block-jobs' ||
$cmd->{execute} eq 'backup-cancel' ||
$cmd->{execute} eq 'query-savevm' ||
$cmd->{execute} eq 'delete-drive-snapshot' ||
$cmd->{execute} eq 'guest-shutdown' ||
$cmd->{execute} eq 'snapshot-drive' ) {
$timeout = 10*60; # 10 mins ?
} else {
$timeout = 3; # default
}
}
of qemu-server, the timeout is 10 seconds. normally I assume this would be a good time - these two machines happen to be WSUS servers so they have a lot of data and a lot of small files and I'm thinking the VSS functionality is just taking too long and timing out. Is there any way (either existing or for the future) to add in the .conf to make it possible to increase that timeout period? That way for machines that don't experience the problem, it would just use the default, but for those few cases, you could increase it if necessary without increasing it for all of the machines....
Right now I'm not even sure of the state of those VMs due to the two timeouts (freeze and thaw) right after each other where it may be in a state where it may have not properly thawed (assuming it ever finished freezing). For those two vms right now I'll have to turn off the guest agent functionality to prevent any future issues, but it'd be nice if one could extend the timeout if needed.