zman policy-create fails when xml contains satellite server information

  • 7001942
  • 19-Nov-2008
  • 07-Jul-2012


Novell ZENworks 10 Configuration Management Zman


Note:  This ONLY applies to using zman to move objects from one zone to another.  For  similar error in other cases see related TID 7006732
Error when creating a policy with zman policy-create from an xml that was exported from another zone with zman policy-export-to-file .
"Error: An internal error occurred. Please check the zman log for more
ERROR (from zman.log ):
[DEBUG] [11/20/08 1:38:38 PM] [] [CommandRunner] [java.lang.reflect.InvocationTargetException
Caused by: com.novell.zenworks.zman.exceptions.ZManException: com.novell.zenworks.datamodel.exceptions.InternalDataModelException: 1;com.novell.zenworks.datamodel.exceptions.InternalDataModelException: org.hibernate.exception.ConstraintViolationException: could not insert collection: [[com.novell.zenworks.datamodel.objects.assignablecontent.AssignableContentObject.SatelliteServers#27f88366304bc31520d151aeaac16818]]


This is fixed in version 11.2.1 - see KB 7010042 "ZENworks Configuration Management 11.2.1 - update information and list of fixes" which can be found at

The zman export is including zone specific GUIDs of satellite servers assigned for content.  Remove sections tagged SatelliteServers references from the policy.xml that zman betf created prior to creating in the new zone.
For example remove:
</ns2:SatelliteServers >