Bug 866365 - [backward compatibility]embed db cartridges to app with old client cannot show the correct db URL
[backward compatibility]embed db cartridges to app with old client cannot sho...
Status: CLOSED NOTABUG
Product: OpenShift Origin
Classification: Red Hat
Component: Containers (Show other bugs)
2.x
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Rob Millner
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-15 04:15 EDT by Meng Bo
Modified: 2015-05-14 19:00 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-10-15 13:47:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Meng Bo 2012-10-15 04:15:37 EDT
Description of problem:
Create app using old client (rhc-0.98.16) and embed mysql/mongodb/postgresql to the app.
It will show the env vars instead of the real db_host_ip and db_port in the output.

"""
Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
Connection URL: mongodb://$OPENSHIFT_MONGODB_DB_HOST:$OPENSHIFT_MONGODB_DB_PORT/
Connection URL: postgresql://$OPENSHIFT_POSTGRESQL_DB_HOST:$OPENSHIFT_POSTGRESQL_DB_PORT/
"""

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

How reproducible:
always

Steps to Reproduce:
1.Install rhc client 0.98.16
2.Create app
3.Embed mongodb/mysql/postgresql to the app
  
Actual results:
It will show the env vars instead of real db_host and db_port as pasted in description.

Expected results:
Show the real db host and db port like:
Connection URL: mongodb://127.0.251.1:27017/
Connection URL: mysql://127.0.253.129:3306/
Connection URL: postgresql://127.0.253.1:5432/

Additional info:
Comment 1 Jhon Honce 2012-10-15 13:47:44 EDT
See https://bugzilla.redhat.com/show_bug.cgi?id=807443

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