Hi,
I'm trying to use snap creator 4.1 to backup our kvm vm images. Image files are in qcow2 format and resides on a nfs volume that is mounted on kvm hosts.
I have installed snapcreator agent on the kvm host and configured a backup profile. When I try to backup the operation hangs for some minutes at this point:
########## Application Discovery ##########
[2014-01-29 09:28:45,180] INFO: Performing discovery on : kvm
And then fails, here's the complete log
[2014-01-29 09:28:43,991] DEBUG: Workflow : backup started with workflow id : 23
[2014-01-29 09:28:43,991] DEBUG: Version: Snap Creator Framework 4.1.0
[2014-01-29 09:28:43,992] DEBUG: Profile: kvm
[2014-01-29 09:28:43,992] DEBUG: Config: backup_vm_img
[2014-01-29 09:28:43,992] DEBUG: Action: backup
[2014-01-29 09:28:43,992] DEBUG: Plugin: kvm
[2014-01-29 09:28:43,992] DEBUG: Policy: daily
[2014-01-29 09:28:43,992] DEBUG: Volume Name: detect
[2014-01-29 09:28:43,993] DEBUG: Snapshot Name: scsnap-daily_20140129092843
[2014-01-29 09:28:44,112] INFO: Validating policy: daily finished successfully
########## Detecting Data ONTAP mode for auto ##########
[2014-01-29 09:28:44,566] INFO: STORAGE-03031: Getting system version details of [cafaro]
[2014-01-29 09:28:44,567] DEBUG: <system-get-version/>
[2014-01-29 09:28:44,567] DEBUG: <system-get-ontapi-version/>
[2014-01-29 09:28:44,568] INFO: STORAGE-03032: Getting system version details of [cafaro] finished successfully.
########## Agent validation ##########
[2014-01-29 09:28:44,894] INFO: Agent validation completed successfully for agent 192.168.86.166:9090
########## Plugin validation ##########
[2014-01-29 09:28:44,925] INFO: Plugin validation completed successfully for plugin kvm
########## Application Discovery ##########
[2014-01-29 09:28:45,180] INFO: Performing discovery on : kvm
[2014-01-29 09:38:51,134] ERROR: [192.168.86.166:9090 (4.1.0.1)] Operation failed. Reason: Executor timed out. Make sure plugins/wrapper/wrapper binary has execute permission set. Increasing WRAPPER_TIMEOUT_IN_MSEC in agent.properties may help, too.
[2014-01-29 09:38:51,136] ERROR: [192.168.86.166:9090(4.1.0.1)] SCF-00028: Auto Discovery for plug-in [kvm] failed with error [validation failed] and exit code [102], Exiting!
[2014-01-29 09:38:51,143] DEBUG: Workflow : backup_OnFailure started with workflow id : 24
[2014-01-29 09:38:51,143] DEBUG: Version: Snap Creator Framework 4.1.0
[2014-01-29 09:38:51,143] DEBUG: Profile: kvm
[2014-01-29 09:38:51,143] DEBUG: Config: backup_vm_img
[2014-01-29 09:38:51,143] DEBUG: Action: backup_OnFailure
[2014-01-29 09:38:51,143] DEBUG: Plugin: kvm
[2014-01-29 09:38:51,144] DEBUG: Policy: daily
[2014-01-29 09:38:51,144] DEBUG: Volume Name: detect
[2014-01-29 09:38:51,144] DEBUG: Snapshot Name: scsnap-daily_20140129092843
########## Application cleanup ##########
[2014-01-29 09:38:51,789] INFO: Performing cleanup on : kvm
[2014-01-29 09:39:02,159] ERROR: [192.168.86.166:9090 (4.1.0.1)] Operation failed. Make sure plugins/wrapper/wrapper binary has execute permission set. Also try increasing WRAPPER_TIMEOUT_IN_MSEC in scAgent/etc/agent.properties
[2014-01-29 09:39:02,161] ERROR: [192.168.86.166:9090(4.1.0.1)] SCF-00074: Cleanup for plug-in [kvm] failed with error [null] and exit code [102], Exiting!
########## Agent Workflow Finalization ##########
[2014-01-29 09:39:02,170] INFO: Agent Workflow Finalization started
[2014-01-29 09:39:12,985] INFO: [192.168.86.166:9090 (4.1.0.1)] Finalized workflow with id 23
[2014-01-29 09:39:12,985] INFO: Agent Workflow Finalization finished successfully
########## Snap Creator Framework 4.1.0 failed ##########
[2014-01-29 09:39:13,028] INFO: Pre Exit commands are not defined. Skipping !
I have checked against SCF-00028 with no success.
Can you help me fix this issue?
Thanks
Il messaggio è stato modificato da: Lorenzo Conti
The only way to fix is doing this setup APP_AUTO_DISCOVER=N in the following config files
/SCSERVERDIR/scServer4.1.0/engine/configs/PROFILE/CONF and
/SCSERVERDIR/scServer4.1.0/engine/etc/validation/plugins/kvm.conf
Is it the right way to do it?