cloudstack/plugins
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
..
acl FiberChannel Multipath for KVM + Pure Flash Array and HPE-Primera Support (#7889) 2023-12-09 11:31:33 +05:30
affinity-group-processors Use project version on pom dependencies (#8529) 2024-01-18 20:16:06 +05:30
alert-handlers Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
api New Feature: Import VMware VMs into KVM (#7881) 2023-12-07 12:59:56 +05:30
backup Fix intermittent build failures (#8312) 2023-12-07 14:03:26 +01:00
ca/root-ca add 'management.network.cidr' ip to mgmt certificate (#7728) 2023-11-02 09:32:27 +01:00
database Format quota email currency values (#7605) 2023-10-10 13:06:24 +02:00
dedicated-resources Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
deployment-planners Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
drs/cluster DRS: Use free metrics insteado of used for computation (#8458) 2024-01-10 17:52:46 +05:30
event-bus Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
host-allocators/random Flexible tags for hosts and storage pools (#7489) 2023-11-30 09:36:47 +01:00
hypervisors Externalise a few timeouts & fix timeout for hostSupportsUefi in libvirt ready command wrapper (#8547) 2024-01-27 23:36:13 +05:30
integrations Merge remote-tracking branch 'apache/4.18' 2023-12-20 08:58:30 +05:30
metrics ObjectStore Framework with MinIO and Simulator plugins (#7752) 2023-12-01 17:51:00 +05:30
network-elements Fix flaky tungsten test using comparator (#8232) 2023-11-14 10:17:32 +01:00
outofbandmanagement-drivers Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
shutdown ObjectStore Framework with MinIO and Simulator plugins (#7752) 2023-12-01 17:51:00 +05:30
storage minio: fix store user creation (#8425) 2024-01-09 17:44:11 +05:30
storage-allocators/random Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
user-authenticators Oauth2 integration with CloudStack (#7996) 2023-10-31 13:25:28 +05:30
user-two-factor-authenticators Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00
pom.xml Use project version on pom dependencies (#8529) 2024-01-18 20:16:06 +05:30