<div dir="ltr">Hi Andreas,<br><br>Thanks again for the help, &quot;SINGLEMDS=mds1&quot; does the trick !<br>We have hit some issues with tainted kernel modules and hanging now (working on RHEL8 on ARM64),<br>but we need to update to latest kernel update, and install latest Lustre master and we&#39;ll see !<br><br>Sorry for the late reply, was off/away from Lustre !<br><br>Cheers,<br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 2 Aug 2019 at 13:04, Andreas Dilger &lt;<a href="mailto:adilger@whamcloud.com">adilger@whamcloud.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div dir="auto">
I thought I replied to this email, but maybe it was lost. 
<div><br>
</div>
<div>It looks like you have &quot;$SINGLEMDS&quot; unset in your test config. It should</div>
<div>just be &quot;mds1&quot;.  That is causing the error:</div>
<div><br>
</div>
<div>
<div dir="ltr">
<div dir="ltr"><font color="#000000"><span style="background-color:rgba(255,255,255,0)">    MDS: No host defined for facet /usr/sbin/lctl</span></font></div>
</div>
</div>
<div><br>
</div>
<div>I don&#39;t know if that is causing your other problem or something else,</div>
<div>but may as well fix it and see. </div>
<div><br>
</div>
<div>You could also run with &quot;sh -vx&quot; to get all the gory details from bash</div>
<div>to see what is being executed. </div>
<div><br>
<div id="gmail-m_-2936280308203384609AppleMailSignature" dir="ltr">Cheers, Andreas</div>
<div dir="ltr"><br>
On Jul 23, 2019, at 02:33, Baptiste Gerondeau &lt;<a href="mailto:baptiste.gerondeau@linaro.org" target="_blank">baptiste.gerondeau@linaro.org</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">After testing it out on an ARM64 client (hostname : lustrerhel, running RHEL8, compiled from master), it seems it has the same problem.<br>
<br>
I can <b>successfully</b> llmount.sh and llmountcleanup.sh and write and read files from the client.<br>
That said, sanity.sh is <b>not</b> working for me : it never gets to the tests part, it just stops at &#39;cat /proc/mounts on OSS&#39;.<br>
dmesg says nothing more, and I can&#39;t seem to get a more info (an error) from the logs.<br>
I have confirmed that I can &#39;cat /proc/mounts&#39; just fine on all the machines.<br>
<br>
Client: Lustre version: 2.12.0<br>
MDS: No host defined for facet /usr/sbin/lctl<br>
OSS: Lustre version: 2.12.0<br>
CMD: lustrerhel,x8602 PATH=/usr/lib64/lustre/tests:/usr/lib/lustre/tests:/usr/lib64/lustre/tests:/usr/lib64/lustre/tests/mpi:/usr/lib64/lustre/tests/racer:/usr/lib64/lustre/../lustre-iokit/sgpdd-survey:/usr/lib64/lustre/tests:/usr/lib64/lustre/utils/gss:/usr/lib64/lustre/utils:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin::/sbin:/bin:/usr/sbin:
 NAME=local bash rpc.sh check_config_client /lustre <br>
x8602: x8602: executing check_config_client /lustre<br>
lustrerhel: CMD: lustrerhel /usr/sbin/lctl get_param -n version 2&gt;/dev/null ||<br>
lustrerhel: /usr/sbin/lctl lustre_build_version 2&gt;/dev/null ||<br>
lustrerhel: /usr/sbin/lctl --version 2&gt;/dev/null | cut -d&#39; &#39; -f2<br>
lustrerhel: CMD: lustrerhel /usr/sbin/lctl get_param -n version 2&gt;/dev/null ||<br>
lustrerhel: /usr/sbin/lctl lustre_build_version 2&gt;/dev/null ||<br>
lustrerhel: /usr/sbin/lctl --version 2&gt;/dev/null | cut -d&#39; &#39; -f2<br>
lustrerhel: CMD: lustrerhel /usr/sbin/lctl get_param -n version 2&gt;/dev/null ||<br>
lustrerhel: /usr/sbin/lctl lustre_build_version 2&gt;/dev/null ||<br>
lustrerhel: /usr/sbin/lctl --version 2&gt;/dev/null | cut -d&#39; &#39; -f2<br>
lustrerhel: CMD: lustrerhel /usr/sbin/lctl get_param -n version 2&gt;/dev/null ||<br>
lustrerhel: /usr/sbin/lctl lustre_build_version 2&gt;/dev/null ||<br>
lustrerhel: /usr/sbin/lctl --version 2&gt;/dev/null | cut -d&#39; &#39; -f2<br>
x8602: Checking config lustre mounted on /lustre<br>
lustrerhel: lustrerhel: executing check_config_client /lustre<br>
lustrerhel: Checking config lustre mounted on /lustre<br>
Checking servers environments<br>
[...]<br>
CMD: x86ohpc e2label /dev/sda2 2&gt;/dev/null<br>
x86ohpc: Warning: Permanently added &#39;x86ohpc,10.40.24.210&#39; (ECDSA) to the list of known hosts.<br>
CMD: x86ohpc cat /proc/mounts<br>
x86ohpc: Warning: Permanently added &#39;x86ohpc,10.40.24.210&#39; (ECDSA) to the list of known hosts.<br>
CMD: x8601 e2label /dev/sda2 2&gt;/dev/null<br>
CMD: x8601 cat /proc/mounts<br>
<br>
Thanks a lot for your support,<br>
Best regards,</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, 18 Jul 2019 at 20:56, Andreas Dilger &lt;<a href="mailto:adilger@whamcloud.com" target="_blank">adilger@whamcloud.com</a>&gt; wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Jul 18, 2019, at 04:29, Baptiste Gerondeau &lt;<a href="mailto:baptiste.gerondeau@linaro.org" target="_blank">baptiste.gerondeau@linaro.org</a>&gt; wrote:<br>
&gt; <br>
&gt; Thank you very much for your quick help !<br>
&gt; I reformatted and remounted everything from scratch and can confirm that mounting works, and that the client can communicate with the MDS (210, OSS is 211 and client 212):<br>
[snip]<br>
&gt; [root@x8602 tests]# lctl which_nid 10.40.24.210@tcp<br>
&gt; 10.40.24.210@tcp<br>
&gt; [root@x8602 tests]# lfs df -ih<br>
&gt; UUID                      Inodes       IUsed       IFree IUse% Mounted on<br>
&gt; test-MDT0000_UUID           4.0M         272        4.0M   1% /lustre[MDT:0]<br>
&gt; test-OST0000_UUID         640.0K         267      639.7K   0% /lustre[OST:0]<br>
&gt; <br>
&gt; filesystem_summary:       640.0K         272      639.7K   0% /lustre<br>
&gt; <br>
&gt; [root@x8602 tests]#  ls -lsah /lustre/<br>
&gt; total 12K<br>
&gt; 4.0K drwxr-xr-x   3 root root 4.0K Jul 18 11:03 .<br>
&gt; 4.0K dr-xr-xr-x. 19 root root 4.0K Jun 28 11:43 ..<br>
&gt; 4.0K -rw-r--r--   1 root root   14 Jul 18 11:03 test.txt<br>
&gt; <br>
&gt; I get the same output from auster though:<br>
&gt; Client: Lustre version: 2.12.0<br>
&gt; MDS: No host defined for facet /usr/sbin/lctl<br>
<br>
This looks like some kind of problem with the test configuration file, where an environment variable is not set (e.g. mds_HOST) and it is interpreting the next argument (the lctl command) as the target facet when calling do_facet() or similar?<br>
<br>
If &quot;llmount.sh&quot; works, then you are also able to run tests directly like:<br>
<br>
client# cd lustre/tests<br>
client# sh sanity.sh<br>
<br>
I don&#39;t use auster myself (it is just a wrapper around lower-level scripts), so I can&#39;t really comment where the problem might be.<br>
<br>
Cheers, Andreas<br>
<br>
&gt; OSS: Lustre version: 2.12.0<br>
&gt; <br>
&gt; From the client I can ssh into the other nodes (and from each node I can ssh into the others).<br>
&gt; I had tried to debug the scripts behind the above auster output but was unable to track down where it failed...<br>
&gt; <br>
&gt; On Tue, 16 Jul 2019 at 23:09, Andreas Dilger &lt;<a href="mailto:adilger@whamcloud.com" target="_blank">adilger@whamcloud.com</a>&gt; wrote:<br>
&gt; On Jul 16, 2019, at 06:11, Baptiste Gerondeau &lt;<a href="mailto:baptiste.gerondeau@linaro.org" target="_blank">baptiste.gerondeau@linaro.org</a>&gt; wrote:<br>
&gt; &gt; <br>
&gt; &gt; Hi,<br>
&gt; &gt; <br>
&gt; &gt; I&#39;m currently in the process of bringing up the &quot;3 node&quot; x86 cluster and running &quot;verbose=true ./auster -f multinode -rsv runtests&quot; (on CentOS 7.6 x86 client &amp; server, installed from repos), I keep getting &quot;MDS: No host defined for facet /usr/sbin/lctl&quot;.<br>
&gt; &gt; <br>
&gt; &gt; Auster then prints out some pdsh stuff, &quot;Failures : 0&quot; and exits after 16s obviously without running any tests.<br>
&gt; &gt; <br>
&gt; &gt; Any suggestions?<br>
&gt; &gt; Thanks a lot,<br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; PS : My multinode config is attached<br>
&gt; &gt; PPS: I posted to the devel list because it concerned auster, if I need to post it elsewhere please let me know<br>
&gt; <br>
&gt; Before running auster, which tries to launch a lot of tests, start with just a plain mount to see if that is working:<br>
&gt; <br>
&gt; master.sh:<br>
&gt; &gt; MOUNT=/mnt/lustre<br>
&gt; &gt; MOUNT2=/mnt/master2<br>
&gt; <br>
&gt; This is a bit odd for tests, which normally have e.g. /mnt/master and /mnt/master2, but I&#39;m<br>
&gt; not sure i there will be a problem or not.<br>
&gt; <br>
&gt; ### assume modules/utils are built<br>
&gt; ### modules/utils are installed or you are running out of the build directory<br>
&gt; ### ssh to the MDS and OSS nodes works without a password<br>
&gt; ### if you are not using @tcp0 for LNet, /etc/modprobe.d/lnet.conf is correct<br>
&gt; <br>
&gt; all# modprobe ptlrpc            ### on client and OSS and MDS to start LNet<br>
&gt; x8602# lctl ping x86ohpc        ### should print NID(s) of x860hpc<br>
&gt; x8602# lctl ping x8601          ### should print NID(s) of x8601<br>
&gt; x8602# export NAME=master       ### get config from lustre/tests/cfg/master.sh<br>
&gt; x8602# sh llmount.sh            ### should format x86ohpc:/dev/sda2 and x8601:/dev/sda2<br>
&gt; x8602# lfs df                   ### should show master-MDT0000 and master-OST0000<br>
&gt; <br>
&gt; Cheers, Andreas<br>
&gt; --<br>
&gt; Andreas Dilger<br>
&gt; Principal Lustre Architect<br>
&gt; Whamcloud<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; Baptiste Gerondeau<br>
&gt; Engineer - HPC SIG - LDCG - Linaro<br>
&gt; #irc : BaptisteGer<br>
<br>
Cheers, Andreas<br>
--<br>
Andreas Dilger<br>
Principal Lustre Architect<br>
Whamcloud<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_-2936280308203384609gmail_signature">
<div dir="ltr"><font face="monospace, monospace">Baptiste Gerondeau<br>
Engineer - HPC SIG - LDCG - Linaro<br>
#irc : BaptisteGer</font><br>
</div>
</div>
</div>
</blockquote>
</div>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="monospace, monospace">Baptiste Gerondeau<br>Engineer - HPC SIG - LDCG - Linaro<br>#irc : BaptisteGer</font><br></div></div>