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

cannot create pod success #177

Closed
xidianby0911 opened this issue Dec 5, 2017 · 7 comments
Closed

cannot create pod success #177

xidianby0911 opened this issue Dec 5, 2017 · 7 comments

Comments

@xidianby0911
Copy link

after i deploy the ovn-k8s plugin, i create a pod,but pod's status always being containercreating. i use command "systemctl status kubelet -l ",there are some errors shown:
ovs ovn-k8s-cni-overlay | ERR | failed to get pod annotation:('Connection aborted,' Connection refused)
ovn-k8s-cni-overlay | ERR | failed to get pod annotation:(Connection error(111, 'Connection refused'))

ovs ovn-k8s-cni-overlay | ERR | failed to get pod annotation:(Connection refused)
error adding network:
error while adding to cni network:
runpodsandbox from runtime service failed:networkplugin cni failed to set up pod "kube-dns-545bc4bfd4-6lh4l_kube-system"netwok:
createpodsandbox for pod "kube-dns- "failed: rpc error: code = unknown desc = networkplugin cni failed to set up "kube-system"netwok:

@rajatchopra
Copy link

Can you get the output of 'ovs-vsctl get Open_vSwitch . external_ids' from one of the nodes? The cni plugin is not able to reach the apiserver it seems.

@xidianby0911
Copy link
Author

My ovs version is 2.8.1,can it work well with ovn plugin?

@rajatchopra
Copy link

My ovs version is 2.8.1,can it work well with ovn plugin?

Yes, that version is good. Better even. Could you get the output of 'ovs-vsctl get Open_vSwitch . external_ids'? I suspect some setup issues.

@xidianby0911
Copy link
Author

The output of 'ovs-vsctl get Open_vSwitch. external_ids' was:
{hostname=localhost,"k8s-ca-certificate =",ovn-encap-ip=192.168.1.7,ovn-encap-type=stt,ovn-nb=tcp:192.168.1.6:6641,ovn-remote=tcp:192.168.1.6:6642,run=/usr/local/var/run/openvswitch…}
But my hostname is k8s.node1. Does this affect normal work?

@xidianby0911
Copy link
Author

My k8s-api-server=10.10.1.2:8080

@xidianby0911
Copy link
Author

The output of 'ovs-vsctl get Open_vSwitch. external_ids' was:
{hostname=localhost,"k8s-api-server=10.10.1.2:8080,k8s-api-token =…,k8s-ca-certificate =…",ovn-encap-ip=192.168.1.7,ovn-encap-type=stt,ovn-nb=tcp:192.168.1.6:6641,ovn-remote=tcp:192.168.1.6:6642,run=/usr/local/var/run/openvswitch…}
But my hostname is k8s.node1. Does this affect normal work?

@shettyg
Copy link
Collaborator

shettyg commented May 14, 2018

We have moved to golang now. Closing all python bugs.

@shettyg shettyg closed this as completed May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants