The customer was trying to create a new CEM package. He gets the following error on the UI:
Failed to generate agent package. Package compression failed.
The NS logs showed:
Failed to generate agent package
Package compression failed.
[Altiris.NS.Exceptions.AeXException @ Altiris.NS.StandardItems]
at Altiris.NS.StandardItems.AgentManagement.CEMPackageRegistrator.BuildSitePackage(String siteIdentifier, IEnumerable`1 gateways, IEnumerable`1 resourceTargets, IEnumerable`1 organizationalGroups, String additionalInstallParams, DateTime requestedPackageExpiry, AgentPackageParameters packageParams, DateTime& packageExpiry, String& installXML)
at Altiris.NS.UI.Admin.ClientManagement.IbcmAgentInstallationPackage.OnGeneratePackage(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.NS.UI.Admin.ClientManagement.IbcmAgentInstallationPackage.OnGeneratePackage(Object sender, EventArgs e)
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.admin_clientmanagement_ibcmagentinstallationpackage_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)
-----------------------------------------------------------------------------------------------------
Date: 10/28/2019 12:38:11 PM, Tick Count: 262261984 (3.00:51:01.9840000), Size: 2.83 KB
Process: w3wp (19412), Thread ID: 129, Module: w3wp.exe
Priority: 1, Source: Altiris.NS.UI.Admin.ClientManagement.IbcmAgentInstallationPackage.OnGeneratePackage
ITMS 7.5 SP1
Known issue. We had an issue with:
Problem was in incorrect agent package installation on NS. Vital registry entries were added in 32 bit registry instead of 64 bit. So packager fails to obtain agent version.
In this particular case, the customer was in a Hierarchy. Since it is a Hierarchy, we checked other Child SMPs and we noticed that the Altiris Agent was 7.5.3316 while the affected SMP had 7.5.3300. We also checked the Pointfix registry (HKLM>Software>Altiris>Pointfixes) and he had in the other Child and Parent servers a pointfix installed for SMF (eTrack 3983605) which has a new agent (version 7.5.3316).
We installed the pointfix on the affected Child SMP and after the agent upgraded, we were able to create the CEM package just fine.
The issue was between an agent version mismatch where the Parent was sending some info about it and the package creation was expecting to do it against that newer agent version.