Skip to main content
NetApp Knowledge Base

SnapCenter upgrade fails if multiple versions of Custom Plugins are added in the NSM database

Views:
162
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

  • SnapCenter Server [SC] 5.0, 6.0
  • SnapCenter Custom Plug-ins
  • MySQL [NSM] [SnapCenter NSM Database]

Issue

  • SnapCenter upgrade from 5.0 to 6.0 or later version, fails if custom plug-ins with multiple versions are added in SnapCenter NSM database.
  • SnapCenter upgrade fails with below error:

2024-11-21 13:37:38.846 Executing SQL script C:\Users\administrator\AppData\Local\Temp\<user>\6.0\6.0.0.0008_Call_CustomPlugin_Procedures.sql
2024-11-21 13:37:38.878 Error: executing SQL script C:\Users\administrator\AppData\Local\Temp\<user>\6.0\6.0.0.0008_Call_CustomPlugin_Procedures.sql
2024-11-21 13:37:38.878 Error: Result consisted of more than one row
SQL script 6.0.0.0008_Call_CustomPlugin_Procedures.sql calls below stored procedures:
CALL `nsm`.`Update_nsm_PluginType`();
CALL `nsm`.`Update_nsm_sc_CustomPluginInfo`();
CALL `nsm`.`Update_nsm_sc_CustomPluginOsInfo`();
CALL `nsm`.`Update_nsm_sc_customresourcetype`();
Failure is happening while calling stored procedure `nsm`.`Update_nsm_sc_CustomPluginInfo`(); because there are multiple entries are there in nsm_sc_customplugininfo table for same CustomPluginName
Below is stored procedure `nsm`.`Update_nsm_sc_CustomPluginInfo`()

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.