Bug 966913 - The OPENSHIFT_JBOSSAS_WEBSOCKET_PORT environment variable is missed by migration
Summary: The OPENSHIFT_JBOSSAS_WEBSOCKET_PORT environment variable is missed by migration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan Mace
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-24 09:09 UTC by Jianwei Hou
Modified: 2015-05-14 23:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 04:10:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jianwei Hou 2013-05-24 09:09:57 UTC
Description of problem:
The OPENSHIFT_JBOSSAS_WEBSOCKET_PORT environment variable is missed by our migration scripts. This var should be created and sourced when jbossas app is migrated from v1 to v2

Version-Release number of selected component (if applicable):
On INT(devenv_3266) and devenv_3267

How reproducible:
Always

Steps to Reproduce:
1. Create jbossas application in v1 format before migration
2. Upgrade and migrated according to release ticket
3. After migration, ssh into the jbossas app gear, run 'env'

Actual results:
After step 3: The OPENSHIFT_JBOSSAS_WEBSOCKET_PORT could not be found


Expected results:
The OPENSHIFT_JBOSSAS_WEBSOCKET_PORT environment variable should be present

Additional info:

Comment 1 Dan Mace 2013-05-24 20:01:43 UTC
Resolved by https://github.com/openshift/li/pull/1464

Comment 2 openshift-github-bot 2013-05-24 22:52:10 UTC
Commit pushed to master at https://github.com/openshift/li

https://github.com/openshift/li/commit/f4c496337bd5187d1a83e9095528aa07b695a2a0
Bug 966913: Add OPENSHIFT_JBOSSAS_WEBSOCKET_PORT to migration

Comment 3 Jianwei Hou 2013-05-27 05:48:46 UTC
Verified on devenv_3277
After migration, the OPENSHIFT_JBOSSAS_WEBSOCKET_PORT is sourced

[a1-jhou.dev.rhcloud.com .env]\> cat OPENSHIFT_JBOSSAS_WEBSOCKET_PORT 
8676
[a1-jhou.dev.rhcloud.com .env]\> env|grep WEBSOCKET
OPENSHIFT_JBOSSAS_WEBSOCKET_PORT=8676


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