Bug 1000616

Summary: NodeJS setting .npm and .npmrc to wrong owner
Product: OpenShift Online Reporter: Jhon Honce <jhonce>
Component: ContainersAssignee: Hiro Asari <hasari>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: jkeck, qiuzhang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-29 12:55:08 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:

Description Jhon Honce 2013-08-23 20:47:14 UTC
Description of problem:
The install script using $OPENSHIFT_APP_UUID.$OPENSHIFT_APP_UUID which will only be correct on the head gear.  $OPENSHIFT_GEAR_UUID is the correct value to use.

Additionally, script is calling chown without first sanitizing the UUID's with id.  Should be using chown `id -u $OPENSHIFT_GEAR_UUID`



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Qiushui Zhang 2013-08-28 05:01:01 UTC
Tested on devenv_3716.

Create an app of nodejs-0.6. Check the install scripts. It is already using "OPENSHIFT_GEAR_UUID". 

Mark the defect as verified.