在 Active IQ Unified Manager 9.9 上,采集失败并出现 NullPointerException
适用场景
- Active IQ Unified Manager (AIQUM) 9.9RC1和9.9
- 已在ONTAP集群中配置FlexGroup卷
问题描述
- 如果集群启用了加密、并且 AIQUM上存在FlexGroup卷 、则对该集群执行采集失败、并显示错误:
Cluster discovery failed. Rediscover the cluster after resolving the issue
- 对日志的进一步调查显示:
/var/log/ocum/ocumserver.log:
2021-07-14 16:18:01,988 INFO [oncommand] [org.springframework.jms.listener.DefaultMessageListenerContainer#0-1] [com.netapp.ipc.jms.OCIE_Events] OCIE JMS notification message received: {WarningCount=0, DatasourceName=<cluster_FQDN>, DatasourceID=1, Error0_ClusterManagementIP=<cluster_FQDN>, PackageName=netappfoundation, TotalReportTime=-1, PollStartTime=1626272272747, ErrorCount=1, Success=false, DurationTime=9207, Error0_Message=General Message, TotalZAPITime=28902, NotificationType=PACKAGE_COMPLETED, Error0_Type=INTERNAL_ERROR, UpdateTime=1626272281980, Error0_Port=443, MessageType=PACKAGE_NOTIFICATION, Error0_Zapi=null}
2021-07-14 16:18:01,992 WARN [oncommand] [reconciliation-0] [c.n.d.c.ClusterStatusListener] Acquisition failed for cluster : <cluster_FQDN> message : General Message
/var/log/ocie/au.log:
2021-07-14 14:59:00,309 ERROR [common-pool-0] c.o.s.a.f.d.BaseDataSource (BaseDataSource.java:336) - [netappfoundation] <cluster_FQDN> - Runtime exception: null java.lang.NullPointerException
at com.onaro.sanscreen.acquisition.datasource.netapp_ocie.transform.ocie.NetAppOCIETransform.setAggrHardwareEcrypt(NetAppOCIETransform.java:1068) ~[au-datasource-netappfoundation.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.datasource.netapp_ocie.transform.ocie.NetAppOCIETransform.transformDiskEncrypts(NetAppOCIETransform.java:1011) ~[au-datasource-netappfoundation.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.datasource.netapp_ocie.transform.ocie.NetAppOCIETransform.transform(NetAppOCIETransform.java:197) ~[au-datasource-netappfoundation.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.datasource.netapp_ocie.NetAppOCIEDataSource.doFoundation(NetAppOCIEDataSource.java:295) ~[au-datasource-netappfoundation.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.netappfoundation.datasource.NetAppFoundationPackage.pollNow(NetAppFoundationPackage.java:199) ~[au-package-netappfoundation.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource.run(BaseDataSource.java:269) ~[au-framework.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.framework.mgmt.DataSourceManager$PollLogic.run(DataSourceManager.java:756) ~[au-framework.jar:9.9.0-2021.05.J1130]
at com.onaro.commons.metrics.executor.ThreadPoolMonitorExecutor.lambda$submit$1(ThreadPoolMonitorExecutor.java:178) ~[commons-commons.jar:9.9.0-2021.05.J1130]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at com.onaro.commons.metrics.executor.ThreadPoolMonitorExecutor.lambda$execute$0(ThreadPoolMonitorExecutor.java:164) ~[commons-commons.jar:9.9.0-2021.05.J1130]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
2021-07-14 14:59:00,327 ERROR [common-pool-0] c.o.s.a.f.d.BaseDataSource (DataSourceErrorException.java:244) - <cluster_FQDN> [Internal error] - Internal Runtime Error (Internal Runtime Error) java.lang.NullPointerException
at com.onaro.sanscreen.acquisition.datasource.netapp_ocie.transform.ocie.NetAppOCIETransform.setAggrHardwareEcrypt(NetAppOCIETransform.java:1068) ~[au-datasource-netappfoundation.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.datasource.netapp_ocie.transform.ocie.NetAppOCIETransform.transformDiskEncrypts(NetAppOCIETransform.java:1011) ~[au-datasource-netappfoundation.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.datasource.netapp_ocie.transform.ocie.NetAppOCIETransform.transform(NetAppOCIETransform.java:197) ~[au-datasource-netappfoundation.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.datasource.netapp_ocie.NetAppOCIEDataSource.doFoundation(NetAppOCIEDataSource.java:295) ~[au-datasource-netappfoundation.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.netappfoundation.datasource.NetAppFoundationPackage.pollNow(NetAppFoundationPackage.java:199) ~[au-package-netappfoundation.jar:9.9.0-2021.05.J1130]
at com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource.run(BaseDataSource.java:269) ~[au-framework.jar:9.9.0-2021.05.J1130]
... 8 more