cloudstack/engine
Vishesh fedcf66de0
Externalise a few timeouts & fix timeout for hostSupportsUefi in libvirt ready command wrapper (#8547)
This PR fixes bug introduced in #8502. Timeout for script execution was set to 60 ms instead of 60s which resulted in host not getting UEFI enabled. This is a blocker for 4.19 release.

We do this by introducing a new agent parameter `agent.script.timeout` (default - 60 seconds) to use as a timeout for the script checking host's UEFI status.

We also externalize the timeout for the ReadyCommand by introducing a new global setting `ready.command.wait` (default - 60 seconds).

For ModifyStoragePoolCommand, we don't externalize the timeout to avoid confusion for the user. Since, the required timeout can vary depending on the provider in use and we are only setting the wait for default host listener for now. Instead, we reuse the global `wait` setting by dividing it by `5` making the default value of 6 minutes (1800/5 = 360s) for ModifyStoragePoolCommand.

Note: the actual time, the MS waits is twice the wait set for a Command. Check reference code below.
19250403e6/engine/orchestration/src/main/java/com/cloud/agent/manager/AgentAttache.java (L406-L442)
2024-01-27 23:36:13 +05:30
..
api CleanUp Async Jobs after mgmt server maintenance (#8394) 2024-01-19 13:26:25 +05:30
components-api Externalise a few timeouts & fix timeout for hostSupportsUefi in libvirt ready command wrapper (#8547) 2024-01-27 23:36:13 +05:30
orchestration Externalise a few timeouts & fix timeout for hostSupportsUefi in libvirt ready command wrapper (#8547) 2024-01-27 23:36:13 +05:30
schema Fix reorder/list pools when cluster details are not set, while deploying vm / attaching volume (#8373) 2024-01-10 18:13:32 +05:30
service pre-commit: standardize more line endings to `lf` (#7804) 2023-10-18 11:25:00 +02:00
storage Externalise a few timeouts & fix timeout for hostSupportsUefi in libvirt ready command wrapper (#8547) 2024-01-27 23:36:13 +05:30
userdata mvn: fix userdata dependency version (#8017) 2023-09-28 14:37:49 +05:30
pom.xml ObjectStore Framework with MinIO and Simulator plugins (#7752) 2023-12-01 17:51:00 +05:30