-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
kube-ovn is failing after enabling "interconnection to an existing IC database server". #11356
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
sanshah1211
added a commit
to sanshah1211/kubespray-1
that referenced
this issue
Jul 6, 2024
Indentation was wrong (L658) which caused kubernetes-sigs#11356, confirmed at my side after making it correct kubespray playbook executed successfully.
sanshah1211
added a commit
to sanshah1211/kubespray-1
that referenced
this issue
Jul 6, 2024
Made corrections in Indentation at L658 which causes kubespray execution failed with YAML to Json conversion. kubernetes-sigs#11356
about
|
error parsing /etc/kubernetes/cni-kube-ovn.yml: error converting YAML to JSON: yaml: line 15: could not find expected ':'\n' please show /etc/kubernetes/cni-kube-ovn.yml |
/assign @sanshah1211 |
k8s-ci-robot
pushed a commit
that referenced
this issue
Aug 1, 2024
Made corrections in Indentation at L658 which causes kubespray execution failed with YAML to Json conversion. #11356
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
Failing "TASK [kubernetes-apps/network_plugin/kube-ovn : Kube-OVN | Start Resources]" with error "err='error: error parsing /etc/kubernetes/cni-kube-ovn.yml: error converting YAML to JSON: yaml: line 15: could not find expected ':'\n'"}"
What did you expect to happen?
Execution should happen successfully.
How can we reproduce it (as minimally and precisely as possible)?
By enabling "kube_ovn_ic_enable" option in "inventory/k8s/group_vars/k8s_cluster/k8s-net-kube-ovn.yml" file.
OS
rocky 9
Version of Ansible
Version of Python
Python 3.9.18
Version of Kubespray (commit)
35e904d
Network plugin used
kube-ovn
Full inventory with variables
https://gist.github.com/sanshah1211/f779b995276163d16a884c5db6fa14a0
Command used to invoke ansible
ansible-playbook -i inventory/k8s/inventory.ini -b cluster.yml
Output of ansible run
Anything else we need to know
After troubleshooting an error found that something is wrong with task execution.
Indentation should not be like this (Line 643)
Strange thing is this is only happening when I am enabling interconnection option, otherwise execution goes smoother.
The text was updated successfully, but these errors were encountered: