Bug 790796 - Alias info is missing in the output of rhc-domain-info after migrate mongo data to the new descriptor enabled format.
Summary: Alias info is missing in the output of rhc-domain-info after migrate mongo da...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 1.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Krishna Raman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-15 12:29 UTC by Johnny Liu
Modified: 2014-06-18 07:24 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Johnny Liu 2012-02-15 12:29:21 UTC
Description of problem:
After run misc/maintenance/bin/migrate-mongo-app-descriptors.rb to move mongo data
to the new descriptor enabled format, found that alias info is missing in the output of rhc-domain-info.


Version-Release number of selected component (if applicable):
Old instance: devenv_stage_127
Update packages to devenv_1609

How reproducible:
Always

Steps to Reproduce:
1. Start a old instance (devenv_stage_127)
2. Create an app and add alias to this app
$ rhc-domain-info -p xx
Application Info
================
phptest
    Framework: php-5.3
     Creation: 2012-02-15T07:03:33-05:00
         UUID: 38f16df39f864a5e9d557f38f6ecde2c
      Git URL: ssh://38f16df39f864a5e9d557f38f6ecde2c.rhcloud.com/~/git/phptest.git/
   Public URL: http://phptest-jialiu.dev.rhcloud.com/
      Aliases: bar.foo.com

3. Log into instance, upgrade packages to the latest.
# yum update
4. Run misc/maintenance/bin/migrate-mongo-app-descriptors.rb to move mongo data
to the new descriptor enabled format.
5. Check app info again
$ rhc-domain-info -p xx
Application Info
================
phptest
    Framework: php-5.3
     Creation: 2012-02-15T07:03:33-05:00
         UUID: 38f16df39f864a5e9d557f38f6ecde2c
      Git URL: ssh://38f16df39f864a5e9d557f38f6ecde2c.rhcloud.com/~/git/phptest.git/
   Public URL: http://phptest-jialiu.dev.rhcloud.com/

 Embedded: 
      None


  
Actual results:
Alias info is missing in the output of rhc-domain-info after running migration script

Expected results:
Alias info should be there.

Additional info:

Comment 1 Krishna Raman 2012-02-15 18:35:48 UTC
Fixed in f8b844163cc132a821f8b34b2d81cbfcf7fd933c

Comment 2 Johnny Liu 2012-02-17 10:06:54 UTC
Verified this bug with the latest stage env (sprint 5), and PASSed.


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