--Task-- name: Deploy_or_discover_overseer enabled: True class_name: DeployOrDiscoverOverseerTask source_name: controller source_namespace: >default< target_name: controller target_namespace: >default< start: 0.0 stop: None timeout: no timeout loop: False interval: None dependencies: ['Discover_Tenant'] wait_for: [] preceding_task: None options: {} group_name: None Current dir: /mnt/disk1/xslou/workshop/lodestar-fork/pyrock task will be executed on controller (localhost) 2025-09-21 06:05:20 - INFO: Interval for this Task has changed to 5s (5 seconds) 2025-09-21 06:05:20 - INFO: interval was set to Task default because it was unset, based on self.timeout value because task is allowed to stop by itself ________________________________________________________________________________ [2025-09-21 06:05:20] Deploy_or_discover_overseer step1 : Discover or deploy overseer ________________________________________________________________________________ 2025-09-21 06:05:21,116 INFO 2025-09-21 06:05:21,116 INFO [loop_until]: kubectl --namespace=xlou get deployments -l "release=overseer" -o name 2025-09-21 06:05:21,116 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-09-21 06:05:21,425 INFO [loop_until]: OK (rc = 0) 2025-09-21 06:05:21,425 DEBUG --- stdout --- 2025-09-21 06:05:21,425 DEBUG deployment.apps/overseer-0 2025-09-21 06:05:21,425 DEBUG --- stderr --- 2025-09-21 06:05:21,425 DEBUG Discover overseer pod: overseer-0 2025-09-21 06:05:21,589 INFO 2025-09-21 06:05:21,590 INFO --------------------- Get expected number of pods --------------------- 2025-09-21 06:05:21,590 INFO 2025-09-21 06:05:21,590 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app=overseer-0 --output jsonpath={.items[*].spec.replicas} 2025-09-21 06:05:21,590 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-09-21 06:05:21,872 INFO [loop_until]: OK (rc = 0) 2025-09-21 06:05:21,872 DEBUG --- stdout --- 2025-09-21 06:05:21,872 DEBUG 1 2025-09-21 06:05:21,872 DEBUG --- stderr --- 2025-09-21 06:05:21,872 DEBUG 2025-09-21 06:05:21,872 INFO 2025-09-21 06:05:21,872 INFO ------------- Reloading pod list for product "overseer-0" ------------- 2025-09-21 06:05:21,872 INFO 2025-09-21 06:05:21,872 INFO [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods --selector app=overseer-0 --output jsonpath={.items[*].metadata.name}` | grep 1 2025-09-21 06:05:21,872 INFO [loop_until]: (max_time=360.0, interval=10, expected_rc=[0] 2025-09-21 06:05:22,195 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2025-09-21 06:05:22,195 INFO [loop_until]: OK (rc = 0) 2025-09-21 06:05:22,195 DEBUG --- stdout --- 2025-09-21 06:05:22,195 DEBUG overseer-0-57d79d468-khs5t 2025-09-21 06:05:22,195 DEBUG --- stderr --- 2025-09-21 06:05:22,195 DEBUG 2025-09-21 06:05:22,195 INFO 2025-09-21 06:05:22,195 INFO ----------- Check pod overseer-0-57d79d468-khs5t is running ----------- 2025-09-21 06:05:22,196 INFO 2025-09-21 06:05:22,196 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods overseer-0-57d79d468-khs5t -o=jsonpath={.status.phase} | grep "Running" 2025-09-21 06:05:22,196 INFO [loop_until]: (max_time=360, interval=5, expected_rc=[0] 2025-09-21 06:05:22,540 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-09-21 06:05:22,540 INFO [loop_until]: OK (rc = 0) 2025-09-21 06:05:22,540 DEBUG --- stdout --- 2025-09-21 06:05:22,540 DEBUG Running 2025-09-21 06:05:22,540 DEBUG --- stderr --- 2025-09-21 06:05:22,540 DEBUG 2025-09-21 06:05:22,541 INFO 2025-09-21 06:05:22,541 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods overseer-0-57d79d468-khs5t -o=jsonpath={.status.containerStatuses[*].ready} | grep "true" 2025-09-21 06:05:22,541 INFO [loop_until]: (max_time=360, interval=5, expected_rc=[0] 2025-09-21 06:05:22,815 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-09-21 06:05:22,815 INFO [loop_until]: OK (rc = 0) 2025-09-21 06:05:22,816 DEBUG --- stdout --- 2025-09-21 06:05:22,816 DEBUG true 2025-09-21 06:05:22,816 DEBUG --- stderr --- 2025-09-21 06:05:22,816 DEBUG 2025-09-21 06:05:22,816 INFO 2025-09-21 06:05:22,816 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod overseer-0-57d79d468-khs5t --output jsonpath={.status.startTime} 2025-09-21 06:05:22,816 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-09-21 06:05:23,092 INFO [loop_until]: OK (rc = 0) 2025-09-21 06:05:23,092 DEBUG --- stdout --- 2025-09-21 06:05:23,092 DEBUG 2025-09-11T01:04:50Z 2025-09-21 06:05:23,092 DEBUG --- stderr --- 2025-09-21 06:05:23,092 DEBUG 2025-09-21 06:05:23,093 INFO 2025-09-21 06:05:23,093 INFO ---- Check pod overseer-0-57d79d468-khs5t filesystem is accessible ---- 2025-09-21 06:05:23,675 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-09-21 06:05:23,675 INFO 2025-09-21 06:05:23,675 INFO --------- Check pod overseer-0-57d79d468-khs5t restart count --------- 2025-09-21 06:05:23,675 INFO 2025-09-21 06:05:23,675 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod overseer-0-57d79d468-khs5t --output jsonpath={.status.containerStatuses[*].restartCount} 2025-09-21 06:05:23,675 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-09-21 06:05:23,958 INFO [loop_until]: OK (rc = 0) 2025-09-21 06:05:23,959 DEBUG --- stdout --- 2025-09-21 06:05:23,959 DEBUG 0 2025-09-21 06:05:23,959 DEBUG --- stderr --- 2025-09-21 06:05:23,959 DEBUG 2025-09-21 06:05:23,959 INFO Pod overseer-0-57d79d468-khs5t has been restarted 0 times. 2025-09-21 06:05:23,959 INFO 2025-09-21 06:05:23,959 INFO --------------------- Get expected number of pods --------------------- 2025-09-21 06:05:23,960 INFO 2025-09-21 06:05:23,960 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app=overseer-0 --output jsonpath={.items[*].spec.replicas} 2025-09-21 06:05:23,960 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-09-21 06:05:24,248 INFO [loop_until]: OK (rc = 0) 2025-09-21 06:05:24,248 DEBUG --- stdout --- 2025-09-21 06:05:24,248 DEBUG 1 2025-09-21 06:05:24,248 DEBUG --- stderr --- 2025-09-21 06:05:24,248 DEBUG 2025-09-21 06:05:24,248 INFO 2025-09-21 06:05:24,248 INFO -------------- Waiting for 1 expected pod(s) to be ready -------------- 2025-09-21 06:05:24,248 INFO 2025-09-21 06:05:24,248 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments overseer-0 --output jsonpath="ready:{.status.readyReplicas} replicas:{.status.replicas}" | grep "ready:1 replicas:1" 2025-09-21 06:05:24,248 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2025-09-21 06:05:24,557 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-09-21 06:05:24,557 INFO [loop_until]: OK (rc = 0) 2025-09-21 06:05:24,557 DEBUG --- stdout --- 2025-09-21 06:05:24,557 DEBUG ready:1 replicas:1 2025-09-21 06:05:24,557 DEBUG --- stderr --- 2025-09-21 06:05:24,557 DEBUG 2025-09-21 06:05:24,557 INFO Livecheck to https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com 2025-09-21 06:05:24,558 INFO [http_cmd]: curl --insecure -L --request GET "https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com" 2025-09-21 06:05:24,853 INFO [http_cmd]: http status code OK 2025-09-21 06:05:24,853 DEBUG --- status code --- 2025-09-21 06:05:24,853 DEBUG http status code is 200 (expected 200) 2025-09-21 06:05:24,853 DEBUG --- http response --- 2025-09-21 06:05:24,853 DEBUG Directory listing for /

Directory listing for /



________________________________________________________________________________ [2025-09-21 06:05:24] Deploy_or_discover_overseer post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped