After zac reg -g or zac rereg or reconciliation changes GUID, System Update may temporarily fail to apply

  • 7009400
  • 20-Sep-2011
  • 30-Apr-2012

Environment

Novell ZENworks 11 Configuration Management
Novell ZENworks 10 Configuration Management
Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1

Situation

After zac reg -g or zac rereg or reconciliation changes GUID, System Update may temporarily fail to apply.  Device stays as pending in ZCC system update page.
 
ERROR (in zmd-messages.log)
 
[DEBUG] [09/20/2011 05:39:52.640] [1924] [ZenworksWindowsService] [75] [] [SystemUpdateModule] [] [Unable to get assigned update commands; nested exception is:
 com.novell.zenworks.datamodel.exceptions.ObjectNotFoundException: 6a9edf30afb6c67185bdb457f164abea] [] []
 [DEBUG] [09/20/2011 05:39:52.656] [1924] [ZenworksWindowsService] [75] [] [SystemUpdateModule] [] [   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object() parameters)
   at Novell.Zenworks.SystemUpdateService.Wsdl.SystemUpdateServiceService.getAssignedSystemUpdateCommands(AssignedSystemUpdateCommandsRequest AssignedSystemUpdateCommandsRequest)
   at Novell.Zenworks.SystemUpdate.SystemUpdateModule.getUpdateContent(AssignedSystemUpdatesResponseAssignedSystemUpdate update, String commandLocation)] [] []
 [DEBUG] [09/20/2011 05:39:52.656] [1924] [ZenworksWindowsService] [75] [] [SystemUpdateModule] [] [Unexpected error occurred during system update
Type: System.Web.Services.Protocols.SoapException
Message: Unable to get assigned update commands; nested exception is:
 com.novell.zenworks.datamodel.exceptions.ObjectNotFoundException: 6a9edf30afb6c67185bdb457f164abea
Stack Trace:
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object() parameters)
       at Novell.Zenworks.SystemUpdateService.Wsdl.SystemUpdateServiceService.getAssignedSystemUpdateCommands(AssignedSystemUpdateCommandsRequest AssignedSystemUpdateCommandsRequest)
       at Novell.Zenworks.SystemUpdate.SystemUpdateModule.getUpdateContent(AssignedSystemUpdatesResponseAssignedSystemUpdate update, String commandLocation)
       at Novell.Zenworks.SystemUpdate.SystemUpdateModule.runPreInstallCommands(AssignedSystemUpdatesResponseAssignedSystemUpdate update)
       at Novell.Zenworks.SystemUpdate.SystemUpdateModule.ApplyUpdate(AssignedSystemUpdatesResponseAssignedSystemUpdate update)
] [] []

Resolution

This is fixed in version 11.2 - see KB 7010044 "ZENworks Configuration Management 11.2 - update information and list of fixes" which can be found at https://www.novell.com/support
 
Workaround:
Restart the ZENworks agent service or reboot the device.

Additional Information

The ZENworks Windows service caches the device GUID.  If that changes due to zac reg -g, zac rereg or reconciliation, the agent won't see the new GUID until restart.