<!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>commented</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-e5d314cc-5224-469b-8e79-76ada56de318" 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-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">
<p style="margin: 10px 0 0 0">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 :</p>
<ol>
<li>
rhc ssh aerogearbkp
</li>
<li>
cd aerogear-push/bin
</li>
<li>
ln -sf `pwd`/control tools/
</li>
</ol>
<p style="margin: 10px 0 0 0">yet rhc snapshot-save still does not work.</p>
<p style="margin: 10px 0 0 0">I've extracted the interesting part from sshing the gear in verbose mod to to the snapshot :</p>
<ol>
<li>
ssh -vvv my-uuid@aerogearbkp-mydomain.rhcloud.com 'snapshot' > aerogearbkp.tar.gz
</li>
</ol>
<p style="margin: 10px 0 0 0"><span class="error">[... verbose initiating the connection ...]</span></p>
<p style="margin: 10px 0 0 0">Authenticated to aerogearbkp-mydomain.rhcloud.com ([$</p> {IP}
<p style="margin: 10px 0 0 0">]:22).<br /> debug2: fd 6 setting O_NONBLOCK<br /> debug1: channel 0: new <span class="error">[client-session]</span><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/$</p> {MY_UUID}
<p style="margin: 10px 0 0 0">/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)>'</p>
<p style="margin: 10px 0 0 0">[ ... verbose stuff ending connection ... ]</p>
<p style="margin: 10px 0 0 0">debug1: Exit status 1</p>
</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-99f24a96-4882-41fc-aef3-6f5919233bbe" 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-4e81a9d2-3e81-4f86-983b-b0142ca5a058" alt="Atlassian logo" title="Atlassian logo" width="169" height="36" class="image_fix" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>