Skip to content

Commit

Permalink
F OpenNebula/one-aiops#569: improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRobres committed Dec 18, 2024
1 parent 55c5eae commit f20ddd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lithops/serverless/backends/one/one.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def deploy_runtime(self, docker_image_name, memory, timeout):
return super().deploy_runtime(docker_image_name, memory, timeout)

def _wait_kubernetes_nodes(self, total, timeout=60):
logger.info(f"Waiting for {total} Kubernetes nodes to become available")
super()._get_nodes()
start_time = time.time()
while len(self.nodes) < total and time.time() - start_time < timeout:
Expand Down

0 comments on commit f20ddd6

Please sign in to comment.