| Summary: | The db info will be shown twice when adding db cartridge to an app | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Meng Bo <bmeng> |
| Component: | oc | Assignee: | Clayton Coleman <ccoleman> |
| Status: | CLOSED WONTFIX | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | jliggitt |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-12 15:14:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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. |
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: