Bug 790796

Summary: Alias info is missing in the output of rhc-domain-info after migrate mongo data to the new descriptor enabled format.
Product: OKD Reporter: Johnny Liu <jialiu>
Component: PodAssignee: Krishna Raman <kraman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 1.xCC: mfisher, mpatel
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-17 15:50:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.