삽질/개발,엔지니어링

failed post-install: timed out waiting for the condition

maengis 2023. 5. 31. 13:11

실서버에 에어플로우를 설치하려고 하니 해당 오류가 발생.

client.go:773: [debug] airflow-run-airflow-migrations: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
W0530 19:16:15.686219   23727 reflector.go:456] k8s.io/client-go@v0.27.1/tools/cache/reflector.go:231: watch of *unstructured.Unstructured ended with: an error on the server ("unable to decode an event from the watch stream: stream error: stream ID 293; INTERNAL_ERROR; received from peer") has prevented the request from succeeding
client.go:734: [debug] Add/Modify event for airflow-run-airflow-migrations: MODIFIED
client.go:773: [debug] airflow-run-airflow-migrations: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
upgrade.go:442: [debug] warning: Upgrade "airflow" failed: post-upgrade hooks failed: 1 error occurred:
        * timed out waiting for the condition


Error: UPGRADE FAILED: post-upgrade hooks failed: 1 error occurred:
        * timed out waiting for the condition


helm.go:84: [debug] post-upgrade hooks failed: 1 error occurred:
        * timed out waiting for the condition


UPGRADE FAILED
main.newUpgradeCmd.func2
        helm.sh/helm/v3/cmd/helm/upgrade.go:209
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.6.1/command.go:916
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.6.1/command.go:1044
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.6.1/command.go:968
main.main
        helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
        runtime/proc.go:250
runtime.goexit
        runtime/asm_amd64.s:1598

https://github.com/apache/airflow/issues/16176

 

Quickstart Helm Chart fails post-install · Issue #16176 · apache/airflow

Apache Airflow version: 2.0.2 Kubernetes version (if you are using kubernetes) (use kubectl version): 1.19 Environment: Cloud provider or hardware configuration: Running kind locally OS (e.g. from ...

github.com

찾아보다가 postgres 관련 문제 같아서 확인을 해보니 사용하려는 DB서버에 5432 포트로 접근이 안 됨.

방화벽 허용 되어 있는줄 알았는데 아니었다.

반응형