Bug 1042895 - Nodejs start output goes only to log and does not show during git push
Summary: Nodejs start output goes only to log and does not show during git push
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Paul Morie
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-13 15:10 UTC by Paul Morie
Modified: 2015-05-15 00:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-30 00:53:20 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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