so, I really don't know how to reproduce this exactly, as I'm just noticing it 
when debugging
CSIT failures. I did pull down 80 karaf.log files from CSIT jobs and the log 
message
complaining about "Xid cannot be reserved" and only saw it in 4 of those logs. 
If that's
any indication, then it's not very easy to reproduce in CSIT. BUT, it's easy 
enough to
make our CSIT show failures a couple of times a week (guessing...)

If your steps are consistent, then hopefully the root cause can be found and 
it'll fix
it for CSIT too.

JamO

On 05/09/2017 08:16 PM, Josh Hershberg wrote:
> Yup, that's the one. The "Xid cannot be reserved" line appears immediately 
> following the line I referenced in the bug. Are
> you seeing this after a restart or what? What scenario caused you to see it?
> 
> -Josh
> 
> On Tue, May 9, 2017 at 6:39 PM, Jamo Luhrsen <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Josh,
> 
>     any chance you also see an error about "No queue present, Xid cannot be 
> reserved"?
>     I sent a mail to ofp yesterday (no reply yet), but maybe they are related?
> 
>     
> https://lists.opendaylight.org/pipermail/openflowplugin-dev/2017-May/007130.html
>     
> <https://lists.opendaylight.org/pipermail/openflowplugin-dev/2017-May/007130.html>
> 
>     JamO
> 
> 
>     On 05/09/2017 01:21 AM, Josh Hershberg wrote:
>     > Just opened this bug, https://bugs.opendaylight.org/show_bug.cgi?id=8401
>     <https://bugs.opendaylight.org/show_bug.cgi?id=8401>
>     >
>     > Anyone know anything about this?
>     >
>     > For your convenience, here's the description I stuck in the bug:
>     >
>     > Scenario:
>     > 1. Bring up openstack+netvirt
>     > 2. restart karaf
>     > 3. restart ovs
>     > 4. note that flows are not reinstalled
>     >
>     > From debugging it seems that the outbound queue is null, "No queue 
> present, failing request" in the log. The queue is
>     initially allocated but then removed due to the following stack trace (I 
> added this, no exception was actually thrown),
>     note the second to last line, "onNotAbleToStartMastership":
>     >  3903     at
>     
> org.opendaylight.openflowplugin.impl.connection.OutboundQueueProviderImpl.onConnectionQueueChanged(OutboundQueueProviderImpl.java:45)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
>     >  3904     at
>     
> org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractOutboundQueueManager.close(AbstractOutboundQueueManager.java:111)[295:org.opendaylight.openflowjava.openflow-protocol-impl:0.10.0.SNAPSHOT]
>     >  3905     at
>     
> org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl$2.removeRegistration(ConnectionAdapterImpl.java:210)[295:org.opendaylight.openflowjava.openflow-protocol-impl:0.10.0.SNAPSHOT]
>     >  3906     at
>     
> org.opendaylight.yangtools.concepts.AbstractRegistration.close(AbstractRegistration.java:43)[67:org.opendaylight.yangtools.concepts:1.2.0.SNAPSHOT]
>     >  3907     at
>     
> org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl.unregisterOutboundQueue(ConnectionContextImpl.java:201)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
>     >  3908     at
>     
> org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl.closeConnection(ConnectionContextImpl.java:117)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
>     >  3909     at
>     
> org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl.close(ContextChainImpl.java:107)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
>     >  3910     at
>     
> org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl.destroyContextChain(ContextChainHolderImpl.java:157)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
>     >  3911     at
>     
> org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl.onNotAbleToStartMastership(ContextChainHolderImpl.java:203)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
>     >  3912     at
>     
> org.opendaylight.openflowplugin.impl.statistics.StatisticsContextImpl$6.onSuccess(StatisticsContextImpl.java:546)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
>     >
>     >
>     >
>     > _______________________________________________
>     > netvirt-dev mailing list
>     > [email protected] 
> <mailto:[email protected]>
>     > https://lists.opendaylight.org/mailman/listinfo/netvirt-dev 
> <https://lists.opendaylight.org/mailman/listinfo/netvirt-dev>
>     >
> 
> 
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to