canonical / canonical/pycloudlib

[enhancement] add ability to pass custom timeout for instance boot / initial ssh connection

Open
#433 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
22
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Currently, it is hardcoded at 40 minutes. For many clouds, if the instance is not up within 1 minute, something is very wrong, and within 5 minutes, you can be 99.99% certain that image is never going to come up.

I want multiple things to be possible:
- Default value is no longer same for all clouds. should be configurable per cloud with conservative default value set in base class.
- Can be passed to cloud constructor or set in pycloudlib.toml per cloud
- Can take into consideration instance type (i.e baremetal will take significantly longer than a VM)
- Can be specified to instance launch() command to override any existing config or default value

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.