How to solve the issue "The task is in pending status and does not change when deploying software to Linux platform agent with Policy method" ?

Version 2

    Verified Product Versions

    Endpoint Manager 2016.xEndpoint Manager 2017.x

    Issue:

    The task is in pending status and does not change when deploying software to Linux platform agent with Policy method. It happens to when you try to apply a Linux patch with Policy too. When viewing the policy.log file you see "WARN: Policy (CP.#.RunNow.xml): does not meet filter criteria"

    66394.png

     

    Troubleshoot:

    Get the policy.log, scheduler.log, vulnerability.log from the Linux platform agent.

    You may find below in the log:

    Force Redeployment: false, Is Multi-Task Protected: true, Policy Deployable: false, Policy Type (roll-up): true, Push Policy (roll-up): false]

     

    Cause:

    This is a configuration issue. If Force Redeployment has NOT been checked on the core and multitask-protection is true on the core then this policy task should NOT be rescheduled to run on the client.

     

    Resolution:

    Either force redeployment needs to be true which translates to the Task setting “Ignore subsequent requests on successfully targeted clients” being checked:

     

    Or multi-task protection needs to be false which translates to the Distribution and Patch agent setting under Install/remove options “If a multiple-patch task is running, then…” be checked. This is under Software Distribution agent setting: