<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <base href="https://issues.jboss.org" />
<title>Message Title</title>
</head>
<body class="jira" style="color: #333; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.429">
<table id="background-table" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f5f5f5; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<!-- header here -->
<tr>
<td id="header-pattern-container" style="padding: 0px; border-collapse: collapse; padding: 10px 20px">
<table id="header-pattern" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tr>
<td id="header-avatar-image-container" valign="top" style="padding: 0px; border-collapse: collapse; vertical-align: top; width: 32px; padding-right: 8px"> <img id="header-avatar-image" class="image_fix" src="https://static.jboss.org/developer/gravatar/0c4734599c6b8b5da2c2d8db57e753a9?d=mm&s=48" height="32" width="32" border="0" style="border-radius: 3px; vertical-align: top" />
</td>
<td id="header-text-container" valign="middle" style="padding: 0px; border-collapse: collapse; vertical-align: middle; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px"> <a class="user-hover" rel="temsallocab" id="email_temsallocab" href="https://issues.jboss.org/secure/ViewProfile.jspa?name=temsallocab" style="color:#3b73af;; color: #3b73af; text-decoration: none">Florian Traverse</a> <strong>edited a comment</strong> on <a href="https://issues.jboss.org/browse/AGPUSH-1510" style="color: #3b73af; text-decoration: none"><img src="cid:jira-generated-image-static-newfeature-ff3b6091-8b83-468d-93ec-5e61416fa171" height="16" width="16" border="0" align="absmiddle" alt="Feature Request" /> AGPUSH-1510</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="email-content-container" style="padding: 0px; border-collapse: collapse; padding: 0 20px">
<table id="email-content-table" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0; border-collapse: separate">
<tr>
<!-- there needs to be content in the cell for it to render in some clients -->
<td class="email-content-rounded-top mobile-expand" style="padding: 0px; border-collapse: collapse; color: #fff; padding: 0 15px 0 16px; height: 15px; background-color: #fff; border-left: 1px solid #ccc; border-top: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 0; border-top-right-radius: 5px; border-top-left-radius: 5px; height: 10px; line-height: 10px; padding: 0 15px 0 16px; mso-line-height-rule: exactly">
</td>
</tr>
<tr>
<td class="email-content-main mobile-expand " style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #fff">
<table class="page-title-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tr>
<td style="vertical-align: top;; padding: 0px; border-collapse: collapse; padding-right: 5px; font-size: 20px; line-height: 30px; mso-line-height-rule: exactly" class="page-title-pattern-header-container"> <span class="page-title-pattern-header" style="font-family: Arial, sans-serif; padding: 0; font-size: 20px; line-height: 30px; mso-text-raise: 2px; mso-line-height-rule: exactly; vertical-align: middle"> <a href="https://issues.jboss.org/browse/AGPUSH-1510" style="color: #3b73af; text-decoration: none">Re: Openshift "snapshot" not working</a> </span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="text-paragraph-pattern-top" class="email-content-main mobile-expand comment-top-special-margin comment-top-pattern" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #fff; border-bottom: none; padding-bottom: 0">
<table class="text-paragraph-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 2px">
<tr>
<td class="text-paragraph-pattern-container mobile-resize-text " style="padding: 0px; border-collapse: collapse; padding: 0 0 10px 0; padding-top: 10px"> <span class="diffcontext">Concerning the problem with "control", I've been able to add "control" to the classpath by doing that, thanks to aerogear-push/env/OPENSHIFT_AEROGEAR_PATH_ELEMENT :<br /><br /># rhc ssh aerogearbkp<br /># cd aerogear-push/bin<br /># ln -sf `pwd`/control tools/<br /><br />----------------------------------------------------------<br />Yet "rhc snapshot-save" still does not work.<br />----------------------------------------------------------<br /><br />I've extracted the interesting part from sshing the gear in verbose mode to do the snapshot :<br /><br /># ssh -vvv my-uuid@aerogearbkp-mydomain.rhcloud.com 'snapshot' > aerogearbkp.tar.gz<br /><br />[... verbose initiating the connection ...]<br /><br />Authenticated to aerogearbkp-mydomain.rhcloud.com ([${IP}]:22).<br />debug2: fd 6 setting O_NONBLOCK<br />debug1: channel 0: new [client-session]<br />debug3: ssh_session2_open: channel_new: 0<br />debug2: channel 0: send open<br />debug1: Requesting no-more-sessions@openssh.com<br />debug1: Entering interactive session.<br />debug2: callback start<br />debug2: fd 3 setting TCP_NODELAY<br />debug3: packet_set_tos: set IP_TOS 0x08<br />debug2: client_session2_setup: id 0<br />debug1: Sending environment.<br />debug3: Ignored env Apple_PubSub_Socket_Render<br />debug3: Ignored env CMD_DURATION<br />debug3: Ignored env COLORFGBG<br />debug3: Ignored env DISPLAY<br />debug3: Ignored env HOME<br />debug3: Ignored env ITERM_PROFILE<br />debug3: Ignored env ITERM_SESSION_ID<br />debug1: Sending env LC_CTYPE = UTF-8<br />debug2: channel 0: request env confirm 0<br />debug3: Ignored env LOGNAME<br />debug3: Ignored env PATH<br />debug3: Ignored env PWD<br />debug3: Ignored env SHELL<br />debug3: Ignored env SHLVL<br />debug3: Ignored env SSH_AUTH_SOCK<br />debug3: Ignored env TERM<br />debug3: Ignored env TERM_PROGRAM<br />debug3: Ignored env TMPDIR<br />debug3: Ignored env USER<br />debug3: Ignored env __CF_USER_TEXT_ENCODING<br />debug3: Ignored env __CHECKFIX1436934<br />debug3: Ignored env __fish_bin_dir<br />debug3: Ignored env __fish_datadir<br />debug3: Ignored env __fish_help_dir<br />debug3: Ignored env __fish_sysconfdir<br />debug1: Sending command: snapshot<br />debug2: channel 0: request exec confirm 1<br />debug2: callback done<br />debug2: channel 0: open confirm rwindow 0 rmax 32768<br />debug2: channel 0: rcvd adjust 2097152<br />debug2: channel_input_status_confirm: type 99 id 0<br />debug2: exec request accepted on channel 0<br />debug2: channel 0: rcvd ext data 490<br />/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/v2_cart_model.rb:1380:in `block in do_control_with_directory': CLIENT_ERROR: Failed to execute: 'control pre-snapshot' for /var/lib/openshift/${MY_UUID}/aerogear-push (OpenShift::Runtime::Utils::ShellExecutionException)<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/v2_cart_model.rb:1170:in `process_cartridges'<br />debug2: channel 0: written 490 to efd 7<br />debug2: channel 0: rcvd ext data 2206<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/v2_cart_model.rb:1343:in `do_control_with_directory'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/v2_cart_model.rb:1192:in `do_control'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/application_container_ext/snapshots.rb:69:in `block in snapshot'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/v2_cart_model.rb:84:in `block in each_cartridge'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/v2_cart_model.rb:1176:in `block in process_cartridges'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/v2_cart_model.rb:1174:in `each'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/v2_cart_model.rb:1174:in `process_cartridges'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/v2_cart_model.rb:82:in `each_cartridge'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.36.3/lib/openshift-origin-node/model/application_container_ext/snapshots.rb:68:in `snapshot'<br /> from /usr/bin/gear:582:in `block (2 levels) in <main>'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:180:in `call'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:180:in `call'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:155:in `run'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:385:in `run_active_command'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:62:in `run!'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/delegates.rb:11:in `run!'<br /> from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/import.rb:10:in `block in <top (required)>'<br /><br />[ ... verbose stuff ending connection ... ]<br /><br />debug1: Exit status 1</span> <span class="diffaddedchars" style="background-color:#ddfade;"><br /><br /><br /><br /><br />Notes : while doing the manual ssh snapshot trial, I have in my "rhc tail" output this that is beeing added :<br /><br />/usr/bin/tail: aerogear-push/logs/migration.log: file truncated<br />Unexpected error running Liquibase: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure<br /><br />The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="email-content-main mobile-expand " style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #fff">
<table id="actions-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px">
<tr>
<td id="actions-pattern-container" valign="middle" style="padding: 0px; border-collapse: collapse; padding: 10px 0 10px 24px; vertical-align: middle; padding-left: 0">
<table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tr>
<td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0px; vertical-align: middle"> <a href="https://issues.jboss.org/browse/AGPUSH-1510#add-comment" target="_blank" title="Add Comment" style="color: #3b73af; text-decoration: none"> <img class="actions-pattern-action-icon-image" src="cid:jira-generated-image-static-comment-icon-0a214adb-c59e-4c2b-a180-e53d4f74973c" alt="Add Comment" title="Add Comment" height="16" width="16" border="0" style="vertical-align: middle" /> </a>
</td>
<td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px"> <a href="https://issues.jboss.org/browse/AGPUSH-1510#add-comment" target="_blank" title="Add Comment" style="color: #3b73af; text-decoration: none">Add Comment</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- there needs to be content in the cell for it to render in some clients -->
<tr>
<td class="email-content-rounded-bottom mobile-expand" style="padding: 0px; border-collapse: collapse; color: #fff; padding: 0 15px 0 16px; height: 5px; line-height: 5px; background-color: #fff; border-top: 0; border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; mso-line-height-rule: exactly">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="footer-pattern" style="padding: 0px; border-collapse: collapse; padding: 12px 20px">
<table id="footer-pattern-container" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tr>
<td id="footer-pattern-text" class="mobile-resize-text" width="100%" style="padding: 0px; border-collapse: collapse; color: #999; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px">
This message was sent by Atlassian JIRA <span id="footer-build-information">(v6.3.15#6346-<span title="dbc023dd75cecacf443c4b235f66124b15f5c5fe" data-commit-id="dbc023dd75cecacf443c4b235f66124b15f5c5fe}">sha1:dbc023d</span>)</span>
</td>
<td id="footer-pattern-logo-desktop-container" valign="top" style="padding: 0px; border-collapse: collapse; padding-left: 20px; vertical-align: top">
<table style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tr>
<td id="footer-pattern-logo-desktop-padding" style="padding: 0px; border-collapse: collapse; padding-top: 3px"> <img id="footer-pattern-logo-desktop" src="cid:jira-generated-image-static-footer-desktop-logo-7133301a-ad82-40e9-ad51-70b4d833aa51" alt="Atlassian logo" title="Atlassian logo" width="169" height="36" class="image_fix" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>