Content bigger than 2 GB can fail to replicate to Linux Satellite servers

  • 7017463
  • 04-Apr-2016
  • 30-May-2017

Environment

Novell ZENworks Configuration Management 11.4
Novell ZENworks Configuration Management 11.3.2

Situation

A Linux based Satellite server is configured for content role.
A content files bigger than 2 GB needs to replicate

In case content replication can not finish to download such a larger content file in one cycle, content replication does never finish.

The Satellite server zmd-messages.log contains an error message like:
"...
[DEBUG] [12/23/2015 09:47:39.181] [2146] [ZenworksAgent] [2015] [] [FileCache] [] [Exception caught: Server returned HTTP response code: 500 for URL: http://192.168.1.37:80/zenworks-content/c4f0d4bde2fa922c54351356627191f4.zc java.io.IOException: Server returned HTTP response code: 500 for URL: http://192.168.1.37:80/zenworks-content/c4f0d4bde2fa922c54351356627191f4.zc at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.novell.zenworks.agent.core.zmd.cache.ZenFile.GetWebStream(ZenFile.java:277) at com.novell.zenworks.agent.core.zmd.cache.ZenFile.GetRange(ZenFile.java:336) at com.novell.zenworks.agent.core.zmd.cache.CopyFileAction$FileCopier.run(CopyFileAction.java:388) at com.novell.zenworks.agent.core.zmd.cache.CopyFileAction.CopyFile(CopyFileAction.java:533) at com.novell.zenworks.agent.core.zmd.cache.FileCache.PerformCopyFile(FileCache.java:490) at com.novell.zenworks.agent.core.zmd.cache.FileCache.CopyFileRange(FileCache.java:1465) at com.novell.zenworks.agent.core.zmd.cache.FileCache.CopyFileCheckPointRestart(FileCache.java:1643)
..."

Resolution

Workaround:
- Copy manually the failing content file into the respective content-repo/content folder on  the Satellite server.
- Reset the ZENworks agent cache using the command /etc/init.d/novell-zenworks-xplatzmd start --clean on the Satellite server also removing the content download checkpoint restart entry.

This is fixed in version 11.4.2 - see KB 7017469 "ZENworks Configuration Management 11.4.2 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7017469

Cause

The content length for such big files is not recorded correctly in the agent cache content checkpoint restart entry.