Bug 979928 - [origin_runtime_157]"Syntax error" are shown when creating snapshot for an app with postgresql-9.2.
Summary: [origin_runtime_157]"Syntax error" are shown when creating snapshot for an ap...
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-07-01 07:40 UTC by Qiushui Zhang
Modified: 2015-05-14 23:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-22 15:18:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Qiushui Zhang 2013-07-01 07:40:14 UTC
Description of problem:
When creating snapshot for an app with postgresql-9.2, it shows "syntax error".

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

How reproducible:
Always

Steps to Reproduce:
1.Create an app with postgresql-9.2.
2.SSH to the app and start psql. Add some table/data to postgresql-9.2.
3.Create an snapshot for the app.

Actual results:
It shows messages like the following:
[walter@dhcp-10-238 tmp]$ rhc snapshot save jb
Pulling down a snapshot to jb.tar.gz...
/var/tmp/sclVYNKLG: line 8: unexpected EOF while looking for matching `''
/var/tmp/sclVYNKLG: line 9: syntax error: unexpected end of file
/var/tmp/sclDkkaDL: line 8: unexpected EOF while looking for matching `''
/var/tmp/sclDkkaDL: line 9: syntax error: unexpected end of file
/var/tmp/sclxQwt6R: line 8: unexpected EOF while looking for matching `''
/var/tmp/sclxQwt6R: line 9: syntax error: unexpected end of file
Creating and sending tar.gz
RESULT:
Success

Expected results:
The snapshot is created without any warning messages.

Additional info:

Comment 1 Hiro Asari 2013-07-01 15:22:48 UTC
Please hold off testing until the code is merged to the master and devenv subsequently updated.

I believe this is related to the incomplete shell escaping that has been corrected on the dev/hasari/c157 branch on my repository.

Comment 2 Hiro Asari 2013-07-02 17:42:36 UTC
I expect https://github.com/openshift/origin-server/pull/2925 to be merged shortly.

I'm moving this to ON_QA for further testing.

Comment 3 Qiushui Zhang 2013-07-03 06:19:02 UTC
Checked on devenv_3441.

[walter@dhcp-10-238 tmp]$ rhc snapshot save jb
Pulling down a snapshot to jb.tar.gz...
Creating and sending tar.gz

RESULT:
Success

So mark it as verified.


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