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
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:
- Create a duplicate folder and move all the workstation objects from the original folder to this new folder.
- Check that all assignments made to folder1 apply also to the new folder.
- 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:
- /~devices~/~workstations~/QUE/M-GUY/PLANIF/DGTI/DIT/SGET/ZCM -->
- Under SGET create a dummy folder ZCM_1
- Move all the devices and assignments from ZCM ---> ZCM1
- Confirm all assignments
- Delete folder ZCM and rename ZCM1 -> ZCM.