<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:20:31 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-8784] Getting build errors on Rhel 7.2 ( ppc64le )</title>
                <link>https://jira.whamcloud.com/browse/LU-8784</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While i try to build lustre from source using below steps getting build error at the initial phase.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm3 lustre_backup&amp;#93;&lt;/span&gt;# git clone &lt;a href=&quot;https://github.com/Xyratex/lustre-stable.git&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/Xyratex/lustre-stable.git&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm3 lustre_backup&amp;#93;&lt;/span&gt;# cd lustre-stable&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm3 lustre-stable&amp;#93;&lt;/span&gt;# sh ./autogen.sh&lt;br/&gt;
libtoolize: $aclocaldir is not a directory: `/usr/share/aclocal&apos;&lt;/p&gt;
</description>
                <environment>[&lt;a href=&apos;mailto:root@pts00433-vm3&apos;&gt;root@pts00433-vm3&lt;/a&gt; lustre_backup]# cat /etc/redhat-release&lt;br/&gt;
Red Hat Enterprise Linux Server release 7.2 (Maipo)&lt;br/&gt;
&lt;br/&gt;
[&lt;a href=&apos;mailto:root@pts00433-vm3&apos;&gt;root@pts00433-vm3&lt;/a&gt; lustre_backup]# lscpu&lt;br/&gt;
Architecture:          ppc64le&lt;br/&gt;
Byte Order:            Little Endian&lt;br/&gt;
CPU(s):                4&lt;br/&gt;
On-line CPU(s) list:   0-3&lt;br/&gt;
Thread(s) per core:    1&lt;br/&gt;
Core(s) per socket:    4&lt;br/&gt;
Socket(s):             1&lt;br/&gt;
NUMA node(s):          1&lt;br/&gt;
Model:                 IBM pSeries (emulated by qemu)&lt;br/&gt;
L1d cache:             64K&lt;br/&gt;
L1i cache:             32K&lt;br/&gt;
NUMA node0 CPU(s):     0-3&lt;br/&gt;
</environment>
        <key id="41211">LU-8784</key>
            <summary>Getting build errors on Rhel 7.2 ( ppc64le )</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="6">Not a Bug</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="amitkumar_ghatwal">Amitkumar Ghatwal</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 Nov 2016 08:06:43 +0000</created>
                <updated>Wed, 5 Aug 2020 21:49:58 +0000</updated>
                            <resolved>Wed, 5 Aug 2020 21:49:58 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>1</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="171901" author="simmonsja" created="Tue, 1 Nov 2016 14:42:12 +0000"  >&lt;p&gt;Did you install the development tools? Do a &quot;yum groupinstall &apos;Development Tools&apos;&quot; should solve this&lt;/p&gt;</comment>
                            <comment id="171989" author="amitkumar_ghatwal" created="Wed, 2 Nov 2016 11:33:23 +0000"  >&lt;p&gt;I tried below but it failed to install&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm3 lustre-stable&amp;#93;&lt;/span&gt;# yum groupinstall &apos;Development Tools&apos;&lt;br/&gt;
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager&lt;br/&gt;
Maybe run: yum groups mark install (see man yum)&lt;br/&gt;
No packages in any requested group available to install or update&lt;/p&gt;

&lt;p&gt;next also tried below &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm3 lustre-stable&amp;#93;&lt;/span&gt;# yum groups mark install &quot;Development Tools&quot;&lt;br/&gt;
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager&lt;br/&gt;
Marked install: Development Tools&lt;/p&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm3 lustre-stable&amp;#93;&lt;/span&gt;# yum groups mark convert &quot;Development Tools&quot;&lt;br/&gt;
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager&lt;br/&gt;
Converted old style groups to objects.&lt;/p&gt;

&lt;p&gt;still the same errors&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm3 lustre-stable&amp;#93;&lt;/span&gt;# yum groupinstall &quot;Development Tools&quot;&lt;br/&gt;
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager&lt;br/&gt;
Maybe run: yum groups mark install (see man yum)&lt;br/&gt;
No packages in any requested group available to install or update&lt;/p&gt;

&lt;p&gt;My env details&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm3 lustre-stable&amp;#93;&lt;/span&gt;# cat /etc/os-release&lt;br/&gt;
NAME=&quot;Red Hat Enterprise Linux Server&quot;&lt;br/&gt;
VERSION=&quot;7.2 (Maipo)&quot;&lt;br/&gt;
ID=&quot;rhel&quot;&lt;br/&gt;
ID_LIKE=&quot;fedora&quot;&lt;br/&gt;
VERSION_ID=&quot;7.2&quot;&lt;br/&gt;
PRETTY_NAME=&quot;Red Hat Enterprise Linux&quot;&lt;br/&gt;
ANSI_COLOR=&quot;0;31&quot;&lt;br/&gt;
CPE_NAME=&quot;cpe:/o:redhat:enterprise_linux:7.2:GA:server&quot;&lt;br/&gt;
HOME_URL=&quot;https://www.redhat.com/&quot;&lt;br/&gt;
BUG_REPORT_URL=&quot;https://bugzilla.redhat.com/&quot;&lt;/p&gt;

&lt;p&gt;REDHAT_BUGZILLA_PRODUCT=&quot;Red Hat Enterprise Linux 7&quot;&lt;br/&gt;
REDHAT_BUGZILLA_PRODUCT_VERSION=7.2&lt;br/&gt;
REDHAT_SUPPORT_PRODUCT=&quot;Red Hat Enterprise Linux&quot;&lt;br/&gt;
REDHAT_SUPPORT_PRODUCT_VERSION=&quot;7.2&quot;&lt;/p&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm3 lustre-stable&amp;#93;&lt;/span&gt;# lscpu&lt;br/&gt;
Architecture:          ppc64le&lt;br/&gt;
Byte Order:            Little Endian&lt;br/&gt;
CPU(s):                4&lt;br/&gt;
On-line CPU(s) list:   0-3&lt;br/&gt;
Thread(s) per core:    1&lt;br/&gt;
Core(s) per socket:    4&lt;br/&gt;
Socket(s):             1&lt;br/&gt;
NUMA node(s):          1&lt;br/&gt;
Model:                 IBM pSeries (emulated by qemu)&lt;br/&gt;
L1d cache:             64K&lt;br/&gt;
L1i cache:             32K&lt;br/&gt;
NUMA node0 CPU(s):     0-3&lt;/p&gt;

&lt;p&gt;Any pointers on above , how to get &quot;development tools&quot; installed.?&lt;/p&gt;</comment>
                            <comment id="172134" author="amitkumar_ghatwal" created="Thu, 3 Nov 2016 09:04:25 +0000"  >&lt;p&gt;Hi @James A Simmons ,&lt;/p&gt;

&lt;p&gt;Thanks for your suggestion.&lt;/p&gt;

&lt;p&gt;Just an update , i changed my machine and i was able to install &quot;development tools&quot; on it and it helped me with building lustre from source. So here i want to just start alustre client on this machine .As i already have MGS/MGT,MDS/MDT running on machine 1 ( centos x86_64 ) , and OSS/OST running on machine 2 ( centos x86_64 ) . In the past i had working 3 note set up wherein lustre client was deployed on centos -x86_64  machine 3 (centos -x86_64 ) .&lt;/p&gt;

&lt;p&gt;Now i want to replace lustre client on x86_64 (machine 3 ) by setting up lustre client on ppc64le-rhel7.2 . &lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;git clone git://git.hpdd.intel.com/fs/lustre-release.git&lt;/li&gt;
	&lt;li&gt;cd lustre-release/&lt;/li&gt;
	&lt;li&gt;sh ./autogen.sh&lt;/li&gt;
	&lt;li&gt;./configure --disable-server&lt;/li&gt;
	&lt;li&gt;make&lt;/li&gt;
	&lt;li&gt;make install&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;To ensure that the lustre version showing up is now&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;./LUSTRE-VERSION-GEN&lt;br/&gt;
2.8.60&lt;/li&gt;
	&lt;li&gt;whereis lustre&lt;br/&gt;
lustre: /usr/lib/lustre /usr/include/lustre /usr/share/lustre /usr/share/man/man7/lustre.7&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;So it appears to me lustre is built from source and m on track to start lustre client on this , however i am getting errors when i try to start the lustre client&lt;br/&gt;
Next to try to Load the lustre kernel module: &lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;modprobe lustre&lt;br/&gt;
modprobe: FATAL: Module lustre not found..&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Has anyone faced such issues whilst setting up the lustre client ( am assuming that i have managed to build lustre from source sucessfully ) . Let me know if i am missing any step in configuring this machine to act as lustre client.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Amit&lt;/p&gt;
</comment>
                            <comment id="172247" author="simmonsja" created="Thu, 3 Nov 2016 22:43:05 +0000"  >&lt;p&gt;Try running &quot;depmod -a&quot; after you install the lustre modules.&lt;/p&gt;</comment>
                            <comment id="172268" author="amitkumar_ghatwal" created="Fri, 4 Nov 2016 04:06:33 +0000"  >&lt;p&gt;Yes , that is what i did yesterday and got it working, but replying it here now&lt;br/&gt;
Next below commands was how i managed to install lustre client&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;depmod -a&lt;/li&gt;
	&lt;li&gt;modprobe -v lustre&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Installed at power up&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm5 ~&amp;#93;&lt;/span&gt;# cat /etc/sysconfig/modules/lustre.module&lt;br/&gt;
#!/bin/sh&lt;/p&gt;

&lt;p&gt;/sbin/lsmod | /bin/grep lustre 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br/&gt;
if [ ! $? ] ; then&lt;br/&gt;
   /sbin/modprobe lustre &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br/&gt;
fi&lt;/p&gt;

&lt;p&gt;connect to MGS/OSS&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;mkdir /mnt/first_mount&lt;/li&gt;
	&lt;li&gt;mount -t lustre 10.51.225.95@tcp0:/whatevs /mnt/first_mount&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Confirming that the client is configured correctly&lt;br/&gt;
#&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm5 ~&amp;#93;&lt;/span&gt;# lfs df -h&lt;br/&gt;
UUID                       bytes        Used   Available Use% Mounted on&lt;br/&gt;
whatevs-MDT0000_UUID       28.4G       58.9M       26.3G   0% /mnt/first_mount&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
whatevs-OST0000_UUID       39.5G       57.0M       37.3G   0% /mnt/first_mount&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:0&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;filesystem summary:        39.5G       57.0M       37.3G   0% /mnt/first_mount&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@pts00433-vm5 ~&amp;#93;&lt;/span&gt;# df -h&lt;br/&gt;
Filesystem                 Size  Used Avail Use% Mounted on&lt;br/&gt;
/dev/mapper/rhel-root      115G   88G   28G  77% /&lt;br/&gt;
devtmpfs                   7.5G     0  7.5G   0% /dev&lt;br/&gt;
tmpfs                      7.5G     0  7.5G   0% /dev/shm&lt;br/&gt;
tmpfs                      7.5G  137M  7.4G   2% /run&lt;br/&gt;
tmpfs                      7.5G     0  7.5G   0% /sys/fs/cgroup&lt;br/&gt;
/dev/vda2                  497M  310M  187M  63% /boot&lt;br/&gt;
10.51.225.95@tcp:/whatevs   40G   58M   38G   1% /mnt/first_mount&lt;br/&gt;
tmpfs                      1.5G     0  1.5G   0% /run/user/0&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;The above tells  me that machine 3 is successfully configured to be working as lustre client . Do let me know of any more check/test which i can perform on the lustre client to conform lustre file system.&lt;/p&gt;</comment>
                            <comment id="172279" author="amitkumar_ghatwal" created="Fri, 4 Nov 2016 06:10:08 +0000"  >&lt;p&gt;Hi James A Simmons,&lt;/p&gt;

&lt;p&gt;Are there any test cases which can be run to validate the lustre client configuration/performance when build lustre from source as done above ?&lt;/p&gt;
</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10003" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Business Value</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>Lustre-2.8.0</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzyu0v:</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>
                                                                                                                                                    <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>