Bug 1007676 - Fail to add phpmyadmin-4 cartridge in INT
Summary: Fail to add phpmyadmin-4 cartridge in INT
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Michal Fojtik
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-13 06:05 UTC by Zhe Wang
Modified: 2015-05-14 23:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 13:28:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Zhe Wang 2013-09-13 06:05:47 UTC
Description of problem:
it always fails to add a phpmyadmin cartridge to an app in INT, on the other hand, there is no such bug in devenv-stage_471.

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

How reproducible:
always

Steps to Reproduce:
1. create an app
2. add a mysql cartridge
3. add a phpmyadmin cartridge

Actual results:
The step 3 failed with the errors:
Unable to complete the requested operation due to: Node execution failure (invalid exit code from node)..
Reference ID: ff60a969c46b07602384096c1d9d7392


Expected results:
Adding phpmyadmin cartridge should be successful.

Additional info:

Comment 1 Michal Fojtik 2013-09-13 14:56:48 UTC
Hmm, I'm not able to reproduce this on the latest devenv. Perhaps the INT is missing the phpMyAdmin packages?
Could you please sent me more detailed logs?


 ~ → rhc app create phpmyadmin1 php-5.3
Application Options
-------------------
  Namespace:  mfojtik
  Cartridges: php-5.3
  Gear Size:  default
  Scaling:    no

Creating application 'phpmyadmin1' ... done

 ~ → rhc add-cartridge mysql-5.1 --app phpmyadmin1 
Adding mysql-5.1 to application 'phpmyadmin1' ... done

 ~ → rhc add-cartridge phpmyadmin-4 --app phpmyadmin1 
Adding phpmyadmin-4 to application 'phpmyadmin1' ... done

phpmyadmin-4 (phpMyAdmin 4.0)
-----------------------------
  Gears:          Located with php-5.3, mysql-5.1
  Connection URL: https://phpmyadmin1-mfojtik.dev.rhcloud.com/phpmyadmin/

Use 'rhc env --help' to manage environment variable(s) on this cartridge and application.


Please make note of these MySQL credentials again:
  Root User: adminyxa1LkP
  Root Password: C9fge9GIhSB4
URL: https://phpmyadmin1-mfojtik.dev.rhcloud.com/phpmyadmin/

Comment 2 Zhe Wang 2013-09-16 05:33:59 UTC
Hi, Michal

I was able to reproduce this bug with my Python-2.7 app which was created in INT last Friday. Here is the detail of the app and the failure of adding a phpmyadmin cart

py27 @ http://py27-zwint.int.rhcloud.com/ (uuid: 5236770103ef64253e000094)
  --------------------------------------------------------------------------
    Domain:  zwint
    Created: 11:12 AM
    Gears:   1 (defaults to small)
    Git URL: ssh://5236770103ef64253e000094.rhcloud.com/~/git/py27.git/
    SSH:     5236770103ef64253e000094.rhcloud.com

    python-2.7 (Python 2.7)
    -----------------------
      Gears: Located with mysql-5.1

    mysql-5.1 (MySQL Database 5.1)
    ------------------------------
      Gears:          Located with python-2.7
      Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
      Database Name:  py27
      Password:       eFkrZVwjEU3Q
      Username:       adminVpd4N1V

When trying to add a phpmyadmin-4 cart to this app, it still failed:

[zhe@fedora runtst]$ rhc cartridge add phpmyadmin-4 -a py27
Adding phpmyadmin-4 to application 'py27' ... 
Unable to complete the requested operation due to: Node execution failure (invalid exit code from node)..
Reference ID: ecb644fdb5dda722f30ab68640a16699

Moreover, I was also able to reproduce this bug with a new php-5.3 app in INT.

[zhe@fedora runtst]$ rhc app create phptst php-5.3 mysql-5.1
Application Options
-------------------
  Namespace:  zwint
  Cartridges: php-5.3, mysql-5.1
  Gear Size:  default
  Scaling:    no

Creating application 'phptst' ... done
...

[zhe@fedora runtst]$ rhc cartridge add phpmyadmin-4 -a phptst
Adding phpmyadmin-4 to application 'phptst' ... 
Unable to complete the requested operation due to: Node execution failure (invalid exit code from node)..
Reference ID: f7f2ec4011ffe35e557daae06bcb3787

I will reserve these two apps for your further debugging.

Thanks,
Zhe Wang

Comment 3 Zhe Wang 2013-09-16 05:42:12 UTC
phpMyAdmin-4 is in the cartridge list of INT:

phpmyadmin-4        phpMyAdmin 4.0                              addon

However, I am not able to get the logs in development.log in INT since I dont have the root permission. Hope the reference IDs in comment#2 may help.

Comment 4 Zhe Wang 2013-09-16 06:21:28 UTC
Lowered down the severity of this bug since it is not reproducible in STG.

Comment 5 Michal Fojtik 2013-09-16 07:34:47 UTC
I think this bug is related to https://bugzilla.redhat.com/show_bug.cgi?id=1007730 but I will do more testing today.

Comment 9 Zhe Wang 2013-09-22 09:38:54 UTC
Verified this bug in the latest INT.

Comment 10 Jhon Honce 2014-06-09 15:37:34 UTC
Clearing needinfo flag


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