Azure / Azure/azure-linux-extensions

pre-script timeout apparently cannot exceed 1800 seconds

Open
#706 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

Hi,

Our pre-script runs a large database backup and takes several hours to complete. In /etc/azure/VMSnapshotScriptPluginConfig.json, I have set timeoutInSeconds to 72000 to allow the pre-script sufficient time to complete - but it appears that the timeout always happens at 1800 seconds.

I've looked through the code of PluginHost.py and ScriptRunner.py, and if I've read it right, it appears that timeoutInSeconds can never exceed 1800, and any value set for it in the config files which is higher than this will be ignored.

If this is the case, was 1800 seconds chosen arbitrarily, or is it a hardwired maximum imposed by the azure vm snapshot software?

Thanks
Peter

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.