Bug 864015 - Some environment variables are not removed after migration
Summary: Some environment variables are not removed after migration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
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: 2012-10-08 11:23 UTC by Jianwei Hou
Modified: 2015-05-14 23:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 18:47:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jianwei Hou 2012-10-08 11:23:46 UTC
Description of problem:
After migration, some environment variables are not removed

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

How reproducible:
Always

Steps to Reproduce:
1. Launch an old instance(devenv-stage_239) and prepare test data on it
2. Do server ugprade and migration
3. ssh into app, check new environment variables are created, and old environment variables are removed.
  
Actual results:
After migration, the following env vars still exists:

Mongo:
OPENSHIFT_NOSQL_DB_HOST
OPENSHIFT_NOSQL_DB_PASSWORD
OPENSHIFT_NOSQL_DB_PORT
OPENSHIFT_NOSQL_DB_SOCKET
OPENSHIFT_NOSQL_DB_URL
OPENSHIFT_NOSQL_DB_USERNAME

mysql:
OPENSHIFT_DB_HOST
OPENSHIFT_DB_PASSWORD
OPENSHIFT_DB_PORT
OPENSHIFT_DB_SOCKET
OPENSHIFT_DB_URL
OPENSHIFT_DB_USERNAME

Expected results:
The Above env vars should be removed

Additional info:

Comment 1 Mrunal Patel 2012-10-08 14:31:56 UTC
These variables are not removed after migration but are translated since
existing application code may still be using them.

Comment 2 Jianwei Hou 2012-10-09 10:09:24 UTC
Verified on devenv-stage_239

After migration, these env vars translated instead of removed


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