Search Engine: Elastic

Article ID: 129399, created on Sep 12, 2016, last review on Aug 3, 2018

  • Applies to:
  • Operations Automation 7.3

Question

How to find out who cancelled a particular task in Task Manager?

Resolution

  1. Check the time when the task was cancelled.
  2. Login to OA MN server.
  3. Search through the corresponding /var/log/pa/core.log for an entry like below:

    # zgrep -A10 -B10 -E "cancelled_by.*c.*20101628" /var/log/pa/core.log
    
    Aug  2 16:42:22.399 : DBG [UI:42baa161:1041367:1533220942065 1:12762:7f3224ff9700 TaskManager ]: [ Tasks::impl::TaskManager_impl::cancelTasks] ===> ENTRY
    ...
    Aug  2 16:42:22.404 : DBG [UI:42baa161:1041367:1533220942065 p:-default-threadpool;-w:-Idle:30707 pau]: c.p.p.s.d.e.DBServiceBean ' UPDATE tm_tasks SET next_start =  ? , status =  ? , run_num =  ? , cancelled_by =  ?  WHERE task_id =  ?' Parameters: [2018-08-02 11:50:19.0, c, 5, 0, 20103090] [sqlpid: 15481]
    
  4. Login to the UI server and search through /var/log/pa/pui/pui.log for the bw_id found in the previous step - 42baa161:

    16:22:08.564 [default task-151] DEBUG c.plesk.p2.security.SecurityManager - Storing new session in cache:42baa1613050b98e8aac125ee8bb1011
    
  5. Scroll up and track the login process by thread id default task-151:

    16:22:08.545 [default task-151] DEBUG c.p.p.c.c.p.m.actions.PLoginHandler - For user admin
    
  6. Navigate to PCP -> Users and find the user by username.

Feature Request POA-80209: "Ability to record user who cancelled task" has been submitted to the Maintenance Team. Please contact your Account Manager or Pooled Technical Associates team (pta@odin.com) to trace the status of the issue.

5356b422f65bdad1c3e9edca5d74a1ae 8fc71f07abe5b233fea1ae0377cd5e3d dd79f16c76b9dca75205ab5e9f5465ea 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF