<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:05 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-465] configuration rendered invalid</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-465</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Getting configuration using Netconf renders invalid data - for instance, a message like&lt;/p&gt;

&lt;p&gt;&amp;lt;rpc xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; message-id=&quot;1&quot;&amp;gt;&lt;br/&gt;
  &amp;lt;get-config&amp;gt;&lt;br/&gt;
    &amp;lt;source&amp;gt;&lt;br/&gt;
      &amp;lt;running/&amp;gt;&lt;br/&gt;
    &amp;lt;/source&amp;gt;&lt;br/&gt;
  &amp;lt;/get-config&amp;gt;&lt;br/&gt;
&amp;lt;/rpc&amp;gt;&lt;/p&gt;

&lt;p&gt;yields a configuration containing among others&lt;/p&gt;

&lt;p&gt;      &amp;lt;module&amp;gt;&lt;br/&gt;
        &amp;lt;prefix:type xmlns:prefix=&quot;urn:opendaylight:params:xml:ns:yang:controller:logback:config&quot;&amp;gt;prefix:logback&amp;lt;/prefix:type&amp;gt;&lt;br/&gt;
        &amp;lt;prefix:name xmlns:prefix=&quot;urn:opendaylight:params:xml:ns:yang:controller:logback:config&quot;&amp;gt;singleton&amp;lt;/prefix:name&amp;gt;&lt;br/&gt;
        ....&lt;br/&gt;
      &amp;lt;/module&amp;gt;&lt;/p&gt;

&lt;p&gt;Note the namespace of the &quot;type&quot; and &quot;name&quot; elements - I believe it should belong to the config module, not config-logging.&lt;/p&gt;

&lt;p&gt;Likely related is that the file controller.currentconfig.xml created in case of a configuration change is invalid as well, and as a result, starting ODL generates:&lt;/p&gt;

&lt;p&gt;Exception in thread &quot;config-pusher&quot; java.lang.IllegalStateException: Failed to send edit-config for configuration ....&lt;br/&gt;
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.sendRequestGetResponseCheckIsOK(ConfigPusher.java:245)&lt;br/&gt;
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.pushConfig(ConfigPusher.java:196)&lt;br/&gt;
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.pushConfigWithConflictingVersionRetries(ConfigPusher.java:88)&lt;br/&gt;
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.pushConfigs(ConfigPusher.java:69)&lt;br/&gt;
	at org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator$InnerCustomizer$1.run(ConfigPersisterActivator.java:156)&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:744)&lt;br/&gt;
Caused by: NetconfDocumentedException{message=One element type expected in XmlElement&lt;/p&gt;
{name=&apos;service&apos;, namespace=&apos;urn:opendaylight:params:xml:ns:yang:controller:config&apos;}
&lt;p&gt;, errorType=application, errorTag=invalid_value, errorSeverity=error, errorInfo={}}&lt;br/&gt;
	at org.opendaylight.controller.netconf.util.xml.XmlElement.getOnlyChildElement(XmlElement.java:239)&lt;br/&gt;
	at org.opendaylight.controller.netconf.confignetconfconnector.mapping.config.Services.fromXml(Services.java:92)&lt;br/&gt;
        ....&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25019">CONTROLLER-465</key>
            <summary>configuration rendered invalid</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="tolvecky@cisco.com">Tomas Olvecky</assignee>
                                    <reporter username="volf@cngroup.dk">Martin Volf</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 May 2014 16:11:17 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:44 +0000</updated>
                            <resolved>Wed, 21 May 2014 16:24:50 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="48286" author="tolvecky@cisco.com" created="Wed, 14 May 2014 16:06:33 +0000"  >&lt;p&gt;Thanks for report, proposing fix&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/6993/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/6993/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="24844">CONTROLLER-290</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25023">CONTROLLER-469</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25024">CONTROLLER-470</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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>992</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=992]]></customfieldvalue>

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

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