def move_gear_destroy_old(app, gear, keep_uid, orig_uid, source_container, destination_container)
reply = ResultIO.new
log_debug "DEBUG: Deconfiguring old app '#{app.name}' on #{source_container.id} after move"
begin
reply.append source_container.destroy(app, gear, keep_uid, orig_uid, true)
rescue Exception => e
log_debug "DEBUG: The application '#{app.name}' with gear uuid '#{gear.uuid}' is now moved to '#{destination_container.id}' but not completely deconfigured from '#{source_container.id}'"
raise
end
reply
end