NSX Traceflow failing (Error code: 100)
search cancel

NSX Traceflow failing (Error code: 100)

book

Article ID: 345800

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Unable to perform necessary traceroute.
  • You see messages similar to the following:

    Trace flow request failed.
    The request might be cancelled because it took more time than normal. Please retry. Error Message: Error: General error has occurred. (Error code: 100) Error Details: TransportNodeType is Invalid

  • You see messages similar to the following in /var/log/proton/nsxapi.log.

    <timestamp>.668Z ERROR http-nio-<IP>-7440-exec-12 NsxBaseRestController 4659 SYSTEM [nsx@6876 comp="nsx-manager" errorCode="MP100" level="ERROR" subcomp="manager"] TransportNodeType is Invalid
    java.lang.IllegalArgumentException: TransportNodeType is Invalid
            at com.vmware.nsx.management.switching.infrastructure.model.TransportNodeType.getProxy(TransportNodeType.java:265) ~[?:?]
            at com.vmware.nsx.management.policy.operations.monitoring.model.traceflow.observations.TraceflowObservation.getTransportNodeType(TraceflowObservation.java:117) ~[?:?]
            at com.vmware.nsx.management.policy.operations.monitoring.model.traceflow.observations.TraceflowObservation.hashCode(TraceflowObservation.java:294) ~[?:?]
            at com.vmware.nsx.management.policy.operations.monitoring.model.traceflow.observations.TraceflowObservationLogical.hashCode(TraceflowObservationLogical.java:202) ~[?:?]
            at com.vmware.nsx.management.policy.operations.monitoring.model.traceflow.observations.TraceflowObservationReceivedLogical.hashCode(TraceflowObservationReceivedLogical.java

    java.lang.IllegalArgumentException: TransportNodeType is Invalid
            at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:121) ~[?:?]
            at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115) ~[?:?]
    <timestamp>.795Z  INFO http-nio-127.0.0.1-7440-exec-27 NsxBaseRestController 4659 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Error in API /nsxapi/api/v1/infra/tier-1s/T1-###/static-routes caused by exception com.vmware.nsx.management.policy.policyframework.exceptions.InvalidParameter

Environment

VMware NSX-T Data Center
VMware NSX

Cause

Node id change cause the traceflow observation display exception

Resolution

This issue has been resolved in VMware NSX 3.2.4
This issue has been resolved in VMware NSX 4.2.0


Workaround:

Restart nsx-opsagent. /etc/init.d/nsx-opsagent restart  

Additional Information

Impact/Risks:

User unable to check traceflow observation result, get traceflow observation API will return error "General error has occurred".