You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/16 12:14:53 UTC

[GitHub] [airflow] matasejem commented on issue #16176: Quickstart Helm Chart fails post-install

matasejem commented on issue #16176:
URL: https://github.com/apache/airflow/issues/16176#issuecomment-970213131


   @kaxil, i am receiving similar err (see below) - wonder if i should also try the above commands relating to 1.3.0rc1, or whether it requires different kind of fix - thanks. 
   
   `PS C:\Windows\System32> helm install airflow apache-airflow/airflow --namespace airflow --debug --timeout 10m0s
   install.go:178: [debug] Original chart version: ""
   install.go:199: [debug] CHART PATH: C:\Users\MARTIN~1\AppData\Local\Temp\helm\repository\airflow-1.3.0.tgz
   
   client.go:299: [debug] Starting delete for "airflow-broker-url" Secret
   client.go:128: [debug] creating 1 resource(s)
   client.go:299: [debug] Starting delete for "airflow-fernet-key" Secret
   client.go:128: [debug] creating 1 resource(s)
   client.go:299: [debug] Starting delete for "airflow-redis-password" Secret
   client.go:128: [debug] creating 1 resource(s)
   client.go:128: [debug] creating 33 resource(s)
   client.go:299: [debug] Starting delete for "airflow-run-airflow-migrations" Job
   client.go:128: [debug] creating 1 resource(s)
   client.go:528: [debug] Watching for changes to Job airflow-run-airflow-migrations with timeout of 10m0s
   client.go:556: [debug] Add/Modify event for airflow-run-airflow-migrations: ADDED
   client.go:595: [debug] airflow-run-airflow-migrations: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
   client.go:556: [debug] Add/Modify event for airflow-run-airflow-migrations: MODIFIED
   client.go:595: [debug] airflow-run-airflow-migrations: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
   client.go:556: [debug] Add/Modify event for airflow-run-airflow-migrations: MODIFIED
   client.go:299: [debug] Starting delete for "airflow-create-user" Job
   client.go:328: [debug] jobs.batch "airflow-create-user" not found
   client.go:128: [debug] creating 1 resource(s)
   client.go:528: [debug] Watching for changes to Job airflow-create-user with timeout of 10m0s
   client.go:556: [debug] Add/Modify event for airflow-create-user: ADDED
   client.go:595: [debug] airflow-create-user: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
   client.go:556: [debug] Add/Modify event for airflow-create-user: MODIFIED
   client.go:595: [debug] airflow-create-user: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
   W1115 12:55:22.480047    9876 reflector.go:441] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: watch of *unstructured.Unstructured ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
   I1115 12:55:33.664716    9876 trace.go:205] Trace[300875778]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 12:55:23.654) (total time: 10009ms):
   Trace[300875778]: [10.0095411s] [10.0095411s] END
   E1115 12:55:33.665699    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 12:55:45.927127    9876 trace.go:205] Trace[922864028]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 12:55:35.908) (total time: 10018ms):
   Trace[922864028]: [10.0183913s] [10.0183913s] END
   E1115 12:55:45.927382    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 12:56:00.518389    9876 trace.go:205] Trace[1282502707]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 12:55:50.511) (total time: 10007ms):
   Trace[1282502707]: [10.007077s] [10.007077s] END
   E1115 12:56:00.521483    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 12:56:23.254867    9876 trace.go:205] Trace[336697707]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 12:56:13.237) (total time: 10017ms):
   Trace[336697707]: [10.0173028s] [10.0173028s] END
   E1115 12:56:23.255431    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 12:56:50.279920    9876 trace.go:205] Trace[1113683026]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 12:56:40.266) (total time: 10013ms):
   Trace[1113683026]: [10.013341s] [10.013341s] END
   E1115 12:56:50.281131    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 12:57:28.631461    9876 trace.go:205] Trace[2006327411]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 12:57:18.629) (total time: 10002ms):
   Trace[2006327411]: [10.002029s] [10.002029s] END
   E1115 12:57:28.631461    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 12:58:22.706208    9876 trace.go:205] Trace[365191476]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 12:58:12.695) (total time: 10010ms):
   Trace[365191476]: [10.0109451s] [10.0109451s] END
   E1115 12:58:22.706762    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 12:59:16.350704    9876 trace.go:205] Trace[611706561]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 12:59:06.341) (total time: 10009ms):
   Trace[611706561]: [10.0090197s] [10.0090197s] END
   E1115 12:59:16.351089    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 12:59:59.275048    9876 trace.go:205] Trace[1510419015]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 12:59:49.268) (total time: 10006ms):
   Trace[1510419015]: [10.0061847s] [10.0061847s] END
   E1115 12:59:59.275556    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 13:00:49.912921    9876 trace.go:205] Trace[434755033]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 13:00:39.902) (total time: 10010ms):
   Trace[434755033]: [10.0104631s] [10.0104631s] END
   E1115 13:00:49.913463    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 13:01:49.592632    9876 trace.go:205] Trace[958360155]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 13:01:39.576) (total time: 10016ms):
   Trace[958360155]: [10.0162521s] [10.0162521s] END
   E1115 13:01:49.593159    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   I1115 13:02:30.179570    9876 trace.go:205] Trace[412353598]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167 (15-Nov-2021 13:02:20.167) (total time: 10012ms):
   Trace[412353598]: [10.0121795s] [10.0121795s] END
   E1115 13:02:30.180122    9876 reflector.go:138] k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://127.0.0.1:56936/apis/batch/v1/namespaces/airflow/jobs?fieldSelector=metadata.name%3Dairflow-create-user&resourceVersion=5376": net/http: TLS handshake timeout
   Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition
   helm.go:88: [debug] failed post-install: timed out waiting for the condition
   INSTALLATION FAILED
   main.newInstallCmd.func2
           helm.sh/helm/v3/cmd/helm/install.go:127
   github.com/spf13/cobra.(*Command).execute
           github.com/spf13/cobra@v1.2.1/command.go:856
   github.com/spf13/cobra.(*Command).ExecuteC
           github.com/spf13/cobra@v1.2.1/command.go:974
   github.com/spf13/cobra.(*Command).Execute
           github.com/spf13/cobra@v1.2.1/command.go:902
   main.main
           helm.sh/helm/v3/cmd/helm/helm.go:87
   runtime.main
           runtime/proc.go:225
   runtime.goexit
           runtime/asm_amd64.s:1371
   PS C:\Windows\System32>
   `
   
   
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org