Skip to content

Commit

Permalink
only wait 1mn for isos in onprem
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed May 30, 2024
1 parent a5267be commit e9d8db1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ailib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1543,8 +1543,8 @@ def create_deployment(self, cluster, overrides, force=False, debug=False):
self.create_infra_env(infraenv, overrides)
del overrides['cluster']
if not self.saas:
info("Waiting 240s for iso to be available")
sleep(240)
info("Waiting 60s for iso to be available")
sleep(60)
if 'iso_url' in overrides:
download_iso_path = overrides.get('download_iso_path')
if download_iso_path is None:
Expand Down Expand Up @@ -1611,8 +1611,8 @@ def scale_deployment(self, cluster, overrides, debug=False):
if info_cluster.status != 'adding-hosts':
self.update_cluster(cluster, {'day2': True})
if not self.saas:
info("Waiting 240s for iso to be available")
sleep(240)
info("Waiting 60s for iso to be available")
sleep(60)
if 'iso_url' in overrides:
download_iso_path = overrides.get('download_iso_path')
if download_iso_path is None:
Expand Down

0 comments on commit e9d8db1

Please sign in to comment.