Bug 1309956 - The files under openshift-sdn/plugins/osdn/ovs/bin/ in openshift/origin repo are missing execute permission
Summary: The files under openshift-sdn/plugins/osdn/ovs/bin/ in openshift/origin repo ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Networking
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Dan Winship
QA Contact: Meng Bo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-19 05:34 UTC by Meng Bo
Modified: 2016-04-12 19:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-12 19:29:47 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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