Migrated bundles may cause errors and no assignments seen

  • 7010307
  • 15-Mar-2012
  • 24-Jan-2014

Environment

Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1

Situation

Some bundles or policies are not seen on the device.

ERROR (in services-messages.log):
[DEBUG] [2/20/12 10:59:34 AM] [] [Assignment Web Service] []
[com.novell.zenworks.datamodel.exceptions.DataModelUsageException: Invalid assignment type: Bundles/Devices
    at
com.novell.zenworks.datamodel.session.hibernate.HibernateAssignmentSession.getAssignmentToken(HibernateAssignmentSession.java:127)


or

[DEBUG] [11/1/11 12:19:05 PM] [] [Assignment Web Service] []
[com.novell.zenworks.datamodel.exceptions.DataModelUsageException: Invalid assignment type: Policies/Users

Resolution

To fix:
  1. Create a duplicate folder and move all the workstation objects from the original folder to this new folder.
  2. Check that all assignments made to folder1 apply also to the new folder.
  3. When all workstation objects are moved to the new folder, and all assignments are verified present on the new folder, remove the original folder.

Example:

  1. /~devices~/~workstations~/QUE/M-GUY/PLANIF/DGTI/DIT/SGET/ZCM -->
  2. Under SGET create a dummy folder ZCM_1
  3. Move all the devices and assignments from ZCM ---> ZCM1
  4. Confirm all assignments
  5. Delete folder ZCM and rename ZCM1 -> ZCM.