cloudstack/engine/storage
Vishesh 85bf6f239b
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-29 12:43:23 -03:00
..
cache Updating pom.xml version numbers for release 4.19.0.0 2024-01-22 10:28:05 +05:30
configdrive Updating pom.xml version numbers for release 4.19.0.0 2024-01-22 10:28:05 +05:30
datamotion Updating pom.xml version numbers for release 4.19.0.0 2024-01-22 10:28:05 +05:30
image Updating pom.xml version numbers for release 4.19.0.0 2024-01-22 10:28:05 +05:30
integration-test Updating pom.xml version numbers for release 4.19.0.0 2024-01-22 10:28:05 +05:30
object Updating pom.xml version numbers for release 4.19.0.0 2024-01-22 10:28:05 +05:30
snapshot Updating pom.xml version numbers for release 4.19.0.0 2024-01-22 10:28:05 +05:30
src Fix reorder/list pools when cluster details are not set, while deploying vm / attaching volume (#8373) 2024-01-10 18:13:32 +05:30
volume Externalise a few timeouts & fix timeout for hostSupportsUefi in libvirt ready command wrapper (#8547) 2024-01-29 12:43:23 -03:00
pom.xml Updating pom.xml version numbers for release 4.19.0.0 2024-01-22 10:28:05 +05:30
storage.ucls CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30