cloudstack/plugins/hypervisors
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
..
baremetal Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
hyperv misc: fix spelling (#7549) 2023-11-02 09:23:53 +01:00
kvm Externalise a few timeouts & fix timeout for hostSupportsUefi in libvirt ready command wrapper (#8547) 2024-01-27 23:36:13 +05:30
ovm misc: fix spelling (#7549) 2023-11-02 09:23:53 +01:00
ovm3 Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
simulator Remove unneeded duplicate words (#8358) 2023-12-15 17:13:32 +05:30
ucs Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
vmware Remove unneeded duplicate words (#8358) 2023-12-15 17:13:32 +05:30
xenserver Update XenServer610WrapperTest.java (#8139) 2023-11-03 17:18:48 +05:30