<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:59 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-1225] Clustering : Unable to Add a Car to Car Shard</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1225</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;I&#8217;m trying to run 010_crud_on_leader.txt in the /integration repo on a three node cluster and the first test, &#8220;Get Car Leader And Followers&#8221;, works fine. However the next test (and all tests that perform a Post), &#8220;Add cars and get cars from Leader&#8221;, fails when it attempts to Post new cars to the car shard.&lt;/p&gt;

&lt;p&gt;I configured the cluster by running the cluster deployer with the multi-node-test template which adds the car, people, and car-people shards.  I did modify the multi-node-test template so the following features were installed:&lt;/p&gt;

&lt;p&gt;featuresBoot=config,standard,region,package,kar,ssh,management,odl-clustering-test-app,odl-restconf-noauth,odl-mdsal-clustering,odl-openflowplugin-flow-services,odl-netconf-connector-ssh&lt;/p&gt;

&lt;p&gt;I verified that the car shard is there by using the flowing query:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8181/jolokia/read/org.opendaylight.controller:Category=Shards,name=member-1-shard-car-config,type=DistributedConfigDatastore&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/jolokia/read/org.opendaylight.controller:Category=Shards,name=member-1-shard-car-config,type=DistributedConfigDatastore&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When I ran the test, I got a malformed message error.&lt;/p&gt;

&lt;p&gt;post request with url&lt;br/&gt;
    &lt;a href=&quot;http://172.17.10.93:8181/restconf/config&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://172.17.10.93:8181/restconf/config&lt;/a&gt;&lt;br/&gt;
post request with data&lt;br/&gt;
    {&quot;car:cars&quot;:{ &quot;car-entry&quot;: [ &lt;/p&gt;
{ &quot;id&quot;: &quot;1&quot;, &quot;category&quot;: &quot;category1&quot;, &quot;model&quot;: &quot;model1&quot;, &quot;manufacturer&quot;: &quot;manufacturer1&quot;, &quot;year&quot;: &quot;2001&quot; }
&lt;p&gt; ] }} &lt;br/&gt;
{&lt;br/&gt;
&apos;transfer-encoding&apos;: &apos;chunked&apos;,&lt;br/&gt;
&apos;content-type&apos;: &apos;application/json&apos;,&lt;br/&gt;
&apos;server&apos;: &apos;Jetty(8.1.14.v20131031)&apos;&lt;br/&gt;
}&lt;br/&gt;
the response of the POST to add car= &amp;lt;Response &lt;span class=&quot;error&quot;&gt;&amp;#91;400&amp;#93;&lt;/span&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;INFO    {&lt;br/&gt;
&quot;errors&quot;:&lt;br/&gt;
{&lt;br/&gt;
&quot;error&quot;:&lt;br/&gt;
[&lt;br/&gt;
{&lt;br/&gt;
&quot;error-type&quot;:&quot;protocol&quot;,&lt;br/&gt;
&quot;error-tag&quot;:&quot;malformed-message&quot;,&lt;br/&gt;
&quot;error-message&quot;:&quot;Error parsing input: null&quot;&lt;br/&gt;
}&lt;br/&gt;
]&lt;br/&gt;
}&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;I also tried this post with Postman and got the same result.&lt;br/&gt;
Finally, I tried posts using the JSON data in this document:&lt;br/&gt;
&lt;a href=&quot;https://wiki.opendaylight.org/view/MD-SAL_Clustering_Test_Plan&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/MD-SAL_Clustering_Test_Plan&lt;/a&gt;&lt;br/&gt;
and those didn&apos;t work either.&lt;/p&gt;

&lt;p&gt;This test was run on both distribution-karaf-0.3.0-SNAPSHOT (24-Mar-2015) and distribution-test-0.3.0-SNAPSHOT (11-Mar-2015).&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25779">CONTROLLER-1225</key>
            <summary>Clustering : Unable to Add a Car to Car Shard</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="-1">Unassigned</assignee>
                                    <reporter username="phillip.shea@hp.com">Phillip Shea</reporter>
                        <labels>
                    </labels>
                <created>Tue, 24 Mar 2015 23:26:28 +0000</created>
                <updated>Thu, 19 Oct 2017 21:26:50 +0000</updated>
                            <resolved>Wed, 1 Apr 2015 00:45:15 +0000</resolved>
                                    <version>Post-Helium</version>
                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="50335" author="tony.tkacik@gmail.com" created="Wed, 25 Mar 2015 09:32:45 +0000"  >&lt;p&gt;Seems to be restconf related bug in Restconf and/or test-suite (implementation of restconf is more stricter for vailidity).&lt;/p&gt;</comment>
                            <comment id="50336" author="moraja@cisco.com" created="Wed, 25 Mar 2015 17:00:06 +0000"  >&lt;p&gt;Tony, where can I found out more about what has changed in restconf? I want to determine if this is an issue with restconf or if with the test scripts.&lt;/p&gt;</comment>
                            <comment id="50337" author="phillip.shea@hp.com" created="Wed, 1 Apr 2015 00:44:47 +0000"  >&lt;p&gt;Ran integration/test/csit/suites/clustering/datastore/crud_on_leader.txt and it passes now.&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>2892</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=2892]]></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="10315"><![CDATA[Lithium]]></customfieldvalue>

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

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