openshift / openshift-sdn

Apache License 2.0
69 stars 63 forks source link

implement status hook in network plugins #142

Closed danwinship closed 9 years ago

danwinship commented 9 years ago

origin's multitenant plugin currently returns nil for the Status() call, with a "TODO unbreak this" comment

When using the kube plugin, its exec script gets run, sees that the command is not "init", "setup", or "teardown", and exits with status 1. kubelet then logs an error:

Aug 26 16:30:03 ose3-node1-ansible.test.example.com atomic-openshift-node[4554]: E0826 16:30:03.699146    4554 manager.go:313] NetworkPlugin redhat/openshift-ovs-subnet failed on the status hook for pod 'docker-registry-1-deploy' - exit status 1

although the end result (other than the logged error) is the same as in the multitenant case.