Unified Manager fails to discover a cluster with IOM12 disk shelf
Applies to
- OnCommand Unified Manager (UM) 9.x
- Active IQ Unified Manager (AIQUM) 9.x
- Cluster having a disk shelf with IOM12 module in inter-shelf connection (e.g. A diskshelf topology like Node -> IOM6 -> IOM12)
- All shelf cables have unique serial numbers and the following issue cannot be applied
Issue
- Unified Manager fails to discover a cluster having an IOM12 disk shelf.
ocumserver.log
shows errors like the following example.
Example:
2020-11-17 14:00:56,059 ERROR [oncommand] [reconcile-2] [XX.XXX.XX.XXX(baseline@14:00:50.716)] [c.n.dfm.collector.OcieJmsListener] Inventory change listener error
org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 3; nested exception is org.hibernate.NonUniqueResultException: query did not return a unique result: 3
at deployment.dfm-app.war//org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:262)
at deployment.dfm-app.war//org.springframework.orm.hibernate5.HibernateExceptionTranslator.convertHibernateAccessException(HibernateExceptionTranslator.java:102)
at deployment.dfm-app.war//org.springframework.orm.hibernate5.HibernateExceptionTranslator.translateExceptionIfPossible(HibernateExceptionTranslator.java:73)
at deployment.dfm-app.war//org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61)
at deployment.dfm-app.war//org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242)
at deployment.dfm-app.war//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:153)
at deployment.dfm-app.war//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at deployment.dfm-app.war//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)
at deployment.dfm-app.war//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at deployment.dfm-app.war//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at deployment.dfm-app.war//com.netapp.dfm.entity.inventory.ontap.fas.StorageShelfCableEntityManager$$EnhancerBySpringCGLIB$$8f97c1bc.findPeerStorageShelfCable(<generated>)
at deployment.dfm-app.war//com.netapp.dfm.entity.platform.storageshelftopology.StorageShelfCableTopologyAnalyzer.createStorageCablesDiskShelfPath(StorageShelfCableTopologyAnalyzer.java:186)
at deployment.dfm-app.war//com.netapp.dfm.entity.platform.storageshelftopology.StorageShelfCableTopologyAnalyzer.createStorageCableConnectionPath(StorageShelfCableTopologyAnalyzer.java:140)
:
2020-11-17 14:00:56,061 ERROR [oncommand] [reconcile-2] [[XX.XXX.XX.XXX(baseline@14:00:50.716)] [c.n.dfm.collector.OcieJmsListener] Inventory change listener error
org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
at deployment.dfm-app.war//org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1037)
at deployment.dfm-app.war//org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746)
at deployment.dfm-app.war//org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714)
at deployment.dfm-app.war//org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:152)
at deployment.dfm-app.war//com.netapp.dfm.persist.util.TransactionCallbacks$RetryableTask.executeTransaction(TransactionCallbacks.java:148)
at deployment.dfm-app.war//com.netapp.dfm.persist.util.TransactionCallbacks$RetryableTask.run(TransactionCallbacks.java:136)