<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:13:39 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[BGPCEP-629] PCEP topology provider ServerSessionManager not synchronized and causing concurrent problem</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-629</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;A java.util.ConcurrentModificationException is possible to happen due to the close() method of ServerSessionManager is not synchronized.  The situation mostly likely will happen during a controller reboot.  It may also happen when a PCEP config is updated.&lt;/p&gt;

&lt;p&gt;When a controller is restarted, or the PCEP topology/configuration is changed, it is trying to modify the session manager&apos;s node map.  However, if a PCEP session is opened during that time, a concurrent issue may happen.&lt;/p&gt;

&lt;p&gt;Karaf log attached:&lt;/p&gt;

&lt;p&gt;2017-02-01 21:20:33,282 | INFO  | oupCloseable-3-8 | AbstractPCEPSessionNegotiator    | 205 - org.opendaylight.bgpcep.pcep-impl - 0.5.2.Beryllium-SR2 | PCEP session with &lt;span class=&quot;error&quot;&gt;&amp;#91;id: 0xfb89d73b, /10.0.0.125:14432 =&amp;gt; /10.74.1.6:4189&amp;#93;&lt;/span&gt; started, sent proposal Open [_deadTimer=120, _keepalive=30, _sessionId=0, _tlvs=Tlvs [augmentation=[Tlvs1 [_stateful=Stateful [_lspUpdateCapability=true, augmentation=[Stateful1 &lt;span class=&quot;error&quot;&gt;&amp;#91;_initiation=true&amp;#93;&lt;/span&gt;, Stateful1 &lt;span class=&quot;error&quot;&gt;&amp;#91;_deltaLspSyncCapability=true, _includeDbVersion=true, _triggeredInitialSync=true, _triggeredResync=true&amp;#93;&lt;/span&gt;]]]]], augmentation=[]]&lt;br/&gt;
2017-02-01 21:20:33,286 | ERROR | config-pusher    | PCEPTopologyProvider             | 218 - org.opendaylight.bgpcep.pcep-topology-provider - 0.5.2.Beryllium-SR2 | Failed to shutdown session manager&lt;br/&gt;
java.util.ConcurrentModificationException&lt;br/&gt;
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.HashMap$ValueIterator.next(HashMap.java:950)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.bgpcep.pcep.topology.provider.ServerSessionManager.close(ServerSessionManager.java:164)&lt;br/&gt;
        at org.opendaylight.bgpcep.pcep.topology.provider.PCEPTopologyProvider.close(PCEPTopologyProvider.java:96)&lt;br/&gt;
        at org.opendaylight.controller.config.spi.AbstractModule.getInstance(AbstractModule.java:76)&lt;br/&gt;
        at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)&lt;br/&gt;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.reflect.Method.invoke(Method.java:606)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.config.manager.impl.dependencyresolver.DependencyResolverManager$ModuleInvocationHandler.handleInvocation(DependencyResolverManager.java:149)&lt;br/&gt;
        at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)&lt;br/&gt;
        at com.sun.proxy.$Proxy20.getInstance(Unknown Source)&lt;br/&gt;
        at org.opendaylight.controller.config.manager.impl.ConfigTransactionControllerImpl.secondPhaseCommit(ConfigTransactionControllerImpl.java:421)&lt;br/&gt;
        at org.opendaylight.controller.config.manager.impl.ConfigRegistryImpl.secondPhaseCommit(ConfigRegistryImpl.java:287)&lt;br/&gt;
        at org.opendaylight.controller.config.manager.impl.ConfigRegistryImpl.commitConfig(ConfigRegistryImpl.java:227)&lt;br/&gt;
        at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)&lt;br/&gt;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.reflect.Method.invoke(Method.java:606)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)&lt;br/&gt;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.reflect.Method.invoke(Method.java:606)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:193)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:175)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:54)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_76&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23869">BGPCEP-629</key>
            <summary>PCEP topology provider ServerSessionManager not synchronized and causing concurrent problem</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="kevinxw">Kevin Wang</assignee>
                                    <reporter username="kevinxw">Kevin Wang</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 Feb 2017 20:52:11 +0000</created>
                <updated>Sun, 3 Mar 2019 11:50:00 +0000</updated>
                            <resolved>Thu, 2 Mar 2017 06:58:38 +0000</resolved>
                                    <version>Bugzilla Migration</version>
                                    <fixVersion>Bugzilla Migration</fixVersion>
                                    <component>PCEP</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="46099" author="cdgasparini" created="Thu, 2 Mar 2017 06:58:38 +0000"  >&lt;p&gt;Hi Kevin, remember to attach the patch&apos;s to the bug, so they can be tracked.&lt;br/&gt;
And don&apos;t close it until its fixed on all branches.&lt;/p&gt;

&lt;p&gt;Regards, &lt;/p&gt;

&lt;p&gt;Master&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/52328/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/52328/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Boron &lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/52329/4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/52329/4&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Be&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/52330/3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/52330/3&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7768</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=7768]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02dgv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>