GitHub user likitha opened a pull request: https://github.com/apache/cloudstack/pull/562
Cloudstack 8612 To ensure that setting a high timeout value for snapshot backup operation will not affect vCenter connections made for any other operations besides volume snapshot, split the existing vCenter session timeout configuration into two configurations, 1. To tune timeout value for CS's session vCenter during snapshot backup operation - 'vmware.snapshot.backup.session.timeout' (new; default: 20 minutes) 2. For all other operations - 'vmware.vcenter.session.timeout' (existing; default: 20 minutes) Additional change - Users could potentially run into a timeout issue while trying to snapshot large VMs. There is a timeout for async-jobs that ensures that any job that has been in process for too long is cancelled by CSMS. This timeout is configurable using a global configuration âjob.cancel.threshold.minutesâ and it defaults to 1 hour. Now for large volumes even though users configure other snapshot timeout values (âvmware.snapshot.backup.session.timeoutâ and âbackup.snapshot.waitâ) to a very high value, the snapshot operation will still fail because the job will be cancelled in 1 hour. Hence proposing a configuration that will allow admins to separate out the job cancellation timeout for âvolume snapshotâ jobs from other vm work jobs - 'volume.snapshot.job.cancel.threshold'. You can merge this pull request into a Git repository by running: $ git pull https://github.com/likitha/cloudstack CLOUDSTACK-8612 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/562.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #562 ---- commit 1093a9626e1d401ba3501882797c2ea2b0fd54c7 Author: Likitha Shetty <likitha.she...@citrix.com> Date: 2015-04-30T05:05:57Z CLOUDSTACK-8612. [VMware] Make vCenter session timeout configurable for volume snapshot. Separate out vmware vcenter session timeout config for volume snapshot backup operation. commit c8c9d81b0c2f08f506e828453efbed7911d9a517 Author: Likitha Shetty <likitha.she...@citrix.com> Date: 2015-05-05T08:29:49Z CLOUDSTACK-8612. [VMware] Make vCenter session timeout configurable for volume snapshot. Separate out async job timeout for volume snapshot job from other vm work jobs. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---