Bug 1023311

Summary: Failed to extract deployment artifact for existing app via rhc snapshot after migration
Product: OpenShift Online Reporter: Wei Sun <wsun>
Component: ContainersAssignee: Paul Morie <pmorie>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: dmcphers
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-24 03:26:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Wei Sun 2013-10-25 07:48:44 UTC
Description of problem:
Try to extract deployment artifact for existing app via rhc snapshot after migration,but it failed.It shows:


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

How reproducible:
Always

Steps to Reproduce:
1.Create an app  before server upgrade
2. INT upgrade
3.Try to extract deployment artifact for existing app via rhc snapshot
4.Try to extract deployment artifact via ssh

Actual results:
3.[wsun@dhcp-8-229 test]$ rhc snapshot save r8psq --deployment
Pulling down a snapshot to r8psq.tar.gz...
error: can't convert nil into String. Use --trace to view backtrace
Error in trying to save snapshot. You can try to save manually by running:
ssh 5260d2f103ef64dbb5000080.rhcloud.com 'gear archive-deployment' > r8psq.tar.gz

4.[wsun@dhcp-8-229 test]$ ssh 5260d2f103ef64dbb5000080.rhcloud.com 'gear archive-deployment' > r8psq.tar.gz
Warning: Permanently added 'r8psq-wsunmigrateint.int.rhcloud.com,54.205.207.58' (RSA) to the list of known hosts.
error: can't convert nil into String. Use --trace to view backtrace

Expected results:
Could extract deployment artifact for existing app

Additional info:

Comment 1 Paul Morie 2013-10-28 21:25:24 UTC
Please re-test this scenario; we have changed both the upgrade functionality and there is a PR for snapshot/restore pending.

Comment 2 Wei Sun 2013-10-29 03:41:19 UTC
Verified in INT(devenv_3957)

Result:
[wsun@dhcp-8-229 test]$ rhc snapshot save py6 --deployment -l wsun+2 
Pulling down a snapshot to py6.tar.gz...

RESULT:
Success