Bug 1023311 - Failed to extract deployment artifact for existing app via rhc snapshot after migration
Summary: Failed to extract deployment artifact for existing app via rhc snapshot aft...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Paul Morie
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-25 07:48 UTC by Wei Sun
Modified: 2015-05-14 23:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 03:26:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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