October PRU does not deploy on Linux System Update server

  • 7008170
  • 21-Mar-2011
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 2.1 - 10.2.1 System Update

Situation

October 2009 PRU fails to deploy

Error message in loader-messages.log:
"...
[DEBUG] [10/2/09 11:41:44 AM] [] [Loader.SystemUpdateModule] [] [FINEST: Update
pru is newer...starting extraction of pru files] [] []
[DEBUG] [10/2/09 11:41:44 AM] [] [Loader.SystemUpdateModule] [] [FINEST:
Executing ZIP action] [] []
[DEBUG] [10/2/09 11:41:44 AM] [] [Loader.SystemUpdateModule] [] [FINEST:
Extract directory specified as ''] [] []
[DEBUG] [10/2/09 11:41:44 AM] [] [Loader.SystemUpdateModule] [] [FINEST:
Extracting:
/var/opt/novell/zenworks/system-update/apply/5d023c0602f248d9aeeb7cca2e350910/zcmpru.zip
to
/var/opt/novell/zenworks/system-update/apply/5d023c0602f248d9aeeb7cca2e350910]
[] []
[DEBUG] [10/2/09 11:41:44 AM] [] [Loader.SystemUpdateModule] [] [FINE: Unable
to run global pre actions]
[com.novell.zenworks.systemupdate.exceptions.SystemUpdateException: Unable to
execute pru command
at
com.novell.zenworks.systemupdate.handlers.PruCommandHandler.executeCommand(PruCommandHandler.java:96)
at
com.novell.zenworks.loader.modules.queue.handlers.ProcessCommandsHandler.executeCommands(ProcessCommandsHandler.java:65)
at
com.novell.zenworks.loader.modules.queue.handlers.PreGlobalHandler.processAction(PreGlobalHandler.java:93)
at
com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.processAction(QueueThreadWorker.java:208)
at
com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.run(QueueThreadWorker.java:139)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.novell.zenworks.systemupdate.exceptions.SystemUpdateException:
Unable to unzip file
at
com.novell.zenworks.systemupdate.handlers.ZipCommandHandler.executeCommand(ZipCommandHandler.java:65)
at
com.novell.zenworks.systemupdate.handlers.PruCommandHandler.executeCommand(PruCommandHandler.java:75)
... 7 more
Caused by: java.io.IOException: File does not exist:
/var/opt/novell/zenworks/system-update/apply/5d023c0602f248d9aeeb7cca2e350910/zcmpru.zip
at
com.novell.zenworks.systemupdate.handlers.ZipCommandHandler.extractZipFile(ZipCommandHandler.java:84)
at
com.novell.zenworks.systemupdate.handlers.ZipCommandHandler.executeCommand(ZipCommandHandler.java:59)
... 8 more
..."

Resolution

This is fixed in version 10.2.2 - see KB 7004803 "ZENworks 10 Configuration Management 10.2.2 - update information and list of fixes" which can be found at https://www.novell.com/support

Additional Information

If "Deploy PRU" is executed within the datamodel content cache's time-to-live duration of downloading the PRU, datamodel is returning the stale copy of content object to the system update handler which does not contain the filename and hence the command is failing.

This error does not come up if there is a 3 minute delay after downloading and before deploying the PRU. Since the content cache expires in 3 minutes, the content object is than fetched fresh from the database which contains now the file name and the ZIP file gets properly extracted.