Skip to content

Cloudstack 8612 - #562

Closed
likitha wants to merge 2 commits into
apache:masterfrom
likitha:CLOUDSTACK-8612
Closed

Cloudstack 8612#562
likitha wants to merge 2 commits into
apache:masterfrom
likitha:CLOUDSTACK-8612

Conversation

@likitha

Copy link
Copy Markdown

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 CS MS. 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'.

Likitha Shetty added 2 commits July 6, 2015 11:35
…or volume snapshot.
Separate out vmware vcenter session timeout config for volume snapshot backup operation.
…or volume snapshot.
Separate out async job timeout for volume snapshot job from other vm work jobs.
@asfbot

Copy link
Copy Markdown

cloudstack-pull-requests #690 SUCCESS
This pull request looks good

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please use try-with-resource

@DaanHoogland

Copy link
Copy Markdown
Contributor

Can you add unit- and/or integration tests?

@remibergsma

Copy link
Copy Markdown
Contributor

Who wants to step in and finish this work? It seems the original author is not able to finish it. If no one steps in, we'll have to close the PR without merging it so please help :-).

remibergsma added a commit to remibergsma/cloudstack that referenced this pull request Aug 17, 2015
This closesapache#577
This closesapache#566
This closesapache#562
This closesapache#561
This closesapache#556
This closesapache#555
This closesapache#554
This closesapache#548
This closesapache#544
This closesapache#540
This closesapache#508
This closesapache#384
This closesapache#372
remibergsma added a commit to remibergsma/cloudstack that referenced this pull request Aug 17, 2015
This closesapache#577
This closesapache#566
This closesapache#562
This closesapache#561
This closesapache#556
This closesapache#555
This closesapache#554
This closesapache#548
This closesapache#544
This closesapache#540
This closesapache#384
This closesapache#372
remibergsma added a commit to remibergsma/cloudstack that referenced this pull request Aug 17, 2015
This closesapache#577
This closesapache#566
This closesapache#562
This closesapache#561
This closesapache#556
This closesapache#555
This closesapache#554
This closesapache#548
This closesapache#544
This closesapache#540
This closesapache#384
This closesapache#372
@yadvr

yadvr commented May 2, 2016

Copy link
Copy Markdown
Member

tag:vmware-pickup

@bvbharatk

Copy link
Copy Markdown
Contributor

ACS CI BVT Run

Sumarry:
Build Number 136
Hypervisor xenserver
NetworkType Advanced
Passed=73
Failed=0
Skipped=3

Link to logs Folder (search by build_no):https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0

Failed tests:

Skipped tests:
test_vm_nic_adapter_vmxnet3
test_static_role_account_acls
test_deploy_vgpu_enabled_vm

Passed test suits:
test_deploy_vm_with_userdata.py
test_affinity_groups_projects.py
test_portable_publicip.py
test_vpc_vpn.py
test_over_provisioning.py
test_global_settings.py
test_scale_vm.py
test_service_offerings.py
test_routers_iptables_default_policy.py
test_routers.py
test_reset_vm_on_reboot.py
test_snapshots.py
test_deploy_vms_with_varied_deploymentplanners.py
test_login.py
test_list_ids_parameter.py
test_public_ip_range.py
test_multipleips_per_nic.py
test_regions.py
test_affinity_groups.py
test_network_acl.py
test_pvlan.py
test_volumes.py
test_nic.py
test_deploy_vm_root_resize.py
test_resource_detail.py
test_secondary_storage.py
test_vm_life_cycle.py
test_disk_offerings.py

@sureshanaparti

Copy link
Copy Markdown
Contributor

Continuing with the code changes here in a new PR #2099.

@DaanHoogland

Copy link
Copy Markdown
Contributor

closing as @sureshanaparti handles this in #2099

Sign up for freeto 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.

8 participants

@likitha@asfbot@DaanHoogland@remibergsma@yadvr@bvbharatk@sureshanaparti@kiwiflyer