Bug 866365 - [backward compatibility]embed db cartridges to app with old client cannot show the correct db URL
Summary: [backward compatibility]embed db cartridges to app with old client cannot sho...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-15 08:15 UTC by Meng Bo
Modified: 2015-05-14 23:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-15 17:47:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 807443 0 medium CLOSED after embedding a backend cartridge, rhc client tools returns the raw values rather than hinting towards our best practi... 2021-02-22 00:41:40 UTC

Internal Links: 807443

Description Meng Bo 2012-10-15 08:15:37 UTC
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 17:47:44 UTC
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.