<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:24 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>[CONTROLLER-1764] Karaf 4: odl-mdsal-trace cannot &quot;just&quot; be installed e.g. before odl-netvirt-openstack anymore, as it used to</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1764</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The org.opendaylight.controller.md.sal.trace.dom.impl.TracingBroker JavaDoc says that one can add the mdsal-trace-features to the POM of a project&apos;s Karaf distribution (e.g. as done in &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62403/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62403/&lt;/a&gt; for netvirt) and that one should be able to then just do, first:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;opendaylight-user@root&amp;gt;feature:install odl-mdsal-trace

followed by (after!) then any other regular feature, such as:

opendaylight-user@root&amp;gt;feature:install odl-netvirt-openstack&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and that this would enable the TracingDOMDataBroker.  However, on a current master this does not work anymore, presumably following an impact of the Karaf 4 migration which causes wrong feature/bundle reloads which did not happen before, and the e.g. odl-netvirt-openstack installation fails with:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Exception in thread &quot;config-blank-txn-0&quot; java.lang.IllegalStateException: Error while copying old configuration from ModuleInternalInfo [name=ModuleIdentifier{factoryName=&apos;distributed-operational-datastore-provider&apos;, instanceName=&apos;distributed-operational-store-module&apos;}] to org.opendaylight.controller.config.yang.config.distributed_datastore_provider.DistributedOperationalDataStoreProviderModuleFactory@9897f5a

Caused by: java.lang.ClassCastException: org.opendaylight.controller.config.yang.config.distributed_datastore_provider.OperationalProperties cannot be cast to org.opendaylight.controller.config.yang.config.distributed_datastore_provider.OperationalProperties&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Resolving this is a pre-req. for &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1760&quot; title=&quot;Tooling to find the real root cause culprit of memory leaks related to non-closed transactions (and tx chains)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1760&quot;&gt;&lt;del&gt;CONTROLLER-1760&lt;/del&gt;&lt;/a&gt; (which is req. for &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1756&quot; title=&quot;OOM due to huge Map in ShardDataTree&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1756&quot;&gt;&lt;del&gt;CONTROLLER-1756&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26318">CONTROLLER-1764</key>
            <summary>Karaf 4: odl-mdsal-trace cannot &quot;just&quot; be installed e.g. before odl-netvirt-openstack anymore, as it used to</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="skitt">Stephen Kitt</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Aug 2017 13:04:11 +0000</created>
                <updated>Tue, 27 Feb 2018 09:06:09 +0000</updated>
                            <resolved>Tue, 27 Feb 2018 09:06:09 +0000</resolved>
                                    <version>Nitrogen</version>
                    <version>Oxygen</version>
                                    <fixVersion>Oxygen</fixVersion>
                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="52687" author="vorburger" created="Tue, 29 Aug 2017 15:00:47 +0000"  >&lt;p&gt;FTR: &lt;a href=&quot;https://lists.opendaylight.org/pipermail/controller-dev/2017-August/013861.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/controller-dev/2017-August/013861.html&lt;/a&gt; is a thread with Tom on controller-dev that clarifies that we cannot solve the problem shown above simply by removing the (unused..) CSS from controller, just yet.  (So I&apos;ll look more into how else this could be done.)&lt;/p&gt;</comment>
                            <comment id="52688" author="vorburger" created="Tue, 29 Aug 2017 15:49:37 +0000"  >&lt;p&gt;Right... the trick (which I momentarily forgot) to figure out this kind of problem is to use &lt;del&gt;v on feature:install (along with -t to only simulate), using which we can see that we are &quot;Refreshing bundles:&quot; which -after a while of it seeming &quot;stuck&quot;&lt;/del&gt; ultimately causes the error above - before it even does &quot;Starting bundles:&quot;.&lt;/p&gt;

&lt;p&gt;AFAIK this is a problem that was fought with during the Karaf 4 migration ... how did we eventually overcome it there? What was the trick to avoid the refresh - how?  &lt;/p&gt;

&lt;p&gt;Or is there no &quot;trick&quot;, you have to figure out and fix the cause of the refresh?  If I understand what it&apos;s trying to tell us below correctly, and trace back, the root cause is this one?  Is that because we have both a javax.servlet-api/3.0.1 as well as a 3.1.0 (beware; confusing 3.0.1 VS 3.1.0) ? What I don&apos;t understand is that this is during feature:install odl-netvirt-openstack, but the initial feature:install odl-mdsal-trace adds no servlet-api, so why does this problem only happen if you install odl-netvirt-openstack after odl-mdsal-trace and not if you only install odl-netvirt-openstack?!&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;org.jboss.netty/3.10.6.Final (Should be wired to: javax.servlet-api/3.1.0 (through [org.jboss.netty/3.10.6.Final] osgi.wiring.package; filter:=&quot;(osgi.wiring.package=javax.servlet)&quot;; resolution:=optional)) ?

Refreshing bundles:
    com.typesafe.akka.actor/2.4.18 (Wired to org.opendaylight.controller.sal-distributed-datastore/1.7.0.SNAPSHOT which is being refreshed)
    com.typesafe.akka.cluster/2.4.18 (Wired to com.typesafe.akka.actor/2.4.18 which is being refreshed)
    com.typesafe.akka.osgi/2.4.18 (Wired to com.typesafe.akka.actor/2.4.18 which is being refreshed)
    com.typesafe.akka.persistence/2.4.18 (Wired to com.typesafe.akka.actor/2.4.18 which is being refreshed)
    com.typesafe.akka.remote/2.4.18 (Wired to org.jboss.netty/3.10.6.Final which is being refreshed)
    com.typesafe.akka.slf4j/2.4.18 (Wired to com.typesafe.akka.actor/2.4.18 which is being refreshed)
    com.typesafe.akka.stream/2.4.18 (Wired to com.typesafe.akka.actor/2.4.18 which is being refreshed)
    config-persister-feature-adapter/0.8.0.SNAPSHOT (Wired to org.opendaylight.controller.config-persister-impl/0.8.0.SNAPSHOT which is being refreshed)
    org.apache.karaf.config.core/4.0.9 (Should be wired to: org.apache.felix.metatype/1.1.2 (through [org.apache.karaf.config.core/4.0.9] osgi.wiring.package; filter:=&quot;(&amp;amp;(osgi.wiring.package=org.osgi.service.metatype)(version&amp;gt;=1.2.0)(!(version&amp;gt;=2.0.0)))&quot;; resolution:=optional))
    org.apache.servicemix.bundles.jasypt/1.9.2.1 (Should be wired to: javax.servlet-api/3.1.0 (through [org.apache.servicemix.bundles.jasypt/1.9.2.1] osgi.wiring.package; filter:=&quot;(osgi.wiring.package=javax.servlet)&quot;; resolution:=optional))
    org.eclipse.persistence.core/2.6.2.v20151217-774c696 (Should be wired to: org.eclipse.persistence.antlr/3.2.0.v201302191141 (through [org.eclipse.persistence.core/2.6.2.v20151217-774c696] osgi.wiring.package; filter:=&quot;(osgi.wiring.package=org.eclipse.persistence.internal.libraries.antlr.runtime)&quot;; resolution:=optional), javax.mail/1.4.4 (through [org.eclipse.persistence.core/2.6.2.v20151217-774c696] osgi.wiring.package; filter:=&quot;(osgi.wiring.package=javax.mail)&quot;; resolution:=optional))
    org.eclipse.persistence.moxy/2.6.2.v20151217-774c696 (Wired to org.eclipse.persistence.core/2.6.2.v20151217-774c696 which is being refreshed)
    org.jboss.netty/3.10.6.Final (Should be wired to: javax.servlet-api/3.1.0 (through [org.jboss.netty/3.10.6.Final] osgi.wiring.package; filter:=&quot;(osgi.wiring.package=javax.servlet)&quot;; resolution:=optional))
    org.opendaylight.controller.cds-access-api/1.3.0.SNAPSHOT (Wired to com.typesafe.akka.actor/2.4.18 which is being refreshed)
    org.opendaylight.controller.cds-access-client/1.3.0.SNAPSHOT (Wired to com.typesafe.akka.actor/2.4.18 which is being refreshed)
    org.opendaylight.controller.config-persister-directory-xml-adapter/0.8.0.SNAPSHOT (Wired to org.opendaylight.controller.config-persister-impl/0.8.0.SNAPSHOT which is being refreshed)
    org.opendaylight.controller.config-persister-file-xml-adapter/0.8.0.SNAPSHOT (Wired to org.opendaylight.controller.config-persister-impl/0.8.0.SNAPSHOT which is being refreshed)
    org.opendaylight.controller.config-persister-impl/0.8.0.SNAPSHOT (Wired to org.eclipse.persistence.moxy/2.6.2.v20151217-774c696 which is being refreshed)
    org.opendaylight.controller.sal-akka-raft/1.7.0.SNAPSHOT (Wired to com.typesafe.akka.actor/2.4.18 which is being refreshed)
    org.opendaylight.controller.sal-cluster-admin-impl/1.7.0.SNAPSHOT (Wired to com.typesafe.akka.actor/2.4.18 which is being refreshed)
    org.opendaylight.controller.sal-clustering-commons/1.7.0.SNAPSHOT (Wired to com.typesafe.akka.remote/2.4.18 which is being refreshed)
    org.opendaylight.controller.sal-distributed-datastore/1.7.0.SNAPSHOT (Wired to org.opendaylight.controller.sal-clustering-commons/1.7.0.SNAPSHOT which is being refreshed)
    org.opendaylight.controller.sal-remoterpc-connector/1.7.0.SNAPSHOT (Wired to org.opendaylight.controller.sal-clustering-commons/1.7.0.SNAPSHOT which is being refreshed)
    org.ops4j.pax.jdbc.config/1.0.1 (Wired to org.apache.servicemix.bundles.jasypt/1.9.2.1 which is being refreshed)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="52689" author="vorburger" created="Tue, 29 Aug 2017 17:40:46 +0000"  >&lt;p&gt;&amp;gt; because we have both a javax.servlet-api/3.0.1 as well as a 3.1.0&lt;/p&gt;

&lt;p&gt;not sure that&apos;s got anything to do with it; as said above in &quot;why does this problem only happen if you install odl-netvirt-openstack after odl-mdsal-trace and not if you only install odl-netvirt-openstack&quot; .. the odl-mdsal-trace feature actually does NOT install anything bringing along javax.servlet, so the analysis above may be completely wrong.&lt;/p&gt;</comment>
                            <comment id="52690" author="vorburger" created="Tue, 29 Aug 2017 19:28:20 +0000"  >&lt;p&gt;Reducing issue Importance from major to minor, because (although it would be good to sort this out later, if only to learn more about Karaf features), there is actually an easy enough work-around, which is good enough for me for now for local testing, and unblocks me from proceeding with &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1760&quot; title=&quot;Tooling to find the real root cause culprit of memory leaks related to non-closed transactions (and tx chains)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1760&quot;&gt;&lt;del&gt;CONTROLLER-1760&lt;/del&gt;&lt;/a&gt; related work:&lt;/p&gt;

&lt;p&gt;feature:install &lt;span class=&quot;error&quot;&gt;&amp;#91;-v&amp;#93;&lt;/span&gt; odl-mdsal-trace&lt;/p&gt;

&lt;p&gt;feature:install &lt;span class=&quot;error&quot;&gt;&amp;#91;-v&amp;#93;&lt;/span&gt; --no-auto-refresh odl-netvirt-openstack&lt;/p&gt;

&lt;p&gt;So the --no-auto-refresh (AKA -r) flag prevents the above problem.&lt;/p&gt;</comment>
                            <comment id="52691" author="vorburger" created="Fri, 1 Sep 2017 13:50:58 +0000"  >&lt;p&gt;&amp;gt; Reducing issue Importance from major to minor, because &lt;br/&gt;
&amp;gt; there is actually an easy enough work-around&lt;/p&gt;

&lt;p&gt;which is N/A when using featuresBoot, so if it could somehow sort this out after all, then (I&apos;m told) it would make Jamo&apos;s and Sam&apos;s life for the CSIT integration idea in &lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-878&quot; title=&quot;CSIT should help to detect possible memory leaks leading to OOM related to non-closed transactions (and tx chains) early&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETVIRT-878&quot;&gt;NETVIRT-878&lt;/a&gt; quite a bit easier..&lt;/p&gt;</comment>
                            <comment id="52692" author="vrpolak" created="Mon, 18 Sep 2017 13:25:48 +0000"  >&lt;p&gt;Adding this under umbrella &lt;a href=&quot;https://jira.opendaylight.org/browse/ODLPARENT-110&quot; title=&quot;[Karaf 4] Avoid bundle refreshes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;ODLPARENT-110&quot;&gt;&lt;del&gt;ODLPARENT-110&lt;/del&gt;&lt;/a&gt;. See comments there on how to possibly fix this on Odlparent side.&lt;/p&gt;</comment>
                            <comment id="60206" author="skitt@redhat.com" created="Mon, 27 Nov 2017 16:29:13 +0000"  >&lt;p&gt;Building odlparent with &lt;a href=&quot;https://git.opendaylight.org/gerrit/65932&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/65932&lt;/a&gt; followed by controller with &lt;a href=&quot;https://git.opendaylight.org/gerrit/65933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/65933&lt;/a&gt; allows odl-mdsal-trace to be loaded, followed by odl-netvirt-openstack, without any breaking refreshes. (It still refreshes org.apache.karaf.config.core/4.0.10 which is unfortunate but doesn&#8217;t seem to cause issues.)&lt;/p&gt;</comment>
                            <comment id="60851" author="vorburger" created="Mon, 29 Jan 2018 18:51:49 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/65933/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/65933/&lt;/a&gt;&#160;just merged.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jhershbe&quot; class=&quot;user-hover&quot; rel=&quot;jhershbe&quot;&gt;jhershbe&lt;/a&gt; do you want to re-test day after tomorrow or (using mvn -U) if this works for you now and we can close this as Fixed?&lt;/p&gt;</comment>
                            <comment id="61218" author="vorburger" created="Mon, 26 Feb 2018 17:24:38 +0000"  >&lt;p&gt;Seeing &lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-878&quot; title=&quot;CSIT should help to detect possible memory leaks leading to OOM related to non-closed transactions (and tx chains) early&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETVIRT-878&quot;&gt;NETVIRT-878&lt;/a&gt; moving, it seems to me that this was fixed at least in Oxygen if not in Nitrogen - yes?&lt;/p&gt;</comment>
                            <comment id="61229" author="jluhrsen" created="Mon, 26 Feb 2018 22:47:05 +0000"  >&lt;p&gt;I tried this in a recent Oxygen distro and it seems like it might be ok. There was some super ugly stuff&lt;/p&gt;

&lt;p&gt;coming from netconf and bierman02 though. Not sure the state of things after installing like this though.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="20799">NETVIRT-878</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26314">CONTROLLER-1760</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22233">ODLPARENT-110</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="28903">ODLPARENT-132</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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>9068</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=9068]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10313"><![CDATA[Highest]]></customfieldvalue>

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

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