Bug 1007210 - get 'Unable to complete the requested operation due to: Failed to correctly execute all parallel operations' when trying to restart my app
get 'Unable to complete the requested operation due to: Failed to correctly e...
Status: CLOSED NOTABUG
Product: OpenShift Online
Classification: Red Hat
Component: Pod (Show other bugs)
2.x
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Abhishek Gupta
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-12 02:22 EDT by Peter Ruan
Modified: 2015-05-14 20:20 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-12 13:46:56 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Ruan 2013-09-12 02:22:05 EDT
Description of problem:
Getting an error:
Unable to complete the requested operation due to: Failed to correctly execute all parallel operations.
Reference ID: a88b9a00b36d862352b362c994ea7871




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

How reproducible:


Steps to Reproduce:
1. rhc app create a1xmye jbossews-2.0 -g small -l pruan@redhat.com -p 'vostok08' --insecure --server openshift.redhat.com 
2. rhc env set --env JAVA_OPTS_EXT="-Xmxs64m -Xms64m -XX:+PrintGCDetails -Xloggc:logs/gc.log" -a wcdw0a -l pruan@redhat.com -p 'vostok08' --insecure --server openshift.redhat.com
3. rhc app restart -a wcdw0a -l pruan@redhat.com -p 'vostok08' --insecure --server openshift.redhat.com

Actual results:


Expected results:


Additional info:
Comment 1 Abhishek Gupta 2013-09-12 13:21:23 EDT
Log contents from Peter's test:



2013-09-12 13:14:33.460 [DEBUG] Execute restart_component (pid:2796)
2013-09-12 13:16:46.755 [DEBUG] DEBUG: Output of parallel execute: [{:tag=>{"op_id"=>"5231f67976547b44f8000027"}, :gear=>"5231f61276547b44f8000008", :job=>{:cartridge=>"openshift-origin-node", :action=>"restart", :args=>{"--with-app-uuid"=>"5231f61276547b44f8000008", "--with-app-name"=>"r1zt0x", "--with-container-uuid"=>"5231f61276547b44f8000008", "--with-container-name"=>"r1zt0x", "--with-namespace"=>"ppp1", "--with-request-id"=>"b73b7402e688b4d9ee7ac8809aba90dd", "--cart-name"=>"jbosseap-6", "--component-name"=>"jbosseap-6", "--with-software-version"=>"6", "--cartridge-vendor"=>"redhat"}}, :result_stdout=>"Failed to execute: 'control restart' for /var/lib/openshift/5231f61276547b44f8000008/jbosseap\nStopping jbosseap cartridge\nStarting jbosseap cartridge\nTimed out waiting for http listening port\n\nSending SIGTERM to jboss:7474 ...\n", :result_stderr=>"", :result_exit_code=>1}], exitcode: 0, from: ip-10-151-92-210  (Request ID: b73b7402e688b4d9ee7ac8809aba90dd) (pid:2796)
2013-09-12 13:16:46.757 [DEBUG] DEBUG: MCollective Response Time (execute_parallel): 133.291487215s  (Request ID: b73b7402e688b4d9ee7ac8809aba90dd) (pid:2796)
2013-09-12 13:16:46.757 [DEBUG] DEBUG: server results: Failed to execute: 'control restart' for /var/lib/openshift/5231f61276547b44f8000008/jbosseap (pid:2796)
2013-09-12 13:16:46.758 [DEBUG] DEBUG: server results: Stopping jbosseap cartridge (pid:2796)
2013-09-12 13:16:46.758 [DEBUG] DEBUG: server results: Starting jbosseap cartridge (pid:2796)
2013-09-12 13:16:46.758 [DEBUG] DEBUG: server results: Timed out waiting for http listening port (pid:2796)
2013-09-12 13:16:46.758 [DEBUG] DEBUG: server results: (pid:2796)
2013-09-12 13:16:46.758 [DEBUG] DEBUG: server results: Sending SIGTERM to jboss:7474 ... (pid:2796)
2013-09-12 13:16:46.801 [ERROR] Failed to correctly execute all parallel operations (pid:2796)
Comment 2 Dan Mace 2013-09-12 13:46:56 EDT
The max heap argument should be '-Xmx' rather than '-Xmxs'. Just a simple typo. Closing this one.

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