Device Classes delete operation failure
search cancel

Device Classes delete operation failure

book

Article ID: 394748

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Device Classes deletion may appear to fail on the Network Level with the following error/exception:

com.powerup.common.exception.CMBusinessException: AdminException.NetworkDeviceClassNotDeleted

Environment

NCM 10.1.X

Cause

On the powerup.log from the AS server, we can see the reasoning for the failure for the deletion of the Device Classes:

2025-04-14 13:31:35,648 ERROR [com.powerup.configmgr.server.services.device.impl.DynamicDataServiceWorker] (http-nio-8881-exec-56) Failed to delete the network device class <Device Class Name> for network <Network-ID>#<Network Name>.  There is device associated with it.
2025-04-14 13:31:35,648 ERROR [com.powerup.configmgr.server.services.device.impl.DynamicDataServiceWorker] (http-nio-8881-exec-56) Error finding the network device class configuration association for network <Network-ID>#<Network Name>
com.powerup.common.exception.CMBusinessException: Failed to delete the network device class <Device Class Name> for network <Network-ID>#<Network Name>.  There is device associated with it.

Resolution

NCM does not allow for the deletion of the Device Classes on the Network Managed Device Classes level, if it encounters there are devices associated with the Device Classes. 

This is as per NCM design. 

 

Additional Information

If the user wishes to update the Device Classes (for the purpose of auto-discovery), then please try the following settings:

Use option (1) - Auto Discovery Managed Device Classes to change/select the Device Classes invoked only for the discovery purposes