<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:00 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-1619] Better error logging for blueprint config parsing errors</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1619</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description></description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26173">CONTROLLER-1619</key>
            <summary>Better error logging for blueprint config parsing errors</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="shague">Sam Hague</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Mar 2017 19:58:50 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:27 +0000</updated>
                            <resolved>Wed, 14 Nov 2018 23:18:27 +0000</resolved>
                                                                    <component>blueprint</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="51852" author="shague@redhat.com" created="Wed, 22 Mar 2017 20:02:21 +0000"  >&lt;p&gt;The following error came out when a clustered-app-config config.xml file was parsed. The reason the parse failed was because a tag in the config.xml was not defined in the yang. It would be helpful if the error had listed the tag that failed to be parsed. The failing config.xml is also below and the tag was auto-bridge-create.&lt;/p&gt;

&lt;p&gt;2017-03-22 17:07:35,931 | ERROR | rint Extender: 2 | ServiceRecipe                    | 15 - org.apache.aries.blueprint.core - 1.6.1 | Error retrieving service from ServiceRecipe&lt;span class=&quot;error&quot;&gt;&amp;#91;name=&amp;#39;.component-1&amp;#39;&amp;#93;&lt;/span&gt;&lt;br/&gt;
org.osgi.service.blueprint.container.ComponentDefinitionException: org.opendaylight.netvirt.elanmanager-impl (elanConfig): Could not read/parse app config file etc/opendaylight/datastore/initial/config/netvirt-elanmanager-config.xml&lt;/p&gt;

&lt;p&gt;auto-create-bridge was not defined in the yang:&lt;/p&gt;

&lt;p&gt;&amp;lt;elanmanager-config xmlns=&quot;urn:opendaylight:netvirt:elan:config&quot;&amp;gt;&lt;br/&gt;
  &amp;lt;auto-create-bridge&amp;gt;true&amp;lt;/auto-create-bridge&amp;gt;&lt;br/&gt;
  &amp;lt;int-bridge-gen-mac&amp;gt;true&amp;lt;/int-bridge-gen-mac&amp;gt;&lt;br/&gt;
  &amp;lt;temp-smac-learn-timeout&amp;gt;10&amp;lt;/temp-smac-learn-timeout&amp;gt;&lt;br/&gt;
  &amp;lt;controller-max-backoff&amp;gt;100000&amp;lt;/controller-max-backoff&amp;gt;&lt;br/&gt;
  &amp;lt;controller-inactivity-probe&amp;gt;300000&amp;lt;/controller-inactivity-probe&amp;gt;&lt;br/&gt;
&amp;lt;/elanmanager-config&amp;gt;&lt;/p&gt;</comment>
                            <comment id="51853" author="vrpolak" created="Thu, 23 Mar 2017 14:54:46 +0000"  >&lt;p&gt;&amp;gt; ServiceRecipe&lt;span class=&quot;error&quot;&gt;&amp;#91;name=&amp;#39;.component-1&amp;#39;&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Anyone fixing this, can you look also how your changes affect &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1540&quot; title=&quot;UnableToProxyException java.lang.ClassFormatError Duplicate interface name in class file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1540&quot;&gt;&lt;del&gt;CONTROLLER-1540&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="51854" author="tpantelis" created="Tue, 4 Jul 2017 20:33:51 +0000"  >&lt;p&gt;It should log the underlying exception as well that &lt;b&gt;should&lt;/b&gt; contain the informative error info. Either way the clustered-app-config just propagates the error so the error reporting would have to be addressed in the underlying parsing code.&lt;/p&gt;</comment>
                            <comment id="65612" author="rovarga" created="Wed, 14 Nov 2018 12:27:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tpantelis&quot; class=&quot;user-hover&quot; rel=&quot;tpantelis&quot;&gt;tpantelis&lt;/a&gt; what are the enxt steps on this?&lt;/p&gt;</comment>
                            <comment id="65630" author="tpantelis" created="Wed, 14 Nov 2018 13:06:42 +0000"  >&lt;p&gt;See my prior comment from July. &lt;/p&gt;</comment>
                            <comment id="65631" author="rovarga" created="Wed, 14 Nov 2018 13:12:30 +0000"  >&lt;p&gt;Ah, now I see, sorry about that. &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=shague&quot; class=&quot;user-hover&quot; rel=&quot;shague&quot;&gt;shague&lt;/a&gt; do you by any chance have the full exception somewhere?&lt;/p&gt;</comment>
                            <comment id="65661" author="shague@redhat.com" created="Wed, 14 Nov 2018 21:49:07 +0000"  >&lt;p&gt;no I don&apos;t have the original log, this was on a downstream job that had a bad config.xml file and blew up.&lt;/p&gt;

&lt;p&gt;I did recreate the original scenario by adding a undefined tag and attached that karaf log on a neon build and the problem is fixed. The output is what was requested. since the original bug was filed we moved to blueprint annotations so maybe that had an impact.&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;2018-11-14T16:40:24,395 | ERROR | Blueprint Extender: 1 | AbstractFuture                   | 82 - com.google.guava - 25.1.0.jre | RuntimeException while executing runnable CallbackListener{org.opendaylight.controller.blueprint.ext.DataStoreAppConfigMetadata$1@7888a2f} with executor MoreExecutors.directExecutor()
java.lang.IllegalStateException: Schema for node with name auto-create-bridge2 and namespace urn:opendaylight:netvirt:elan:config does not exist at AbsoluteSchemaPath{path=[(urn:opendaylight:netvirt:elan:config?revision=2015-07-10)elan-config]}
	at com.google.common.base.Preconditions.checkState(Preconditions.java:842) ~[82:com.google.guava:25.1.0.jre]
	at org.opendaylight.yangtools.yang.data.codec.xml.XmlParserStream.read(XmlParserStream.java:364) ~[?:?]
	at org.opendaylight.yangtools.yang.data.codec.xml.XmlParserStream.parse(XmlParserStream.java:186) ~[?:?]
	at org.opendaylight.yangtools.yang.data.codec.xml.XmlParserStream.traverse(XmlParserStream.java:216) ~[?:?]
	at org.opendaylight.controller.blueprint.ext.BindingContext.parseDataElement(BindingContext.java:93) ~[?:?]
	at org.opendaylight.controller.blueprint.ext.DataStoreAppConfigDefaultXMLReader.parsePossibleDefaultA
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15031" name="karaf.log.tar.xz" size="54164" author="shague" created="Wed, 14 Nov 2018 21:49:57 +0000"/>
                    </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>8051</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=8051]]></customfieldvalue>

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

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

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