Bug 1010084 - git push to node.js app fails with supervisor PID does not match
Summary: git push to node.js app fails with supervisor PID does not match
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: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-19 22:31 UTC by Mrunal Patel
Modified: 2015-05-14 23:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 13:29:53 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Mrunal Patel 2013-09-19 22:31:36 UTC
Description of problem:
To ssh://git/kelonye/component.git
   4f9cd5a..aaf6bbf  master -> master
Counting objects: 10, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 646 bytes | 0 bytes/s, done.
Total 6 (delta 3), reused 0 (delta 0)
remote: 
remote:   - pre_stop_nodejs: Adding Node.js version 0.10.12 binaries to path
remote:   - PATH set to include custom node version (0.10.12) from
remote:        /var/lib/openshift/521d49ba5973ca250400001c/app-root/data//node-v0.10.12-linux-x64/bin 
remote:     PATH = /var/lib/openshift/521d49ba5973ca250400001c/app-root/data//node-v0.10.12-linux-x64/bin:/var/lib/openshift/521d49ba5973ca250400001c//.node_modules/.bin:/bin:/usr/bin:/usr/sbin
remote: Stopping NodeJS cartridge
remote: Warning: Application 'component' supervisor PID does not match '$OPENSHIFT_NODEJS_PID_DIR/supervisor.pid'.  Use force-stop to kill.
remote: An error occurred executing 'gear prereceive' (exit code: 141)
remote: Error message: Failed to execute: 'control stop' for /var/lib/openshift/521d49ba5973ca250400001c/nodejs
remote: 
remote: For more details about the problem, try running the command again with the '--trace' option.
To ssh://521d49ba5973ca250400001c.com/~/git/component.git

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jhon Honce 2013-09-24 21:51:04 UTC
Using git://github.com/openshift/nodejs-custom-version-openshift.git I was able to successfully push code to both nodejs-0.6 and nodejs-0.10 cartridges.

Comment 2 Yan Du 2013-09-25 08:05:19 UTC
test on devenv_3824

both nodejs-0.6 and nodejs-0.10 app can git push successfully, move bug to verified.

Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 247 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Stopping NodeJS cartridge
remote: Saving away previously installed Node modules
remote: Building NodeJS cartridge
remote: npm info it worked if it ends with ok
remote: npm info using npm.37
remote: npm info using node.20
remote: npm info preinstall OpenShift-Sample-App.0
remote: npm info build /var/lib/openshift/52429786a3a728a7910004c3/app-root/runtime/repo
remote: npm info linkStuff OpenShift-Sample-App.0
remote: npm info install OpenShift-Sample-App.0
remote: npm info postinstall OpenShift-Sample-App.0
remote: npm info ok 
remote: Starting application n6
remote: Starting NodeJS cartridge
To ssh://52429786a3a728a7910004c3.rhcloud.com/~/git/n6.git/
   702c2d9..33665bd  master -> master


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