Bug 1042895

Summary: Nodejs start output goes only to log and does not show during git push
Product: OpenShift Online Reporter: Paul Morie <pmorie>
Component: ImageAssignee: Paul Morie <pmorie>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: bmeng, yadu
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: 2014-01-30 00:53:20 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 Paul Morie 2013-12-13 15:10:48 UTC
The output when nodejs is started (which can be critical to understanding why your application doesn't start) goes only to a log file and is not included in the output of git push.  Expected behavior is for this output to be present in the log file as well as visible during git push.

Comment 1 Paul Morie 2013-12-13 23:28:35 UTC
PR submitted

Comment 3 Paul Morie 2013-12-13 23:43:33 UTC
Whoops!

https://github.com/openshift/origin-server/pull/4342

Comment 5 Yan Du 2013-12-16 09:55:14 UTC
Test on devenv_4137, debug information shown correctly during git push.

remote: Starting NodeJS cartridge
remote: 
remote: DEBUG: Running node-supervisor with
remote: DEBUG:   program 'server.js'
remote: DEBUG:   --watch '.'
remote: DEBUG:   --ignore 'undefined'
remote: DEBUG:   --extensions 'node|js|coffee'
remote: DEBUG:   --exec 'node'
remote: 
remote: DEBUG: Starting child process with 'node server.js'
remote: DEBUG: Watching directory '/var/lib/openshift/52aec9ac3c2b97c7d30007d1/app-root/runtime/repo' for changes.
remote: Warning: express.createServer() is deprecated, express
remote: applications no longer inherit from http.Server,
remote: please use:
remote: 
remote:   var express = require("express");
remote:   var app = express();
remote: 
remote: Mon Dec 16 2013 04:39:35 GMT-0500 (EST): Node server started on 127.2.9.129:8080 ...
remote: Result: success
remote: Activation status: success
remote: Deployment completed with status: success
To ssh://52aec9ac3c2b97c7d30007d1.rhcloud.com/~/git/n6.git/
   139435e..b29633f  master -> master

move to verified.