VM creation fails with failed to allocate the nw 23/83023/9
authorKarthikeyan Krishnan <karthikeyangceb007@gmail.com>
Fri, 12 Jul 2019 06:55:46 +0000 (12:25 +0530)
committerAbhinav Gupta <abhinav.gupta@ericsson.com>
Fri, 20 Dec 2019 07:11:08 +0000 (07:11 +0000)
commitd7865c1116aef68e6b3fe106fe0c82196d7c1626
tree6dc0b4014794caa518aaffc63d01bb29e4cd45eb
parente279bad975f607e42390cffe608ca7e83bd495de
VM creation fails with failed to allocate the nw

Issue:
======
VM creation fails with failed to allocate the
network error

Solution:
=========
Jstack output showed 8 L3 group installation DJC jobs on 8 CPUs waiting
indefinitely
for the group to get written on the switch.
This fix introduces a timed wait on the future so that other operations
can continue after the TimeOut and finally the DJC Thread can be released.

Change-Id: I6ffd61c7815bf5d82831c65064fbb1f749532b96
Signed-off-by: Karthikeyan Krishnan <karthikeyangceb007@gmail.com>
fibmanager/impl/src/main/java/org/opendaylight/netvirt/fibmanager/NexthopManager.java