<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:24 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-590] run.sh error</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-590</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;if run.sh is not exec in opendaylight, the error msg will be shown:&lt;br/&gt;
$ run.sh -Xmx2G -start&lt;br/&gt;
find: `configuration/initial&apos;: No such file or directory&lt;/p&gt;

&lt;p&gt;Can opendaylight start properly with such error?&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Windows&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25144">CONTROLLER-590</key>
            <summary>run.sh error</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="cochan@cisco.com">Connie Chan</reporter>
                        <labels>
                    </labels>
                <created>Mon, 30 Jun 2014 20:37:06 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:57 +0000</updated>
                            <resolved>Tue, 5 May 2015 15:17:09 +0000</resolved>
                                                                    <component>adsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="48602" author="cochan@cisco.com" created="Mon, 30 Jun 2014 20:38:19 +0000"  >&lt;p&gt;$ cat version.properties &lt;br/&gt;
org.opendaylight.controller.version = 0.1&lt;br/&gt;
org.opendaylight.controller.build.scm.version = 60b06b4e58f33d4fbd44da3d8cc982a7d26880d0&lt;br/&gt;
org.opendaylight.controller.build.user = root&lt;br/&gt;
org.opendaylight.controller.build.workspace = **********&lt;br/&gt;
org.opendaylight.controller.build.timestamp = 1404131807720&lt;br/&gt;
org.opendaylight.controller.build.machine = **********&lt;/p&gt;</comment>
                            <comment id="48603" author="vrpolak" created="Tue, 1 Jul 2014 10:20:31 +0000"  >&lt;p&gt;Information in this link may be relevant:&lt;br/&gt;
&lt;a href=&quot;http://superuser.com/questions/393812/supresss-the-no-such-file-or-directory-message-from-find&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://superuser.com/questions/393812/supresss-the-no-such-file-or-directory-message-from-find&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48604" author="vrpolak" created="Tue, 1 Jul 2014 10:39:26 +0000"  >&lt;p&gt;&amp;gt; Can opendaylight start properly with such error?&lt;/p&gt;

&lt;p&gt;Yes.&lt;/p&gt;

&lt;p&gt;This is the guilty line in run.sh (with comment):&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;clean available optional configurations (links)&lt;br/&gt;
  find configuration/initial -type l -exec rm {} \;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;The problem is that while run.sh detects the directory where it is located&lt;br/&gt;
  RUNSH_DIR=$(dirname $0)&lt;br/&gt;
it does not cd there, so the &quot;find&quot; command may start from unrelated directory, with no configuration/initial sub-branch; hence the error is printed.&lt;/p&gt;

&lt;p&gt;But usually there are no optional configurations present, no links for the find command to remove, so ODL will start properly.&lt;/p&gt;

&lt;p&gt;The fix is easy: prepend ${RUNSH_DIR}/ before appropriate relative paths (there are more of them, not just the first find).&lt;/p&gt;

&lt;p&gt;Now, let me see if I can submit a patch.&lt;/p&gt;</comment>
                            <comment id="48605" author="vrpolak" created="Tue, 1 Jul 2014 11:03:19 +0000"  >&lt;p&gt;I have received a warning &quot;commit subject &amp;gt;65 characters&quot; but here is this:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/8485/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/8485/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48606" author="vrpolak" created="Wed, 2 Jul 2014 10:12:42 +0000"  >&lt;p&gt;Commit was merged.&lt;br/&gt;
My understanding of interactions between Jenkins jobs is not deep enough to deduce which build contains the full ODL with this fix, but you can simply replace run.sh with the new version, for example from here: &lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=integration.git;a=blob;f=distributions/base/src/assemble/resources/run.sh;h=ece3a515193b591427696bfafad428bfeeb555dc;hb=bea9f341e6503a72083db5c9c973001f587498a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/gitweb?p=integration.git;a=blob;f=distributions/base/src/assemble/resources/run.sh;h=ece3a515193b591427696bfafad428bfeeb555dc;hb=bea9f341e6503a72083db5c9c973001f587498a7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48607" author="carolsand@gmail.com" created="Tue, 5 May 2015 15:17:09 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.&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>1268</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=1268]]></customfieldvalue>

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

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