Bug 1020440 - phpmyadmin can be added to scalable application and does not work.
Summary: phpmyadmin can be added to scalable application and does not work.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-17 16:33 UTC by Marty
Modified: 2015-05-15 00:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 03:24:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Marty 2013-10-17 16:33:36 UTC
Description of problem:

I noticed the interface for openshift management console has changed and allowed me to add a myphpadmin cartridge to my scaled application. When I access the phpadmin url, phpadmin loads but I get the following error:
2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

The server is not responding (or the local server's socket is not correctly configured).

Invalid hostname for server 1. Please review your configuration.

Is phpmyadmin supported on scaled applications?



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


How reproducible:


Steps to Reproduce:
1. create a scaled application
2. add myphpadmin cartridge
3. access myphpadmin

Actual results:

2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Expected results:

successfully be able to view data.

Additional info:

Comment 1 Yujie Zhang 2013-10-18 02:08:06 UTC
Tried on PROD, the phpmyadmin can be added to scalable app through website and rhc client without username and password given, and the url of phpmyadmin can not be accessed.

Comment 2 Abhishek Gupta 2013-10-21 23:52:25 UTC
Proposed fix --> https://github.com/openshift/origin-server/pull/3939

Comment 3 openshift-github-bot 2013-10-22 02:52:22 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/fcae2c3d7778d645758352fcdc6a006d95c29e96
Fix for bug 1020440, 1021041, 1021462, 1021467, and a typo

Comment 4 Abhishek Gupta 2013-10-22 17:03:49 UTC
We are now preventing phpmyadmin cartridge from being added to a scalable application.

Comment 6 Yujie Zhang 2013-10-23 02:57:55 UTC
Tested on devenv_3932, the phpmyadmin cartridge can not be added to scalable app through website and rhc, error message "phpmyadmin-4 cannot be embedded in scalable app 'jbosseap'." will be displayed, so verify this bug, thanks!

Comment 7 Yujie Zhang 2013-10-23 10:29:01 UTC
Tested on STG(devenv-stage_528), this issue also fixed on STG, so verify this bug, thanks.


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