<!-- 
RSS generated by JIRA (9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1) at Sat Feb 10 06:07:32 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>Akraino JIRA</title>
    <link>https://jira.akraino.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.5</version>
        <build-number>940005</build-number>
        <build-date>11-04-2023</build-date>
    </build-info>


<item>
            <title>[YB-1] The update_bios_settings.py has a incorrect path for the serverrc_raid.j2 file</title>
                <link>https://jira.akraino.org/browse/YB-1</link>
                <project id="10102" key="YB">YAML Builds</project>
                    <description>&lt;p&gt;During the Unicycle deployment, the Genesis node completed the installation and started with the next Master node.&lt;/p&gt;

&lt;p&gt;When executing the&#160;update_bios_settings.py script, it failed with the following error:&lt;/p&gt;

&lt;p&gt;server-config/aknode23rc.raid&lt;br/&gt;
tools/j2/serverrc_raid.j2 -&amp;gt; server-config/aknode23rc.raid&lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
 File &quot;/opt/akraino/yaml_builds/scripts/update_bios_settings.py&quot;, line 81, in &amp;lt;module&amp;gt;&lt;br/&gt;
 create_node_rcfile(siteyaml&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;masters&amp;quot;&amp;#93;&lt;/span&gt;, defaults, &quot;tools/j2/serverrc_raid.j2&quot;, &quot;rc.raid&quot;)&lt;br/&gt;
 File &quot;/opt/akraino/yaml_builds/scripts/update_bios_settings.py&quot;, line 50, in create_node_rcfile&lt;br/&gt;
 command = &apos;/opt/akraino/redfish/apply_dellxml.sh --rc {0} --template {1} --no-confirm&apos;.format(rcfile, newnode&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;bios_template&amp;quot;&amp;#93;&lt;/span&gt;)&lt;br/&gt;
KeyError: &apos;bios_template&apos;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;After looking at the script we noticed that the path for the&#160;serverrc_raid.j2 file in the&#160;update_bios_settings.py script is incorrect.&#160; The script shows the following path:&#160;&lt;/p&gt;

&lt;p&gt;if &apos;masters&apos; in siteyaml:&lt;br/&gt;
 create_node_rcfile(siteyaml&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;masters&amp;quot;&amp;#93;&lt;/span&gt;, defaults, &quot;tools/j2/serverrc_raid.j2&quot;, &quot;rc.raid&quot;)&lt;/p&gt;

&lt;p&gt;But the tools directory isn&apos;t in the parent directory of scripts.&#160; The&#160;serverrc_raid.j2 directory path is as follows:&lt;/p&gt;

&lt;p&gt;root@aknode29:/opt/akraino/yaml_builds/tools/j2# ls&lt;br/&gt;
serverrc.j2 serverrc_raid.j2 set_site_env.sh&lt;/p&gt;

&lt;p&gt;The&#160;update_bios_settings.py script needs to be correct to reflect the correct directory path for the&#160;serverrc_raid.j2 file.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="10247">YB-1</key>
            <summary>The update_bios_settings.py has a incorrect path for the serverrc_raid.j2 file</summary>
                <type id="10004" iconUrl="https://jira.akraino.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.akraino.org/images/icons/priorities/high.svg">High</priority>
                        <status id="10001" iconUrl="https://jira.akraino.org/" description="">Done</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="davidplunkett">David Plunkett</assignee>
                                    <reporter username="rboswell">Roddric Boswell</reporter>
                        <labels>
                    </labels>
                <created>Fri, 26 Apr 2019 20:57:24 +0000</created>
                <updated>Tue, 14 May 2019 17:53:52 +0000</updated>
                            <resolved>Tue, 14 May 2019 17:53:52 +0000</resolved>
                                                                        <due>Fri, 3 May 2019 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="10126" author="davidplunkett" created="Mon, 29 Apr 2019 16:59:17 +0000"  >&lt;p&gt;The error is occurring because no bios_template has been specified in the Unicycle.yaml for the master nodes.&#160; The stack trace shows that the error is occurring during the create_node_rcfile step for the siteyaml&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;masters&amp;quot;&amp;#93;&lt;/span&gt; nodes.&#160; There are two ways to specify the template for the master nodes.&#160;&lt;/p&gt;

&lt;p&gt;1) The bios_template key can be put in the hardware section of the input yaml.&#160; That will be the default value used unless a node (genesis, master or worker) has a value that &quot;overrides&quot; the default.&#160; This is the recommended option.&lt;/p&gt;

&lt;p&gt;hardware:&lt;br/&gt;
&#160;&#160; vendor: DELL&lt;br/&gt;
&#160;&#160; generation: &apos;10&apos;&lt;br/&gt;
&#160;&#160; hw_version: &apos;3&apos;&lt;br/&gt;
&#160;&#160; bios_version: &apos;2.8&apos;&lt;br/&gt;
&#160;&#160; bios_template: dell_r740_g14_uefi_base.xml.template&lt;br/&gt;
&#160;&#160; boot_template: dell_r740_g14_uefi_httpboot.xml.template&lt;/p&gt;

&lt;p&gt;2) The bios_template key can be specified for each master node.&lt;/p&gt;

&lt;p&gt;masters:&lt;br/&gt;
&#160;&#160; - name : aknode23&lt;br/&gt;
&#160;&#160;&#160;&#160; oob: 10.51.35.143&lt;br/&gt;
&#160;&#160;&#160;&#160; host: 10.51.34.233&lt;br/&gt;
&#160;&#160;&#160;&#160; storage: 10.224.160.7&lt;br/&gt;
&#160;&#160;&#160;&#160; pxe: 10.51.34.200&lt;br/&gt;
&#160;&#160;&#160;&#160; ksn: 10.224.160.134&lt;br/&gt;
&#160;&#160;&#160;&#160; neutron: 10.224.161.7&lt;br/&gt;
&#160;&#160; &#160; bios_template: dell_r740_g14_uefi_base.xml.template&lt;/p&gt;

&lt;p&gt;&#160;&#160; - name : aknode31&lt;br/&gt;
&#160;&#160;&#160;&#160; oob: 10.51.35.147&lt;br/&gt;
&#160;&#160;&#160;&#160; host: 10.51.34.229&lt;br/&gt;
&#160;&#160;&#160;&#160; storage: 10.224.160.8&lt;br/&gt;
&#160;&#160;&#160;&#160; pxe: 10.51.34.201&lt;br/&gt;
&#160;&#160;&#160;&#160; ksn: 10.224.160.136&lt;br/&gt;
&#160;&#160;&#160;&#160; neutron: 10.224.161.8&lt;br/&gt;
&#160;&#160; &#160; bios_template: dell_r740_g14_uefi_base.xml.template&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10012" name="MTN2_201904261928+0000_2genesis" size="129837" author="rboswell" created="Fri, 26 Apr 2019 20:55:22 +0000"/>
                            <attachment id="10010" name="Unicycle.yaml" size="8467" author="rboswell" created="Fri, 26 Apr 2019 20:55:21 +0000"/>
                            <attachment id="10008" name="install_server_os_2019-04-26T19-28-55+0000" size="126912" author="rboswell" created="Fri, 26 Apr 2019 20:55:21 +0000"/>
                            <attachment id="10011" name="scriptexecutor.log" size="5952940" author="rboswell" created="Fri, 26 Apr 2019 20:55:33 +0000"/>
                            <attachment id="10009" name="update_bios_settings.py" size="3940" author="rboswell" created="Fri, 26 Apr 2019 20:55:21 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10105" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i000fr:</customfieldvalue>

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