Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airflow Helm chart fails on Apple Silicon + kind #19360

Closed
1 of 2 tasks
ralleman-quasarsat opened this issue Nov 2, 2021 · 2 comments
Closed
1 of 2 tasks

Airflow Helm chart fails on Apple Silicon + kind #19360

ralleman-quasarsat opened this issue Nov 2, 2021 · 2 comments
Labels
area:core invalid kind:bug This is a clearly a bug

Comments

@ralleman-quasarsat
Copy link

Apache Airflow version

2.2.1 (latest released)

Operating System

Mac OS Big Sur (2021 Mac Air M1)

Versions of Apache Airflow Providers

Deployment

Official Apache Airflow Helm Chart

Deployment details

Following these instructions https://marclamberti.com/blog/airflow-on-kubernetes-get-started-in-10-mins/ and also the official instructions https://airflow.apache.org/docs/helm-chart/stable/index.html (which are essentially the same), the build fails with INSTALLATION FAILED: failed post-install: timed out waiting for the condition helm.go:88: [debug] failed post-install: timed out waiting for the condition.

This was also reported here but was closed: #16176. The fix in this post doesn't help to resolve the issue.

What happened

Build fails with:

% helm install airflow apache-airflow/airflow --namespace airflow --debug
install.go:178: [debug] Original chart version: ""
install.go:199: [debug] CHART PATH: .../Library/Caches/helm/repository/airflow-1.2.0.tgz

client.go:299: [debug] Starting delete for "airflow-broker-url" Secret
client.go:328: [debug] secrets "airflow-broker-url" not found
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for "airflow-fernet-key" Secret
client.go:328: [debug] secrets "airflow-fernet-key" not found
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for "airflow-redis-password" Secret
client.go:328: [debug] secrets "airflow-redis-password" not found
client.go:128: [debug] creating 1 resource(s)
client.go:128: [debug] creating 31 resource(s)
client.go:299: [debug] Starting delete for "airflow-run-airflow-migrations" Job
client.go:328: [debug] jobs.batch "airflow-run-airflow-migrations" not found
client.go:128: [debug] creating 1 resource(s)
client.go:528: [debug] Watching for changes to Job airflow-run-airflow-migrations with timeout of 5m0s
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
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/[email protected]/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/[email protected]/command.go:974
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/[email protected]/command.go:902
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
	runtime/proc.go:225
runtime.goexit
	runtime/asm_arm64.s:1130

What you expected to happen

It should deploy Airflow successfully.

How to reproduce

It happens 100% of the time for me despite many repeat attempts, so simply follow the instructions in the links above and it should happen.

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@ralleman-quasarsat ralleman-quasarsat added area:core kind:bug This is a clearly a bug labels Nov 2, 2021
@boring-cyborg
Copy link

boring-cyborg bot commented Nov 2, 2021

Thanks for opening your first issue here! Be sure to follow the issue template!

@potiuk potiuk added the invalid label Nov 2, 2021
@potiuk
Copy link
Member

potiuk commented Nov 2, 2021

Yep. There is no support for ARM images yet. See #15635

@potiuk potiuk closed this as completed Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core invalid kind:bug This is a clearly a bug
Projects
None yet
Development

No branches or pull requests

2 participants