Environment:
ZENworks 23.4
Situation:
After Advanced Patch management migration and configuration steps are performed in the ZCC, maintenance for the configured Patch Server is completed. Once the DAU bundles get applied to the endpoints, the new patch agent is installed and subsequently reports the patch metadata and status during the initial patch scan
However, the patch metadata processing fails on the Primary once the scan results files are uploaded to log the following error in /var/opt/microfocus/log/zenworks/patch-management/patch-management.log:
[INFO ] [2024-10-01 11:33:50] [patchMetadataProcessingThreadPool-1] [11] [Patch-Management] [80] [PatchMetadataReaderTasklet] [Going to process metadata for file list : [/var/opt/microfocus/zenworks/collection/patchlink/357d514c1d276c41a1950657abf05e06-1727775207981.zip] ] [ERROR] [2024-10-01 11:33:50] [patchMetadataProcessingThreadPool-1] [11] [Patch-Management] [80] [PatchMetadataReaderTasklet] [Failed to process metadata file /var/opt/microfocus/zenworks/collection/patchlink/357d514c1d276c41a1950657abf05e06-1727775207981.zip] java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:148) ~[?:?] at com.microfocus.zenworks.patch.service.PatchListService.getListIdFor(PatchListService.java:41) ~[zpm-datamodel-23.4.0.jar!/:23.4.0] at com.microfocus.zenworks.patch.service.PatchListService$$FastClassBySpringCGLIB$$7739cb30.invoke(<generated>) ~[zpm-datamodel-23.4.0.jar!/:23.4.0]
No patches are listed under the Security | Patches or Device | Patches tab in ZCC
Patch processing failure would lead to collection/patchlink/failed folder having multiple zip files