"Error:The count of content files specified in the action content information XML file..." when using zman bc

  • 7003504
  • 09-Apr-2012
  • 30-Apr-2012

Environment

Novell ZENworks 11 Configuration Management Zman
Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1 Zman
Novell ZENworks 11 Configuration Management Support Pack 2 - ZCM 11 SP2 Zman

Situation

When trying to create a bundle from an XML file, the bundle is not created, and the following error is seen in zmd-messages.log

[DEBUG] [4/5/12 3:10:10 PM] [] [ZMan] [1] [] [Error:The count of content files specified in the action content information XML file for the action of type "[name of action]" is not in accordance with the action XML data.] [] []

Resolution

Ensure that the action content data is referenced, using the "-a" or "--actioninfo" parameter: see "bundle-createhttps://www.novell.com/documentation/zenworks11/zen11_utils/data/b74pt40.html#b8an1cu in the ZENworks 11 SP2 Command Line Utilities Reference

Cause

The exported bundle had action data, but this was not referenced in the "zman bc" command that was being used