<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:25:38 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>[NEUTRON-128] NullPointerException when posting security group rules</title>
                <link>https://jira.opendaylight.org/browse/NEUTRON-128</link>
                <project id="10145" key="NEUTRON">neutron</project>
                    <description>&lt;p&gt;This was seen in Beryllium SR1&lt;/p&gt;

&lt;p&gt;The call that I sent (which is a modified OpenStack call) and the resulting error are in attachment.&lt;/p&gt;

&lt;p&gt;The request that OpenStack sent contained the string &quot;admin&quot; in some of the tenant_id fields. ODL was throwing errors because &quot;admin&quot; wasn&apos;t matching its tenant_id regexp, so I tried to workaround this by manually replacing it with correct tenant_id and sending that, resulting in the NullPointerException.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26690">NEUTRON-128</key>
            <summary>NullPointerException when posting security group rules</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="yamahata">Isaku Yamahata</assignee>
                                    <reporter username="juraj.linkes">Juraj Linke&#353;</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Jun 2016 07:18:55 +0000</created>
                <updated>Mon, 20 Nov 2017 16:54:29 +0000</updated>
                            <resolved>Tue, 12 Jul 2016 06:11:13 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>northbound-api</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="53594" author="juraj.linkes" created="Tue, 7 Jun 2016 07:18:55 +0000"  >&lt;p&gt;Attachment security_group_rules_request_and_error.txt has been added with description: contains the request and error&lt;/p&gt;</comment>
                            <comment id="53592" author="yamahata" created="Sat, 9 Jul 2016 00:21:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/41601/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/41601/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53593" author="yamahata" created="Sat, 9 Jul 2016 00:30:52 +0000"  >&lt;p&gt;You are reporting two issues.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&quot;admin&quot; string as tenant-id&lt;/li&gt;
	&lt;li&gt;null pointer exception and&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;regarding to admin string ad tenant-id.&lt;br/&gt;
With normal openstack environment tenant-id is uuid without hyphen(&quot;-&quot;).&lt;br/&gt;
So arbitrarily string isn&apos;t allowed.&lt;br/&gt;
just you hit this issue with only test purpose? or do you have such requirement?&lt;br/&gt;
If so, in what kind of deployment? it would be exotic deployment of neutron.&lt;/p&gt;


&lt;p&gt;Regarding to null pointer exception.&lt;br/&gt;
The patch was uploaded.&lt;br/&gt;
with the patch, you&apos;ll get bad request http error instead of null pointer exception.&lt;/p&gt;

&lt;p&gt;You should specify the following URL for security group &lt;em&gt;&quot;RULES&quot;&lt;/em&gt;&lt;br/&gt;
&lt;a href=&quot;http://192.168.20.15:8181/controller/nb/v2/neutron/security-rules&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.20.15:8181/controller/nb/v2/neutron/security-rules&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;not security-groups.&lt;br/&gt;
Since with correct URL and request body, you don&apos;t get null pointer exception.&lt;br/&gt;
this bug is not critical. So only the master branch is fixed. The beryllium release won&apos;t be fixed.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13761" name="security_group_rules_request_and_error.txt" size="14335" author="juraj.linkes@pantheon.tech" created="Tue, 7 Jun 2016 07:18:55 +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>6015</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=6015]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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