This repository was archived by the owner on Jan 25, 2022. It is now read-only.
Handle old failed tasks on vCloud Entities#18
Open
tlawrence wants to merge 3 commits into
Open
Conversation
|
Hello @tlawrence, This resolves the following issue raised here: Thank you for doing this! Regards, |
Contributor
|
Hello @tlawrence, We were not able to cleanly apply this patch to the current vCloud release repo. Could you please make your changes against that repo? Thanks, |
Author
|
Will do, looks like the problem is due to RSpecupgrade on the bosh-vcloud-cpi-release repo. Thanks Tim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
vCloud maintains a list of historical tasks for a vApp. These tasks are returned in the Xml element of a GET vAPP response.
When BOSH recomposes a vApp (to merge in new VMs for example) currently it aborts the BOSH Task if any failed tasks are identified.
This PR enables a configurable time threshold @old_task_threshold which tells the vcd_client library to disregard tasks older than the value (in minutes). By default tasks older than an hour will be ignored.