Bug 1013315 - The db info will be shown twice when adding db cartridge to an app
Summary: The db info will be shown twice when adding db cartridge to an app
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-29 08:24 UTC by Meng Bo
Modified: 2015-05-15 02:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-12 15:14:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Meng Bo 2013-09-29 08:24:47 UTC
Description of problem:
Create any type of app and try to add db cartridge to it. The db info like username, password will be printed twice to the output.

Adding mysql-5.1 to application 'perl1' ... done

mysql-5.1 (MySQL 5.1)
---------------------
  Gears:          Located with perl-5.10
  Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
  Database Name:  perl1
  Password:       WyDTK1jF_XJ2
  Username:       adminfrnQlFR

MySQL 5.1 database added.  Please make note of these credentials:

       Root User: adminfrnQlFR
   Root Password: WyDTK1jF_XJ2
   Database Name: perl1

Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/

You can manage your new MySQL database by also embedding phpmyadmin.
The phpmyadmin username and password will be the same as the MySQL credentials above.


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

How reproducible:
always

Steps to Reproduce:
1.Create app
2.Add db cartridge to the app
3.

Actual results:
The db info like username and password, will be shown twice.

Expected results:
Should not have the duplicate output message.

Additional info:

Comment 1 Jordan Liggitt 2013-11-12 15:14:44 UTC
The command line tools echo standard information about the cartridge, which may include some duplicate info. The second stanza is a message output by the cartridge for the benefit of clients like the web UI.


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