Bug 807918

Summary: cannot control/delete existed apps after upgrade/migration instance
Product: OKD Reporter: Meng Bo <bmeng>
Component: PodAssignee: Rob Millner <rmillner>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 1.xCC: mfisher, mpatel, rmillner
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-30 01:40:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 808229    

Description Meng Bo 2012-03-29 07:06:38 UTC
Description of problem:
create some apps on old instance, do upgrade and migration, try to stop/start/destroy existed apps will get "Node execution failure"

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

How reproducible:
always

Steps to Reproduce:
1.start an old instance devenv-stage_150
2.create some apps on it
3.do upgrade and migration
migrate-mongo-2.0.8
migrate-2.0.8
4.try to control/delete the existed apps
  

Actual results:
will exit with node execution failure.

DEBUG:
6c957029cf.  Application directory doesn't exist:  /var/lib/stickshift/9eb764b1bfcf4b4d8f1a8158fce62985/6c957029cf
Cartridge return code: 125

Expected results:
apps should be controlled and deleted without any problems.

Additional info:
Server log:
DEBUG: rpc_exec_direct: rpc_client=#<MCollective::RPC::Client:0x7f1d2325fa20>
DEBUG: rpc_client.custom_request('cartridge_do', {:args=>"'97fe8c4513' 'bmengdev' '9eb764b1bfcf4b4d8f1a8158fce62985'", :cartridge=>"perl-5.10", :action=>"stop"}, @id, {'identity' => @id})
DEBUG: [#<MCollective::RPC::Result:0x7f1d238c7688 @results={:statusmsg=>"cartridge_do_action failed 125.  Output 97fe8c4513.  Application directory doesn't exist:  /var/lib/stickshift/9eb764b1bfcf4b4d8f1a8158fce62985/97fe8c4513\n", :statuscode=>1, :sender=>"ip-10-62-90-170", :data=>{:exitcode=>125, :output=>"97fe8c4513.  Application directory doesn't exist:  /var/lib/stickshift/9eb764b1bfcf4b4d8f1a8158fce62985/97fe8c4513\n"}}, @action="cartridge_do", @agent="libra">]
DEBUG: server results: 97fe8c4513.  Application directory doesn't exist:  /var/lib/stickshift/9eb764b1bfcf4b4d8f1a8158fce62985/97fe8c4513
Node execution failure (invalid exit code from node).  If the problem persists please contact Red Hat support.
#<StickShift::NodeException: Node execution failure (invalid exit code from node).  If the problem persists please contact Red Hat support.>

Comment 1 Rob Millner 2012-03-30 01:40:35 UTC
This was being affected by the same underlying bug as 807921.

Comment 2 Rob Millner 2012-03-30 01:40:51 UTC

*** This bug has been marked as a duplicate of bug 807921 ***