Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 928029 - Embedding mysql cartridge misinforms user that phpmyadmin-3.4 is available
Embedding mysql cartridge misinforms user that phpmyadmin-3.4 is available
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers (Show other bugs)
1.0.0
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Jason DeTiberus
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-26 13:59 EDT by Luke Meyer
Modified: 2017-03-08 12 EST (History)
6 users (show)

See Also:
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 14:59:17 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1032 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 1.2 Node Release Advisory 2013-07-09 18:57:19 EDT

  None (edit)
Description Luke Meyer 2013-03-26 13:59:01 EDT
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 16:06:37 EDT
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 02:34:55 EDT
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 14:59:17 EDT
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

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