upgrade to 23.4 , rebuild agent package fail

Hi All

   Today, I upgrade customer 2020.3 primary server to 23.4...first Imeet a error about update service..

I revert to snapshot , the import again from another primary server...it work fine.

But run upgrade 23.4....it seem upgrade completed...but I check the process the rebuild agent package stuck.

I check the loader-message...it show zuper-tmp\ novell-zenworks-fde-api used by another process...

another primary server which upgrade 23.4 completed , also occur the rebuild package.

and second primary server occur another issue that zuper-tmp folder could could not been access.

(Sorry I have no zeninfo or screenhot tempily)

Who has similar experience ??

Thanks!!

Wencheng

Tags:

  • Hi

    Long time since I've seen this happen ZCM 10 and ZCM 11, have the servers win ZCC marked themselves as "failed" against the system update ?

    If so you can then redeploy system update to the primary servers and it will skip past install and go to rebuild deployment packages again.

    you can also run

    microfocus-zenworks-configure -c CreateExtractorPacks -Z

    to retrigger the rebuild

    But without knowing current state of where the system update is hard to know.
    thanks
    Spencer
  • when I  meet this issue,in loader-message.log show I could use "zman surp" to rebuild package manually.

    But the root cause seem a msi file been used by another process , so the rebuild procedure stuck / failed.

    the message like below:

    ===============

    [錯誤] [11/30/2023 15:02:20.655] [7760] [ZENLoader] [267] [] [Loader.SystemUpdateModule] [] [((ZupContentHandler() Failed to clean zup extraction temp] [java.io.IOException: Unable to delete file: D:\Program Files (x86)\Micro Focus\ZENworks\install\downloads\zup-extraction-tmp\novell-zenworks-fde-api-23.4.0.020.msi
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
    at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.cleanUpZupExtractionTemp(ZupContentHandler.java:120)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.extractZupFileContent(ZupContentHandler.java:151)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.extractZupPackages(ZupContentHandler.java:87)
    at com.novell.zenworks.loader.modules.queue.handlers.ExtractContentHandler.processAction(ExtractContentHandler.java:234)
    at com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.processAction(QueueThreadWorker.java:228)
    at com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.run(QueueThreadWorker.java:149)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)
    ] [] [] [ZENServer]
    [追蹤] [11/30/2023 15:02:20.661] [7760] [ZENLoader] [267] [] [Loader.SystemUpdateModule] [] [FINE: Unable to extract update content.] [com.novell.zenworks.systemupdate.exceptions.SystemUpdateException: Failed to extract zup file content
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.extractZupFileContent(ZupContentHandler.java:147)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.extractZupPackages(ZupContentHandler.java:87)
    at com.novell.zenworks.loader.modules.queue.handlers.ExtractContentHandler.processAction(ExtractContentHandler.java:234)
    at com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.processAction(QueueThreadWorker.java:228)
    at com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.run(QueueThreadWorker.java:149)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)
    Caused by: java.nio.file.FileSystemException: D:\Program Files (x86)\Micro Focus\ZENworks\install\downloads\zup-extraction-tmp\novell-zenworks-fde-api-23.4.0.020.msi -> D:\Program Files (x86)\Micro Focus\ZENworks\install\downloads\msi\novell-zenworks-fde-api-23.4.0.020.msi: 程序無法存取檔案,因為檔案正由另一個程序使用。

    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:387)
    at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287)
    at java.nio.file.Files.move(Files.java:1395)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.copyExtractedFileToTargetDir(ZupContentHandler.java:207)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.copyExtractedContents(ZupContentHandler.java:192)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.extractZupFileContent(ZupContentHandler.java:143)
    ... 7 more
    ] [] [] [ZENServer]
    [追蹤] [11/30/2023 15:02:20.661] [7760] [ZENLoader] [267] [] [Loader.SystemUpdateModule] [] [FINE: Extract content attempt failed] [com.novell.zenworks.systemupdate.exceptions.SystemUpdateException: Failed to extract zup file content
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.extractZupFileContent(ZupContentHandler.java:147)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.extractZupPackages(ZupContentHandler.java:87)
    at com.novell.zenworks.loader.modules.queue.handlers.ExtractContentHandler.processAction(ExtractContentHandler.java:234)
    at com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.processAction(QueueThreadWorker.java:228)
    at com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.run(QueueThreadWorker.java:149)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)
    Caused by: java.nio.file.FileSystemException: D:\Program Files (x86)\Micro Focus\ZENworks\install\downloads\zup-extraction-tmp\novell-zenworks-fde-api-23.4.0.020.msi -> D:\Program Files (x86)\Micro Focus\ZENworks\install\downloads\msi\novell-zenworks-fde-api-23.4.0.020.msi: 程序無法存取檔案,因為檔案正由另一個程序使用。

    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:387)
    at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287)
    at java.nio.file.Files.move(Files.java:1395)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.copyExtractedFileToTargetDir(ZupContentHandler.java:207)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.copyExtractedContents(ZupContentHandler.java:192)
    at com.novell.zenworks.loader.modules.queue.handlers.util.ZupContentHandler.extractZupFileContent(ZupContentHandler.java:143)
    ... 7 more
    ] [] [] [ZENServer]
    [追蹤] [11/30/2023 15:02:20.661] [7760] [ZENLoader] [267] [] [Loader.SystemUpdateModule] [] [FINE: Unable to complete rebuilding deployment packages even after 6 retries. You can trigger this task manully by running zman surp (System Update name)] [] [] [] [ZENServer]

    =================================================================

  • I provide the loader-message.log..you could see when build package...it show the msi file been used by another process.

    loader-messages.zip