cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2425
Views
0
Helpful
8
Replies

Prime 3.1 Nexus 7k collection failure

omer shtivi
Level 1
Level 1

Hello,

We installed prime 3.1 for our customer.

Our nexus 7k has a collection failure.

The creditinals verification pass OK.

The nexus version is:

6.2.12

Does someone has an idea?

Thanks,

Omer Shtivi

8 Replies 8

omer shtivi
Level 1
Level 1

Hi,

We got the same issue for a diffrent customer with nexus 3K

When looking at the log file we see:


ade # tail -f tail /opt/CSCOlumos/logs/inventory.log | grep 10.100.100.100 -f
2016-05-26 14:31:34,455 [ICE Service - Network 0] INFO inventory - Continuing InventoryCollectorEngineXdeImpl.call() deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100
2016-05-26 14:31:34,604 [ICE Service - Network 1] INFO inventory - Time taken in milliseconds to complete pre collection check via hook: deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.10027
2016-05-26 14:31:34,785 [ICE Service - Network 1] INFO inventory - The device package matched for device with deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100com.cisco.xmp.deviceprofile.uiMetadatacom.cisco.ifm.deviceProfile.UI_Metadata_Data_Center_Switchesnexus-3.70.673.70.77
2016-05-26 14:31:34,792 [ICE Service - Network 1] INFO inventory - The device ( deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100) has a support level of: FULL_SUPPORT
2016-05-26 14:31:34,855 [XDE ThreadPool 2] ERROR inventory - Exception executing function [lldp_1_2]lldp_neighbors runId 2337 in time 8 hook time 0 deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100
2016-05-26 14:31:34,855 [ICE Service - Network 0] ERROR inventory - Feature = feature_lldp_neighbors and Procedure = lldp_1_2.lldp_neighbors with the following error and continuing with other features: com.cisco.nm.expression.function.FunctionException: Step [lldp_1_2]lldpStatus.xpa/lldpGetStat/lldpgetStat.par@Rule0/HandlerChain/Handler3 failed java.lang.ArrayIndexOutOfBoundsException:null deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100
2016-05-26 14:31:58,611 [ICE Service - Network 2] INFO inventory - Interim status after execution of devicePackage SUCCESS deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100
2016-05-26 14:31:58,684 [ICE Service - CPU 1] ERROR inventory - 10.100.100.100 Object detected as SAME but DB Object obtained from the database is NULL For instance id: 0 For generated POJO: LAG8023adAggPort[actorAdminKey=1,actorSystemPriority=0,channelGroupId=1,controlMethod=MANUAL,portChannelId=0,duplexMode=AUTO_NEGOTIATE,ethernetLoopback=NONE,isSwitchablePort=false,macAddress=7c:0e:ce:fd:d3:76,ifIndex=369098752,isConnectorPresent=TRUE,isPromiscuous=false,isSpanMonitored=false,locationIndex=0,mtu=9216,deployPending=NONE,adminStatus=UP,isFloatingPep=false,operStatus=UP,type=PROPVIRTUAL,name=port-channel1,owningEntityId=1157161_10.100.100.100,instanceUuid=ac53ddb3-a369-4514-922f-1c479aa8939c,instanceId=0,authEntityId=1157161,authEntityClass=-927529445,_orderedListOEIndex=<Integer>,_creationOrderIndex=<Integer>,_isBeingChanged=<Boolean>,instanceVersion=0]
2016-05-26 14:31:58,841 [ICE Service - CPU 1] INFO inventory - 10.100.100.100 persistObjects called with addMap size = 471, updateSet size = 2, sameSet size = 0
2016-05-26 14:31:59,128 [ICE Service - CPU 1] INFO inventory - 10.100.100.100 There are no External Application Beans
2016-05-26 14:31:59,393 [ICE Service - CPU 1] ERROR inventory - Exception occured while trying to commit inventory transaction: org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing: com.cisco.xmp.model.foundation.connectivity.ProtocolEndpoint; nested exception is org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.cisco.xmp.model.foundation.connectivity.ProtocolEndpoint deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100
2016-05-26 14:31:59,394 [ICE Service - CPU 1] ERROR inventory - Exception occured while inventory collection for device deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100: com.cisco.xmp.inventory.ice.InventoryException: Exception occured while trying to commit inventory transaction: org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing: com.cisco.xmp.model.foundation.connectivity.ProtocolEndpoint; nested exception is org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.cisco.xmp.model.foundation.connectivity.ProtocolEndpoint deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100
2016-05-26 14:31:59,394 [ICE Service - CPU 1] ERROR inventory - Exception Stack: com.cisco.xmp.inventory.ice.InventoryException: Exception occured while trying to commit inventory transaction: org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing: com.cisco.xmp.model.foundation.connectivity.ProtocolEndpoint; nested exception is org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.cisco.xmp.model.foundation.connectivity.ProtocolEndpoint deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100
2016-05-26 14:31:59,394 [ICE Service - CPU 1] ERROR inventory - Finished with exception deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100
2016-05-26 14:31:59,394 [ICE Service - CPU 1] ERROR inventory - Exception Stack: com.cisco.xmp.inventory.ice.InventoryException: Exception occured while trying to commit inventory transaction: org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing: com.cisco.xmp.model.foundation.connectivity.ProtocolEndpoint; nested exception is org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.cisco.xmp.model.foundation.connectivity.ProtocolEndpoint deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100
2016-05-26 14:31:59,397 [ICE Service - CPU 1] INFO inventory - Done with collection. Total call method time: 24944 Feature time: 23704 Hook time: 205 Persistence time: 0 deviceId: 1157161; CredentialId: 1157161; ManagementIP: 10.100.100.100

Anyone know how to solve the issue?

Thanks!

Hi,

I've upgraded my 7k's to 6.2(16) and enlarged the snmp-timeout value.

The problem is gone.

Regards,

Bernd

Chengxi Su
Level 1
Level 1

Hi,

    I have the same problem too. My N7K version is 6.2(14). Howerver other N7Ks with version 6.2(12) can be successfully added in PI 3.1.

Dennis Burke
Level 1
Level 1

I've spent a day testing SNMP configurations and credential settings, and the weirdest part of this issue is I'll get "Completed" randomly.  But if I hit "Sync" on that same 7K, I'll get the same collection failure error.

I'll be opening a TAC case tomorrow.

Hi mr Burke,

Did you get an answer from TAC regarding this? I have the same problem.

Regards

Philip

scruse
Level 1
Level 1

I have the same issue.  I have 3 nexus 7706 configured into 5 VDC's only my "Agg" vdc's get the "collection failure".  All the other VDCs get added just fine.  The only difference I can see with the Agg VDC's, is that they are the only ones with FEX connections.  I have open a case with TAC but they have been no help.

Nexus 7K, Out of 3 vdc.. 2 VDC added successfully.

3rd VDC getting partial collection failure, tried increasing timeout value..no luck

 

PI - 3.2

NEXUS 7k- 7.2

Hello All,

 

please check this bug : CSCve20829

you may be hitting this bug if you have configured LLDP

Review Cisco Networking for a $25 gift card