Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Error "/bin/bash: line 1: exec: #magic___^_^___line: not found" on fresh install #35303

Closed
1 of 2 tasks
rishabhgargg opened this issue Oct 31, 2023 · 4 comments
Closed
1 of 2 tasks
Labels
area:helm-chart Airflow Helm Chart kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet

Comments

@rishabhgargg
Copy link

Official Helm Chart version

1.11.0 (latest released)

Apache Airflow version

2.7.1

Kubernetes Version

1.27.6

Helm Chart configuration

https://gist.github.com/rishabhgargg/e24f16c314a3dcfb436f3bb203ed0f05

Docker Image customizations

None

What happened

I did this multiple time on different EKS clusters, all new.

But, for some reason as soon as I apply the chart with the provided values.yaml with a change useStandardNaming: true (which is the default values.yaml from chart) above, I am getting this error /bin/bash: line 1: exec: #magic___^_^___line: not found.

What you think should happen instead

Ideally, all pods should be up as soon as the default chart is applied.

How to reproduce

  1. helm repo add apache-airflow https://airflow.apache.org
  2. helm upgrade --install airflow apache-airflow/airflow --namespace airflow --create-namespace

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@rishabhgargg rishabhgargg added area:helm-chart Airflow Helm Chart kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet labels Oct 31, 2023
Copy link

boring-cyborg bot commented Oct 31, 2023

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

@mbrunnen
Copy link

mbrunnen commented Nov 14, 2023

Comes from yamlfmt: https://github.com/google/yamlfmt/blob/176fffc80d1c77511861c9dfa63fb1471612a35f/internal/hotfix/retain_line_break.go#L28

Setting retain_line_breaks: false in .yamlfmt worked-around the problem in a totally different project.

See also: google/yamlfmt#86

@didlawowo
Copy link

meet the same error doesn't know why, first time it was ok then relaunch chart and get this

@potiuk
Copy link
Member

potiuk commented Feb 21, 2024

Sems like a bug in yamlffmt in case of some specific whitespace (End of line) in yaml google/yamlfmt#86 has explanation. Seems you need to reformat your yaml to not have the whitespace that causes it. Nothing specific to Airflow.

Converting it to a discussion.

@apache apache locked and limited conversation to collaborators Feb 21, 2024
@potiuk potiuk converted this issue into discussion #37607 Feb 21, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
area:helm-chart Airflow Helm Chart kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet
Projects
None yet
Development

No branches or pull requests

4 participants