When attempting to upgrade the VMware Aria Operations for SNMP management pack (typically to version 3.3.x or later), the installation fails.
The collector.log or analytics.log reveals an error similar to the following:
text
ERROR [DistTaskDistributedTaskDescribe] com.vmware.vcops.controller.data.utils.AdapterDescribeManager.describeAdapters - Describe failed java.lang.RuntimeException: **Describe would remove resources, so we are failing to describe. Problematic resource kind is SNMPAdapter:xxxx.mib. Please mark this kind as deleted to remove with the child resource or repair the adapter and try again!**
Additionally, the pakManager/vcopsPakManager.root.post_apply_adapter.log may show:
text
ERROR [35297] - vcopsPakManager.HandleError:630 - Exiting with exit code: 1, message: The solution file: /storage/db/casa/pak/dist_pak_files/VA_LINUX/SNMPManagementPack-xxxx.pak failed to install
Aria Operation: 8.18.x
This issue occurs due to a safety mechanism in Aria Operations designed to prevent accidental data loss during management pack upgrades or redescribes.
If the new version of the management pack (specifically its describe.xml) no longer defines a ResourceKind that currently exists in the inventory with active resources (in this case, xxxx.mib), the describe process immediately aborts to avoid implicitly deleting those resources.
Simply deleting the physical .mib files from the filesystem is insufficient because the metadata and resource objects still exist in the Aria Operations database.
To resolve this issue, the problematic resources must be manually purged from the inventory before re-attempting the upgrade.
Prerequisites
Procedure
ResourceKind identified in the error log (e.g., xxxx.mib).