<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:38:48 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>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-10858] lustre-initialization-1 lustre-initialization fails for SLES12 SP2 and SP3</title>
                <link>https://jira.whamcloud.com/browse/LU-10858</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for James Nunez &amp;lt;james.a.nunez@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/199f17d0-3149-11e8-b74b-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/199f17d0-3149-11e8-b74b-52540065bddc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;lustre-initialization failed with the following error:&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;&apos;lustre-initialization failed&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&amp;lt;&amp;lt;Please provide additional information about the failure here&amp;gt;&amp;gt;&lt;br/&gt;
Looking at the autotest log, we see that the Lustre tests are not installed&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;2018-03-26T21:56:49 trevis-18vm1: /usr/lib64/lustre/tests/cfg/: No such file or directory
2018-03-26T21:56:49 pdsh@trevis-18vm1: trevis-18vm1: ssh exited with exit code 1
2018-03-26T21:56:49 trevis-18vm3: /usr/lib64/lustre/tests/cfg/: No such file or directory
2018-03-26T21:56:49 pdsh@trevis-18vm1: trevis-18vm3: ssh exited with exit code 1
2018-03-26T21:56:49 trevis-18vm4: /usr/lib64/lustre/tests/cfg/: No such file or directory
2018-03-26T21:56:49 pdsh@trevis-18vm1: trevis-18vm4: ssh exited with exit code 1
2018-03-26T21:56:49 trevis-18vm2: /usr/lib64/lustre/tests/cfg/: No such file or directory
2018-03-26T21:56:49 pdsh@trevis-18vm1: trevis-18vm2: ssh exited with exit code 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Yet, looking at the node console logs, I don&#8217;t see any failure relating to loading RPMS. Looking at the console logs for all the nodes, they all end with &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;Welcome to SUSE Linux Enterprise Server 12 SP3  (x86_64) - Kernel 4.4.114-94.11-default (ttyS0).


trevis-18vm2 login: [   80.209414] random: nonblocking pool is initialized

&amp;lt;ConMan&amp;gt; Console [trevis-18vm2] disconnected from &amp;lt;trevis-18:6001&amp;gt; at 03-26 22:56.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This failure started with master build #3731.&lt;/p&gt;

&lt;p&gt;Another test session that failed in this way is at&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sessions/fb84aaa9-888e-4d17-9a76-1cfd67d415aa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sessions/fb84aaa9-888e-4d17-9a76-1cfd67d415aa&lt;/a&gt;&lt;/p&gt;







&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
lustre-initialization-1 lustre-initialization - &apos;lustre-initialization failed&apos;&lt;/p&gt;</description>
                <environment></environment>
        <key id="51537">LU-10858</key>
            <summary>lustre-initialization-1 lustre-initialization fails for SLES12 SP2 and SP3</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/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="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="bogl">Bob Glossman</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Mar 2018 18:45:59 +0000</created>
                <updated>Thu, 29 Mar 2018 21:00:03 +0000</updated>
                            <resolved>Thu, 29 Mar 2018 21:00:03 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="224641" author="jamesanunez" created="Tue, 27 Mar 2018 18:55:26 +0000"  >&lt;p&gt;Test to see if reverting &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10556&quot; title=&quot;lustre client rebuild not building lnetctl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10556&quot;&gt;&lt;del&gt;LU-10556&lt;/del&gt;&lt;/a&gt; patch &lt;a href=&quot;https://review.whamcloud.com/#/c/31710/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/31710/&lt;/a&gt;&#160;will fix this issue.&lt;/p&gt;

&lt;p&gt;Revert patch at&#160;&lt;a href=&quot;https://review.whamcloud.com/#/c/31800/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/31800/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="224642" author="pjones" created="Tue, 27 Mar 2018 18:57:22 +0000"  >&lt;p&gt;Bob&lt;/p&gt;

&lt;p&gt;Can you please investigate?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="224643" author="simmonsja" created="Tue, 27 Mar 2018 19:16:36 +0000"  >&lt;p&gt;Really? That is just adding in build requirements when building from the lustre source rpms. Are those rpms named differently on SLES12SP4?&lt;/p&gt;</comment>
                            <comment id="224645" author="bogl" created="Tue, 27 Mar 2018 19:49:00 +0000"  >&lt;p&gt;yes, this is a problem with naming conventions.&lt;br/&gt;
In RHEL the user level libyaml .rpm is named &quot;libyaml&quot; and Provides the symbol libyaml&lt;br/&gt;
in SLES the user level libyaml .rpm is named &quot;libyaml-0-2&quot; and has no Provides of the name &quot;libyaml&quot;.  It only Provides the symbol &quot;libyaml-0-2&quot;&lt;/p&gt;

&lt;p&gt;would suggest removing the dependency this mod just added.&lt;/p&gt;</comment>
                            <comment id="224646" author="yujian" created="Tue, 27 Mar 2018 19:49:11 +0000"  >&lt;p&gt;Yes, James.&lt;br/&gt;
I just found &apos;zlib&apos; package was named as &apos;libz1&apos; on SLES 12.&lt;/p&gt;</comment>
                            <comment id="224649" author="simmonsja" created="Tue, 27 Mar 2018 19:54:39 +0000"  >&lt;p&gt;Oh crap. At least it is a easy fix. Its still zlib-devel tho?&lt;/p&gt;</comment>
                            <comment id="224650" author="bogl" created="Tue, 27 Mar 2018 20:00:09 +0000"  >&lt;p&gt;the zlib dependency isn&apos;t a problem. the SLES .rpm libz1 has a Provides for the name &quot;zlib&quot;&lt;/p&gt;</comment>
                            <comment id="224651" author="yujian" created="Tue, 27 Mar 2018 20:04:23 +0000"  >&lt;blockquote&gt;&lt;p&gt;Its still zlib-devel tho?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Yes. It&apos;s still zlib-devel.&lt;/p&gt;</comment>
                            <comment id="224652" author="bogl" created="Tue, 27 Mar 2018 20:05:07 +0000"  >&lt;p&gt;-devel .rpms are fine.   both libyaml-devel &amp;amp; zlib-devel exist in both RHEL and SLES.&lt;br/&gt;
I question the strategy of enforcing this in the .spec file though.&lt;br/&gt;
I thought there are already autoconf tests to check for and enforce the right build environment in these cases.&lt;/p&gt;</comment>
                            <comment id="224654" author="simmonsja" created="Tue, 27 Mar 2018 20:19:26 +0000"  >&lt;p&gt;Its about pulling in the right rpms when you install a lustre binary rpm. Currently you can install rpm a prepackage lustre rpm on a system that could be lacking libyaml and/or libzlib. In that case you think it installed right but then when you go to run it you see a nice crash. Using yum you can grab libyaml and zlib when installing lustre binary rpm with this patch.&lt;/p&gt;</comment>
                            <comment id="224656" author="bogl" created="Tue, 27 Mar 2018 20:29:21 +0000"  >&lt;p&gt;wasn&apos;t questioning the additional Requires, although if you want that it will need to be conditional due to the different names in different distros.&lt;br/&gt;
I was questioning the need for added Build-Requires.&lt;/p&gt;</comment>
                            <comment id="224660" author="yujian" created="Tue, 27 Mar 2018 21:34:13 +0000"  >&lt;blockquote&gt;&lt;p&gt;I was questioning the need for added Build-Requires.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Since the package names of libyaml-devel and zlib-devel are both correct on RHEL and SLES, I wonder if the following line in lustre.spec.in can cause any issue:&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;BuildRequires: libtool libyaml-devel zlib-devel
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="224661" author="bogl" created="Tue, 27 Mar 2018 21:38:17 +0000"  >&lt;p&gt;Since the names are the same I don&apos;t see any harm.&lt;br/&gt;
I just question the need for it at all.&lt;br/&gt;
I&apos;m of the &quot;if it&apos;s not broke, don&apos;t fix it&quot; school of thought.&lt;/p&gt;
</comment>
                            <comment id="224663" author="simmonsja" created="Tue, 27 Mar 2018 21:42:31 +0000"  >&lt;p&gt;The BuildRequires were added to make people use use mock and other build system like that happy.&#160; FOr somethingf like mock you drop in the source rpm which will use BuildRequires to pull down the needed development rpms to build the packages.&lt;/p&gt;

&lt;p&gt;libtool appears to the same. The issues is the logs from the failure are pretty useless. Do you have something better?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="224665" author="bogl" created="Tue, 27 Mar 2018 21:51:18 +0000"  >&lt;p&gt;if having the extra BuildRequires makes mock behave better I have no major objection.&lt;br/&gt;
for manual builds I have found examining the config.log of failed builds usually gives enough clues to figure it out.&lt;/p&gt;

&lt;p&gt;If you insist on in I suggest something like the following to adapt to different names:&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;--- a/lustre.spec.in
+++ b/lustre.spec.in
@@ -81,12 +81,14 @@
 %global modules_fs_path /lib/modules/%{kversion}/%{kmoddir}
 
 %if %{_vendor}==&quot;redhat&quot; || %{_vendor}==&quot;fedora&quot;
+	%global requires_yaml_name libyaml
 	%global requires_kmod_name kmod-%{lustre_name}
 	%if %{with lustre_tests}
 		%global requires_kmod_tests_name kmod-%{lustre_name}-tests
 	%endif
 	%global requires_kmod_version %{version}
 %else	#for Suse
+	%global requires_yaml_name libyaml-0-2
 	%global requires_kmod_name %{lustre_name}-kmp
 	%if %{with lustre_tests}
 		%global requires_kmod_tests_name %{lustre_name}-tests-kmp
@@ -132,7 +134,8 @@ Source6: kmp-lustre-osd-zfs.files
 Source7: kmp-lustre-tests.files
 URL: https://wiki.hpdd.intel.com/
 BuildRoot: %{_tmppath}/lustre-%{version}-root
-Requires: %{requires_kmod_name} = %{requires_kmod_version} libyaml zlib
+Requires: %{requires_kmod_name} = %{requires_kmod_version} zlib
+Requires: %{requires_yaml_name}
 BuildRequires: libtool libyaml-devel zlib-devel
 %if %{with servers}
 Requires: lustre-osd
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I don&apos;t say this is the best fix, but I think it will work.&lt;/p&gt;</comment>
                            <comment id="224666" author="yujian" created="Tue, 27 Mar 2018 21:59:11 +0000"  >&lt;p&gt;Hi Bob,&lt;br/&gt;
For SLES 11, the package name is &apos;zlib&apos;. And for SLES 12, the name is &apos;libz1&apos;.&lt;/p&gt;</comment>
                            <comment id="224667" author="bogl" created="Tue, 27 Mar 2018 22:02:07 +0000"  >&lt;p&gt;Don&apos;t think the exact package name matters.  As long as the .rpm has a Provides of &quot;zlib&quot; in it, it will be found and installed if required as a dependency.&lt;/p&gt;

&lt;p&gt;In any case support for SLES11 has been stopped or is going to be going away soon on master.&lt;/p&gt;</comment>
                            <comment id="224675" author="simmonsja" created="Tue, 27 Mar 2018 23:21:26 +0000"  >&lt;p&gt;Actually that fix looks good Bob. I&apos;m going to try it.&lt;/p&gt;</comment>
                            <comment id="224745" author="gerrit" created="Wed, 28 Mar 2018 18:09:47 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31815&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31815&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10858&quot; title=&quot;lustre-initialization-1 lustre-initialization fails for SLES12 SP2 and SP3&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10858&quot;&gt;&lt;del&gt;LU-10858&lt;/del&gt;&lt;/a&gt; build: handle yaml library packaging on SLES systems&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fc4a9793c5ef2a3abd260474fc9f9dc2e9102673&lt;/p&gt;</comment>
                            <comment id="224809" author="gerrit" created="Thu, 29 Mar 2018 16:34:43 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31815/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31815/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10858&quot; title=&quot;lustre-initialization-1 lustre-initialization fails for SLES12 SP2 and SP3&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10858&quot;&gt;&lt;del&gt;LU-10858&lt;/del&gt;&lt;/a&gt; build: handle yaml library packaging on SLES systems&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 20ad3ed15c321c7740988728c49a97105c59a3c4&lt;/p&gt;</comment>
                            <comment id="224836" author="pjones" created="Thu, 29 Mar 2018 21:00:03 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="50366">LU-10556</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzzuvj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

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