Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 928029

Summary: Embedding mysql cartridge misinforms user that phpmyadmin-3.4 is available
Product: OpenShift Container Platform Reporter: Luke Meyer <lmeyer>
Component: ContainersAssignee: Jason DeTiberus <jdetiber>
Status: CLOSED ERRATA QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: bleanhar, gpei, jdetiber, libra-onpremise-devel, mmasters, pruan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Hardcoded response text in MySQL cartridge informs the user that they can use a phpmyadmin cartridge. This cartridge isn't available in OSE. Consequence: Under OSE, MySQL cartridge users are informed about a cartridge that they can't actually use. Fix: The text was removed from OSE. Result: Users are no longer informed about phpmysqladmin.
Story Points: ---
Clone Of:
: 979408 (view as bug list) Environment:
Last Closed: 2013-07-09 18:59:17 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:
Embargoed:

Description Luke Meyer 2013-03-26 17:59:01 UTC
Description of problem:
When adding the mysql-5.1 cartridge to an app, a message is returned indicating you can add phpmyadmin to administer it. You can't.

Steps to Reproduce:
1. Create an app
2. rhc cartridge add mysql-5.1 -a <app>
  
Actual results:
"You can manage your new MySQL database by also embedding phpmyadmin-3.4.
The phpmyadmin username and password will be the same as the MySQL credentials above."


Expected results:
No mention of phpmyadmin unless it is actually available.

Additional info:
Message probably comes from the mysql cartridge. Not sure it's able to tell whether phpmyadmin is available.

Comment 2 Brenton Leanhardt 2013-05-16 20:06:37 UTC
For now we're just going to patch this in the OSE codebase.  Longer term it would be best to break out all the txt from the applications to allow the differences between OpenShift versions to be managed cleanly.

Comment 4 Gaoyun Pei 2013-05-20 06:34:55 UTC
Verify this bug on puddle:
http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.2/2013-05-17.2

[root@dhcp-8-133 workspace]# rhc cartridge add mysql -a app7
Using mysql-5.1 (MySQL Database 5.1) for 'mysql'
Adding mysql-5.1 to application 'app7' ... Success

mysql-5.1 (MySQL Database 5.1)
------------------------------
  Gears:          1 medium
  Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
  Database Name:  app7
  Password:       gqpS4Zi-_wPH
  Username:       adminPXEHzjj

RESULT:
Added mysql-5.1 to application app7
MySQL 5.1 database added.  Please make note of these credentials:
       Root User: adminPXEHzjj
   Root Password: gqpS4Zi-_wPH
   Database Name: app7
Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/

[root@dhcp-8-133 workspace]#

Comment 6 errata-xmlrpc 2013-07-09 18:59:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1032.html