Bug 1309956

Summary: The files under openshift-sdn/plugins/osdn/ovs/bin/ in openshift/origin repo are missing execute permission
Product: OKD Reporter: Meng Bo <bmeng>
Component: NetworkingAssignee: Dan Winship <danw>
Status: CLOSED CURRENTRELEASE QA Contact: Meng Bo <bmeng>
Severity: low Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, bbennett, pweil
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-12 19:29:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Meng Bo 2016-02-19 05:34:31 UTC
Description of problem:
Git clone both the openshift/origin and openshift/openshift-sdn repo with master branch.

Compare the files
# ls -l src/github.com/origin/Godeps/_workspace/src/github.com/openshift/openshift-sdn/plugins/osdn/ovs/bin/ src/github.com/openshift-sdn/plugins/osdn/ovs/bin/
src/github.com/openshift-sdn/plugins/osdn/ovs/bin/:
total 8
-rwxr-xr-x. 1 root root  928 Dec 21 15:17 openshift-sdn-docker-setup.sh
-rwxr-xr-x. 1 root root 3325 Feb 19 10:21 openshift-sdn-ovs

src/github.com/origin/Godeps/_workspace/src/github.com/openshift/openshift-sdn/plugins/osdn/ovs/bin/:
total 8
-rw-r--r--. 1 root root  928 Feb 18 17:13 openshift-sdn-docker-setup.sh
-rw-r--r--. 1 root root 3325 Feb 18 17:13 openshift-sdn-ovs


The files in origin repo are missing execute permission.

And there is no step to add such permission in the origin/contrib/node/install-sdn.sh file.

This will cause the pod creation failure.


  8s            4s              3       {kubelet node1.bmeng.local}                     Warning         FailedSync      Error syncing pod, skipping: failed to "SetupNetwork" for "router-1-deploy_default" with SetupNetworkError: "Failed to setup network for pod \"router-1-deploy_default(9124d7d0-d6ae-11e5-9b30-525400efed30)\" using network plugins \"redhat/openshift-ovs-multitenant\": executable file not found in $PATH; Skipping pod"

Comment 1 Dan Winship 2016-04-12 19:29:47 UTC
This was a temporary problem and fixed a while ago.