Bug 966065 - Python-2.6 app cannot be created due to bin/install: Permission denied
Summary: Python-2.6 app cannot be created due to bin/install: Permission denied
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Dan Mace
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-22 12:08 UTC by Meng Bo
Modified: 2015-05-14 23:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 04:08:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Meng Bo 2013-05-22 12:08:44 UTC
Description of problem:
Try to create python-2.6 app on devenv_3259, will fail with following error:
/var/lib/openshift/519cb1c1c34cbb0733000017/python/bin/install: line 16: /var/lib/openshift/519cb1c1c34cbb0733000017/python//versions/2.6/bin/install: Permission
denied

Version-Release number of selected component (if applicable):
devenv_3259

How reproducible:
always

Steps to Reproduce:
1.Create python 2.6 app via rhc client
2.
3.

Actual results:
Application Options
-------------------
  Namespace:  bmengdev1
  Cartridges: python-2.6
  Gear Size:  default
  Scaling:    no

Creating application 'py1' ... 
/var/lib/openshift/519cb1c1c34cbb0733000017/python/bin/install: line 16: /var/lib/openshift/519cb1c1c34cbb0733000017/python//versions/2.6/bin/install: Permission denied

Expected results:
Should be created without error.

Additional info:
It is ok for python2.7 and python3.3

Find the following from the instace:

[root@ip-10-118-54-144 bin]# ls -l
total 12
-rwxr-xr-x. 1 root root 2653 May 22 04:14 control
-rw-r--r--. 1 root root  429 May 22 04:14 install
-rwxr-xr-x. 1 root root  179 May 22 04:14 setup
[root@ip-10-118-54-144 bin]# pwd
/var/lib/openshift/.cartridge_repository/redhat-python/0.0.1/versions/2.6/bin

Comment 1 Dan Mace 2013-05-22 14:51:02 UTC
Resolved by https://github.com/openshift/origin-server/pull/2588

Comment 2 openshift-github-bot 2013-05-23 14:37:12 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/23e4717a413505db4339b334578172233cd65da7
Bug 966065: Make python-2.6 install script executable

Comment 3 chunchen 2013-05-24 08:54:22 UTC
It's fixed, verified on devenv_3247.


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