<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56: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-2009] Get Entity RPC does not support OVSDB entity type</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-2009</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;&lt;tt&gt;get-entities&lt;/tt&gt; RPC call&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;POST /rests/operations/odl-entity-owners:get-entities
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;returns OVSDB entities:&#160;for example,&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;{
    &quot;odl-entity-owners:output&quot;: {
        &quot;entities&quot;: [
            {
                &quot;type&quot;: &quot;ovsdb&quot;,
                &quot;name&quot;: &quot;ovsdb://uuid/268042b6-cfa8-41a6-aaaa-c63765bf36a3&quot;,
                &quot;candidate-nodes&quot;: [
                    &quot;member-1&quot;
                ],
                &quot;owner-node&quot;: &quot;member-1&quot;
            },
            {
                &quot;type&quot;: &quot;ovsdb-southbound-provider&quot;,
                &quot;name&quot;: &quot;ovsdb-southbound-provider&quot;,
                &quot;candidate-nodes&quot;: [
                    &quot;member-1&quot;
                ],
                &quot;owner-node&quot;: &quot;member-1&quot;
            }
        ]
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;However, &lt;tt&gt;get-entity&lt;/tt&gt; RPC for a specific entity returns an empty list.&lt;/p&gt;

&lt;p&gt;For example, the following&#160;&lt;tt&gt;get-entity&lt;/tt&gt; RPC for the entity listed above:&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;POST /rests/operations/odl-entity-owners:get-entity HTTP/1.1

{
    &quot;odl-entity-owners:input&quot; : {
        &quot;type&quot;: &quot;ovsdb&quot;,
        &quot;name&quot;: &quot;ovsdb://uuid/268042b6-cfa8-41a6-aaaa-c63765bf36a3&quot;
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;returns this:&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;{
    &quot;odl-entity-owners:output&quot;: {}
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;OVSDB registers with the entity ownership service using an&#160;&lt;a href=&quot;https://github.com/opendaylight/ovsdb/blob/ab9938e5160a6a66b5ae976704fce6682b60e3c3/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundMapper.java#L513&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;InstanceIdentifier generated from OVSDB topology &amp;amp; URI&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="34817">CONTROLLER-2009</key>
            <summary>Get Entity RPC does not support OVSDB entity type</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <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="tcere">Tomas Cere</assignee>
                                    <reporter username="sangwookha">Sangwook Ha</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Nov 2021 09:02:01 +0000</created>
                <updated>Thu, 4 Nov 2021 19:40:41 +0000</updated>
                            <resolved>Thu, 4 Nov 2021 19:40:41 +0000</resolved>
                                    <version>4.0.0</version>
                    <version>4.0.5</version>
                                    <fixVersion>4.0.6</fixVersion>
                                    <component>eos</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="70023" author="JIRAUSER13318" created="Mon, 1 Nov 2021 09:06:30 +0000"  >&lt;p&gt;Because of this issue, entity ownership status checking is failing for Phosphorus:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://s3-logs.opendaylight.org/logs/releng/vex-yul-odl-jenkins-1/ovsdb-csit-3node-upstream-clustering-only-phosphorus/206/robot-plugin/log.html.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://s3-logs.opendaylight.org/logs/releng/vex-yul-odl-jenkins-1/ovsdb-csit-3node-upstream-clustering-only-phosphorus/206/robot-plugin/log.html.gz&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="70027" author="tcere" created="Tue, 2 Nov 2021 11:44:38 +0000"  >&lt;p&gt;Looks like the entity-owners rpcs cannot handle when an entity is based on an YIID instead of a name and therefore all requests are mapped to the default entity.&lt;br/&gt;
The root cause here is that entity-name is only based on string.&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i040if:</customfieldvalue>

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