<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:31 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>[YANGTOOLS-527] Write to datastore: route does not have enough elements</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-527</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Using transaction chain and newWriteOnlyTransaction to put route into datastore. &lt;/p&gt;

&lt;p&gt;Exception is thrown:&lt;/p&gt;

&lt;p&gt;2015-10-12 12:17:14,317 | WARN  | ult-dispatcher-4 | SimpleShardDataTreeCohort        | 174 - org.opendaylight.controller.sal-distributed-datastore - 1.3.0.SNAPSHOT | Store Tx member-1-chn-5-txn-3: Data validation failed for path /(urn:opendaylight:params:xml:ns:yang:bgp-rib?revision=2013-09-25)bgp-rib/rib/rib[&lt;/p&gt;
{(urn:opendaylight:params:xml:ns:yang:bgp-rib?revision=2013-09-25)id=example-bgp-rib}
&lt;p&gt;]/peer/peer[&lt;/p&gt;
{(urn:opendaylight:params:xml:ns:yang:bgp-rib?revision=2013-09-25)peer-id=bgp://127.0.0.3}
&lt;p&gt;]/adj-rib-out/tables/tables[&lt;/p&gt;
{(urn:opendaylight:params:xml:ns:yang:bgp-rib?revision=2013-09-25)afi=(urn:opendaylight:params:xml:ns:yang:bgp-types?revision=2013-09-19)ipv4-address-family, (urn:opendaylight:params:xml:ns:yang:bgp-rib?revision=2013-09-25)safi=(urn:opendaylight:params:xml:ns:yang:bgp-types?revision=2013-09-19)unicast-subsequent-address-family}
&lt;p&gt;]/routes/(urn:opendaylight:params:xml:ns:yang:bgp-inet?revision=2015-03-05)ipv4-routes/ipv4-route.&lt;br/&gt;
org.opendaylight.yangtools.yang.data.api.schema.tree.DataValidationFailedException: (urn:opendaylight:params:xml:ns:yang:bgp-inet?revision=2015-03-05)ipv4-route does not have enough elements (-1), needs at least 0&lt;br/&gt;
	at org.opendaylight.yangtools.yang.data.impl.schema.tree.MinMaxElementsValidation.checkMinMaxElements(MinMaxElementsValidation.java:80)&lt;span class=&quot;error&quot;&gt;&amp;#91;112:org.opendaylight.yangtools.yang-data-impl:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.data.impl.schema.tree.MinMaxElementsValidation.checkTouchApplicable(MinMaxElementsValidation.java:133)&lt;span class=&quot;error&quot;&gt;&amp;#91;112:org.opendaylight.yangtools.yang-data-impl:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:124)&lt;span class=&quot;error&quot;&gt;&amp;#91;112:org.opendaylight.yangtools.yang-data-impl:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:204)&lt;span class=&quot;error&quot;&gt;&amp;#91;112:org.opendaylight.yangtools.yang-data-impl:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:188)&lt;span class=&quot;error&quot;&gt;&amp;#91;112:org.opendaylight.yangtools.yang-data-impl:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:124)&lt;span class=&quot;error&quot;&gt;&amp;#91;112:org.opendaylight.yangtools.yang-data-impl:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at &lt;br/&gt;
....&lt;br/&gt;
	at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractDataTreeTip.validate(AbstractDataTreeTip.java:38)&lt;span class=&quot;error&quot;&gt;&amp;#91;112:org.opendaylight.yangtools.yang-data-impl:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohort.canCommit(SimpleShardDataTreeCohort.java:48)&lt;span class=&quot;error&quot;&gt;&amp;#91;174:org.opendaylight.controller.sal-distributed-datastore:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator$CohortEntry.canCommit(ShardCommitCoordinator.java:610)&lt;span class=&quot;error&quot;&gt;&amp;#91;174:org.opendaylight.controller.sal-distributed-datastore:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.doCanCommit(ShardCommitCoordinator.java:323)&lt;span class=&quot;error&quot;&gt;&amp;#91;174:org.opendaylight.controller.sal-distributed-datastore:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleCanCommit(ShardCommitCoordinator.java:284)&lt;span class=&quot;error&quot;&gt;&amp;#91;174:org.opendaylight.controller.sal-distributed-datastore:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleReadyLocalTransaction(ShardCommitCoordinator.java:256)&lt;span class=&quot;error&quot;&gt;&amp;#91;174:org.opendaylight.controller.sal-distributed-datastore:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
....&lt;/p&gt;

&lt;p&gt;this happens also with flowspec-route&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22947">YANGTOOLS-527</key>
            <summary>Write to datastore: route does not have enough elements</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="filip.gregor@pantheon.tech">Filip Gregor</assignee>
                                    <reporter username="ihalanov@cisco.com">Iveta Halanova</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Oct 2015 12:35:25 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:39 +0000</updated>
                            <resolved>Tue, 10 Nov 2015 17:05:28 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="43591" author="ihalanov@cisco.com" created="Mon, 12 Oct 2015 12:35:25 +0000"  >&lt;p&gt;Attachment ipv4_routes.log has been added with description: receiving 100+ static routes&lt;/p&gt;</comment>
                            <comment id="43590" author="rovarga" created="Mon, 12 Oct 2015 13:11:51 +0000"  >&lt;p&gt;This looks like a thinko in either numOfChildrenFromChildMods() and numOfChildrenFromValue() methods or their combined interaction. The algorithm definitely needs more comments to explain what is going on.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="23510">BGPCEP-270</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="27833">OPNFLWPLUG-565</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13030" name="ipv4_routes.log" size="801217" author="ihalanov@cisco.com" created="Mon, 12 Oct 2015 12:35:25 +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>4454</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=4454]]></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_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10351"><![CDATA[Beryllium-M5]]></customfieldvalue>

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

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