Bug 1309956 - The files under openshift-sdn/plugins/osdn/ovs/bin/ in openshift/origin repo are missing execute permission
The files under openshift-sdn/plugins/osdn/ovs/bin/ in openshift/origin repo ...
Status: CLOSED CURRENTRELEASE
Product: OpenShift Origin
Classification: Red Hat
Component: Networking (Show other bugs)
3.x
Unspecified Unspecified
medium Severity low
: ---
: ---
Assigned To: Dan Winship
Meng Bo
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-19 00:34 EST by Meng Bo
Modified: 2016-04-12 15:29 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-04-12 15:29:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Meng Bo 2016-02-19 00:34:31 EST
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 15:29:47 EDT
This was a temporary problem and fixed a while ago.

Note You need to log in before you can comment on or make changes to this bug.