Increase timeout waiting for image-service
Because we have 2 more CPU archs supported by the image-service (which
results in 4 more images served) we probably need more time for
the image-service to come healthy.
This increases it by 10 minutes, hopefully making it more stable.
@@ -10,6 +10,7 @@ from urllib.parse import urlunsplit, urlsplit
from retry import retry
TIMEOUT = 60 * 30
+IMAGE_SERVICE_TIMEOUT = 60 * 40
REQUEST_TIMEOUT = 2
SLEEP = 10
@@ -67,7 +68,7 @@ def main():
domain=deploy_options.domain,
namespace=deploy_options.namespace,
disable_tls=deploy_options.disable_tls),
- timeout_seconds=TIMEOUT,
+ timeout_seconds=IMAGE_SERVICE_TIMEOUT,
expected_exceptions=(requests.exceptions.ConnectionError, requests.exceptions.ReadTimeout),
sleep_seconds=SLEEP, waiting_for="assisted-image-service to be healthy")
