IT Management Suite

 View Only
  • 1.  No computers or targets with computers were assigned to the policy

    Posted Sep 29, 2015 03:27 AM

    Hi 

    We are using Symantec Management Console Version 7.5.3153, and I am trying to add a new Automation policy using this Raw SQL Query:

    SELECT
       [Guid],
       [Name]
    FROM
       [vRM_Computer_Item] 

    the action is send a test package of 1KB of size, but I always receive the same message:

    No computers or targets with computers were assigned to the policy. Please check the logs for details.

     

    this is the information from the log:

     

    Error in automation policies.
    No computers or targets with computers were assigned.
       [Altiris.TaskManagement.ClientTask.Exceptions.NoComputersAssignedToTaskException @ Altiris.TaskManagement]
       at Altiris.TaskManagement.ClientTask.BaseClientTask.ProcessPreExecuteInputParameters(ParameterValueCollection inputParameters, IList`1 userRoles)
       at Altiris.TaskManagement.BaseTask.CreateTaskInstance(String name, String executedBy, Guid parentTaskInstanceGuid, JobNodeGuid jobNodeGuid, ParameterValueCollection inputParameterValues, IList`1 userRoles)
       at Altiris.TaskManagement.ClientTask.BaseClientTask.CreateTaskInstance(String name, String executedBy, Guid parentTaskInstanceGuid, JobNodeGuid jobNodeGuid, ParameterValueCollection inputPropertyValues, IList`1 userRoles)
       at Altiris.TaskManagement.BaseTask.ExecuteTask(TaskVersionGuid taskVersionGuid, String name, String executedBy, Guid parentTaskInstanceGuid, JobNodeGuid jobNodeGuid, ParameterValueCollection inputParameterValues, IList`1 userRoles)
       at Altiris.TaskManagement.BaseTask.ExecuteTask(TaskVersionGuid taskVersionGuid, String name, ParameterValueCollection inputParameterValues)
       at Altiris.Automation.AutomationPolicies.Actions.TaskManagementAction.Execute(IActionDataSource dsAction)
       at Altiris.Automation.AutomationPolicies.EvaluationRuleExecutor.<>c__DisplayClass1.<EvaluateDataAndExecuteAction>b__0(IActionDataSource dsAction)
       at Altiris.Automation.AutomationPolicies.EvaluationRules.RunForEveryRecordEvaluationRule.EvaluateDataSource(IAutomationPolicyDataSource dataSource, IActionDataSourceAdapter dsAdapter, ExecuteActionDelegate executeAction)
       at Altiris.Automation.AutomationPolicies.EvaluationRuleExecutor.EvaluateDataAndExecuteAction(IAutomationPolicyDataSource ds, IEvaluationRule evalRule, IActionDataSourceAdapter dsAdapter, IAction action)
       at Altiris.Automation.AutomationPolicies.AutomationPolicy.Execute(Object objExecutionContextData)
       at Altiris.Automation.AutomationPolicies.Triggers.TriggerBase.FireTrigger(Object objExecutionContextData)
       at Altiris.Automation.Web.AutomationPolicyUI.AutomationPolicyUIPage.btnTestNP_Click(Object sender, EventArgs e)

    Exception logged from: 
       at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception, String footer)
       at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
       at Altiris.Automation.Web.AutomationPolicyUI.AutomationPolicyUIPage.HandleNoComputersAssignedToTaskException(Exception ex)
       at Altiris.Automation.Web.AutomationPolicyUI.AutomationPolicyUIPage.btnTestNP_Click(Object sender, EventArgs e)
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(HttpContext context)
       at Altiris.NS.UI.AltirisPage.ProcessRequest(HttpContext context)
       at ASP.automationpolicyui_automationpolicy_aspx.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
       at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
       at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
       at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
       at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)

    Automation policy 'DBD_GEN_TESTPOLICY' (96743da0-930e-4701-8191-07f14ea84c65) failed starting task: '1kb TEST 2 job' (9166a65f-4f54-43f2-a5fe-694ee22c6367)
    No computers or targets with computers were assigned.
       [Altiris.TaskManagement.ClientTask.Exceptions.NoComputersAssignedToTaskException @ Altiris.TaskManagement]
       at Altiris.TaskManagement.ClientTask.BaseClientTask.ProcessPreExecuteInputParameters(ParameterValueCollection inputParameters, IList`1 userRoles)
       at Altiris.TaskManagement.BaseTask.CreateTaskInstance(String name, String executedBy, Guid parentTaskInstanceGuid, JobNodeGuid jobNodeGuid, ParameterValueCollection inputParameterValues, IList`1 userRoles)
       at Altiris.TaskManagement.ClientTask.BaseClientTask.CreateTaskInstance(String name, String executedBy, Guid parentTaskInstanceGuid, JobNodeGuid jobNodeGuid, ParameterValueCollection inputPropertyValues, IList`1 userRoles)
       at Altiris.TaskManagement.BaseTask.ExecuteTask(TaskVersionGuid taskVersionGuid, String name, String executedBy, Guid parentTaskInstanceGuid, JobNodeGuid jobNodeGuid, ParameterValueCollection inputParameterValues, IList`1 userRoles)
       at Altiris.TaskManagement.BaseTask.ExecuteTask(TaskVersionGuid taskVersionGuid, String name, ParameterValueCollection inputParameterValues)
       at Altiris.Automation.AutomationPolicies.Actions.TaskManagementAction.Execute(IActionDataSource dsAction)

    Exception logged from: 
       at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception, String footer)
       at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
       at Altiris.Automation.AutomationPolicies.Actions.TaskManagementAction.Execute(IActionDataSource dsAction)
       at Altiris.Automation.AutomationPolicies.EvaluationRuleExecutor.<>c__DisplayClass1.<EvaluateDataAndExecuteAction>b__0(IActionDataSource dsAction)
       at Altiris.Automation.AutomationPolicies.EvaluationRules.RunForEveryRecordEvaluationRule.EvaluateDataSource(IAutomationPolicyDataSource dataSource, IActionDataSourceAdapter dsAdapter, ExecuteActionDelegate executeAction)
       at Altiris.Automation.AutomationPolicies.EvaluationRuleExecutor.EvaluateDataAndExecuteAction(IAutomationPolicyDataSource ds, IEvaluationRule evalRule, IActionDataSourceAdapter dsAdapter, IAction action)
       at Altiris.Automation.AutomationPolicies.AutomationPolicy.Execute(Object objExecutionContextData)
       at Altiris.Automation.AutomationPolicies.Triggers.TriggerBase.FireTrigger(Object objExecutionContextData)
       at Altiris.Automation.Web.AutomationPolicyUI.AutomationPolicyUIPage.btnTestNP_Click(Object sender, EventArgs e)
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(HttpContext context)
       at Altiris.NS.UI.AltirisPage.ProcessRequest(HttpContext context)
       at ASP.automationpolicyui_automationpolicy_aspx.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
       at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
       at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
       at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
       at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)

    **CEDUrlStart** :http://entced.symantec.com/entt?product=SMP&version=7.5.3153.0&language=en&module=+3adzGKA/Sblc8/a1VORyj5nKlGkOwaR7zEb0BEqnVjsy7BVvcPQiZs2f8oVvLBtqi2g22iP2IKbH2WPZ4SuIQ==&error=952648212&build=**CEDUrlEnd**
    -----------------------------------------------------------------------------------------------------
    Date: 29/09/2015 5:19:13 PM, Tick Count: 1125521109 (13.00:38:41.1090000), Host Name: AUMS-SWDIST, Size: 4.60 KB
    Process: w3wp (12604), Thread ID: 629, Module: w3wp.exe
    Priority: 1, Source: Altiris.Automation.AutomationPolicies.Actions.TaskManagementAction.Execute
    File: C:\ProgramData\Symantec\SMP\Logs\a.log

    any help will be appreciated

    Thanks



  • 2.  RE: No computers or targets with computers were assigned to the policy

    Posted Sep 29, 2015 11:40 PM

    IS the Software Management Solution Agent plug-in policy Activated  ?

    Please refer to the user Guide, which will help you understand the different ways of adding computers to the policy.



  • 3.  RE: No computers or targets with computers were assigned to the policy

    Posted Sep 30, 2015 12:40 AM
      |   view attached

    Yes, It is Activated.

    but there is a copy of the Policy, can this copy affect the behavior of the policy? 

     

     



  • 4.  RE: No computers or targets with computers were assigned to the policy

    Posted Oct 01, 2015 11:38 PM

    Make sure you enable only one policy. I.e Disable the Copy of the policy.

    The count of the computer without Software plugin show as 0 in the Screenshot. I would recomment that you run network discovery and make sure all the computer have the SMA agent installed.