Bug 790672 - mysql url is not shown in output of rhc-domain-info after embed phpmyadmin to app
Summary: mysql url is not shown in output of rhc-domain-info after embed phpmyadmin to...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 1.x
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Rajat Chopra
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-15 07:05 UTC by Johnny Liu
Modified: 2012-02-17 02:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-17 02:06:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Johnny Liu 2012-02-15 07:05:51 UTC
Description of problem:
After embed phpmyadmin to app, run rhc-domain-info, found mysql url is missing.
$ rhc-domain-info -p xx
Application Info
================
phptest
    Framework: php-5.3
     Creation: 2012-02-15T01:57:02-05:00
         UUID: 0a19be05f79840b58ee54d6eb3717434
      Git URL: ssh://0a19be05f79840b58ee54d6eb3717434.rhcloud.com/~/git/phptest.git/
   Public URL: http://phptest-jialiu.dev.rhcloud.com/

 Embedded: 
      phpmyadmin-3.4 - URL: https://phptest-jialiu.dev.rhcloud.com/phpmyadmin/
      mysql-5.1


Version-Release number of selected component (if applicable):
rubygem-cloud-sdk-common-0.4.4-1.el6_2.noarch
rubygem-cloud-sdk-controller-0.4.6-1.el6_2.noarch
rubygem-cloud-sdk-node-0.4.5-1.el6_2.noarch
rhc-broker-0.86.6-1.el6_2.noarch


How reproducible:
Always

Steps to Reproduce:
1. Create an app
2. Embed mysql to this app
3. Run rhc-domain-info to get mysql url
$ rhc-domain-info -p xx
Application Info
================
phptest
    Framework: php-5.3
     Creation: 2012-02-15T01:57:02-05:00
         UUID: 0a19be05f79840b58ee54d6eb3717434
      Git URL: ssh://0a19be05f79840b58ee54d6eb3717434.rhcloud.com/~/git/phptest.git/
   Public URL: http://phptest-jialiu.dev.rhcloud.com/

 Embedded: 
      mysql-5.1 - Connection URL: mysql://127.1.1.1:3306/
4. Embed phpmyadmin to this app
5. Run rhc-domain-info to check again
$ rhc-domain-info -p xx
Application Info
================
phptest
    Framework: php-5.3
     Creation: 2012-02-15T01:57:02-05:00
         UUID: 0a19be05f79840b58ee54d6eb3717434
      Git URL: ssh://0a19be05f79840b58ee54d6eb3717434.rhcloud.com/~/git/phptest.git/
   Public URL: http://phptest-jialiu.dev.rhcloud.com/

 Embedded: 
      phpmyadmin-3.4 - URL: https://phptest-jialiu.dev.rhcloud.com/phpmyadmin/
      mysql-5.1


  
Actual results:
After embed phpmyadmin to app, run rhc-domain-info, found mysql url is missing.

Expected results:
all url should be shown in the output

Additional info:

Comment 1 Johnny Liu 2012-02-15 07:17:40 UTC
Follow the above steps, add more cartridge to this app, found the previous cartridge url is missing, only leave the latest cartridge's url.
$ rhc-ctl-app -a phptest -e add-mongodb-2.0 -p xx
$ rhc-domain-info -p xx
Application Info
================
phptest
    Framework: php-5.3
     Creation: 2012-02-15T01:57:02-05:00
         UUID: 0a19be05f79840b58ee54d6eb3717434
      Git URL: ssh://0a19be05f79840b58ee54d6eb3717434.rhcloud.com/~/git/phptest.git/
   Public URL: http://phptest-jialiu.dev.rhcloud.com/

 Embedded: 
      mongodb-2.0 - Connection URL: mongodb://127.1.1.1:27017/
      phpmyadmin-3.4
      mysql-5.1

Comment 2 Dan McPherson 2012-02-15 15:30:33 UTC
Marking high because of data integrity issue.

Comment 3 Krishna Raman 2012-02-15 16:39:45 UTC
Rajat, Looks like re-elaborating is wiping out the ComponentInstance::cart_data

Comment 4 Rajat Chopra 2012-02-15 17:48:26 UTC
Fixed with checkin# 7c09a35e4477c486b63b0be0a26a99f8a010e4ca

Comment 5 Johnny Liu 2012-02-16 02:37:51 UTC
Verified this bug with devenv_stage_132, and PASSed.


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