Bug 1007210

Summary: get 'Unable to complete the requested operation due to: Failed to correctly execute all parallel operations' when trying to restart my app
Product: OpenShift Online Reporter: Peter Ruan <pruan>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: dmace, ofayans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-12 17:46:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Ruan 2013-09-12 06:22:05 UTC
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 -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 -p 'vostok08' --insecure --server openshift.redhat.com
3. rhc app restart -a wcdw0a -l pruan -p 'vostok08' --insecure --server openshift.redhat.com

Actual results:


Expected results:


Additional info:

Comment 1 Abhishek Gupta 2013-09-12 17:21:23 UTC
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 17:46:56 UTC
The max heap argument should be '-Xmx' rather than '-Xmxs'. Just a simple typo. Closing this one.