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

start-controller.sh failed with error: Argument list too long #1970

Closed
zhangzujian opened this issue Oct 17, 2022 · 0 comments · Fixed by #1971
Closed

start-controller.sh failed with error: Argument list too long #1970

zhangzujian opened this issue Oct 17, 2022 · 0 comments · Fixed by #1971
Labels
bug Something isn't working

Comments

@zhangzujian
Copy link
Member

Expected Behavior

Actual Behavior

kube-ovn-controller failed with the following logs:

/kube-ovn/start-controller.sh: line 22: /usr/bin/sed: Argument list too long
/kube-ovn/start-controller.sh: line 22: /usr/bin/sed: Argument list too long
/kube-ovn/start-controller.sh: line 24: /usr/bin/sed: Argument list too long
/kube-ovn/start-controller.sh: line 22: /usr/bin/sed: Argument list too long
/kube-ovn/start-controller.sh: line 22: /usr/bin/sed: Argument list too long
/kube-ovn/start-controller.sh: line 24: /usr/bin/sed: Argument list too long
/kube-ovn/start-controller.sh: line 37: /kube-ovn/kube-ovn-controller: Argument list too long

Maybe it's related to #1799 in which case the value of the OVN_NB_DAEMON environment variable is too long.

We should also validate the environment variable in the shell script.

Steps to Reproduce the Problem

Additional Info

  • Kubernetes version:

    Output of kubectl version:

    (paste your output here)
    
  • kube-ovn version:

    (paste your output here)
    
  • operation-system/kernel version:

    Output of awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release:
    Output of uname -r:

    (paste your output here)
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant