Bug 978069 - app restart reverts node to old version
Summary: app restart reverts node to old version
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Mrunal Patel
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-25 22:46 UTC by Sumana Annam
Modified: 2015-05-15 02:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-29 12:47:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sumana Annam 2013-06-25 22:46:49 UTC
Description of problem:

I created Node.js Application by following steps: https://www.openshift.com/blogs/any-version-of-nodejs-you-want-in-the-cloud-openshift-does-it-paas-style

All looked good until i did 'rhc app restart', after that node.js version went back to 0.6

'rhc app force-stop appName; rhc app start appName' retains and starts up the right node version.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Andy Grimm 2013-08-15 17:58:03 UTC
I did not see the described behavior with stop/start, but I did see it with a restart, so I suspect the description is wrong.  I have added a .openshift/action_hooks/pre_restart_nodejs-0.6 script, which should fix the problem.

Comment 3 Andy Grimm 2013-08-15 17:59:03 UTC
Ha, I completely misread the original description.  It looks like it was correct, and that's the behavior I fixed.  I feel better now.

Comment 4 Wei Sun 2013-08-16 02:11:49 UTC
Verified on devenv_3658,after restarting quickstart app,node.js version didn't go back to 0.6


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