[OPNFLWPLUG-988] Openflow Service ERROR state in Fluorine Created: 20/Mar/18  Updated: 03/Apr/18  Resolved: 21/Mar/18

Status: Verified
Project: OpenFlowPlugin
Component/s: openflowplugin
Affects Version/s: Fluorine
Fix Version/s: Fluorine

Type: Bug Priority: Highest
Reporter: sathwik boggarapu Assignee: Arunprakash D
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to INFRAUTILS-31 diagstatus including cause of failures Resolved

 Description   

Genius CSIT for fluorine is failing because Openflow service is in ERROR state in diag status CLI output, where as it is passing for Oxygen.

https://jenkins.opendaylight.org/releng/view/genius/job/genius-csit-1node-upstream-all-fluorine/

I tried it locally with fluorine distribution. Here is the output

opendaylight-user@root>

opendaylight-user@root>showSvcStatus

Timestamp: Tue Mar 20 11:53:31 IST 2018

Node IP Address: 127.0.0.1

System ready state: ACTIVE

  OPENFLOW            : ERROR
  IFM                 : OPERATIONAL
  ITM                 : OPERATIONAL
  DATASTORE           : OPERATIONAL

opendaylight-user@root>


 Comments   
Comment by Arunprakash D [ 20/Mar/18 ]

https://git.opendaylight.org/gerrit/#/c/69657/

Comment by Michael Vorburger [ 21/Mar/18 ]

FTR: INFRAUTILS-31 may improve the showSvcStatus (diagstatus) error details in the future.

Comment by Michael Vorburger [ 03/Apr/18 ]

jluhrsen (or Arunprakash or sathwiksai) do you still have, or can you find on the CSIT log linked to above, the exact stack trace of the original NullPointerException which c/69657 fixed? It would be useful for me to see this to help better for INFRAUTILS-31, where I think c/70221 is going about it in the wrong way...

Comment by Arunprakash D [ 03/Apr/18 ]

vorburger reproduced again locally by removing the config parameter from the blueprint xml. And here is the stack tarce..

 

2018-04-03T10:28:02,467 | WARN | SystemReadyService-0 | OpenFlowPluginProviderImpl | 381 - org.opendaylight.openflowplugin.impl - 0.7.0.SNAPSHOT | Some switchConnectionProviders failed to start.
java.lang.NullPointerException: null
at org.opendaylight.openflowjava.protocol.impl.core.SwitchConnectionProviderFactoryImpl$ConnectionConfigurationImpl.getChannelOutboundQueueSize(SwitchConnectionProviderFactoryImpl.java:95) ~[?:?]
at org.opendaylight.openflowjava.protocol.impl.core.SwitchConnectionProviderImpl.createAndConfigureServer(SwitchConnectionProviderImpl.java:133) ~[?:?]
at org.opendaylight.openflowjava.protocol.impl.core.SwitchConnectionProviderImpl.startup(SwitchConnectionProviderImpl.java:109) ~[?:?]
at Proxy06c553fd_a29f_44aa_adf8_ab77f191d9ee.startup(Unknown Source) ~[?:?]
at Proxy54872d9a_2542_4695_b09d_0ff8d578e5d5.startup(Unknown Source) ~[?:?]
at org.opendaylight.openflowplugin.impl.OpenFlowPluginProviderImpl.lambda$startSwitchConnections$0(OpenFlowPluginProviderImpl.java:170) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) [?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) [?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) [?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) [?:?]
at org.opendaylight.openflowplugin.impl.OpenFlowPluginProviderImpl.startSwitchConnections(OpenFlowPluginProviderImpl.java:171) [381:org.opendaylight.openflowplugin.impl:0.7.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.OpenFlowPluginProviderImpl.onSystemBootReady(OpenFlowPluginProviderImpl.java:154) [381:org.opendaylight.openflowplugin.impl:0.7.0.SNAPSHOT]
at org.opendaylight.infrautils.ready.internal.SystemReadyImpl.run(SystemReadyImpl.java:105) [279:org.opendaylight.infrautils.ready-impl:1.4.0.SNAPSHOT]
at java.lang.Thread.run(Thread.java:745) [?:?]
2018-04-03T10:28:02,498 | INFO | Thread-68 | TcpHandler | 390 - org.opendaylight.openflowplugin.openflowjava.openflow-protocol-impl - 0.7.0.SNAPSHOT | Switch listener started and ready to accept incoming tcp/tls connections on port: 6653

 

I hope this help

Generated at Wed Feb 07 20:33:54 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.