<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:26:13 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-2559] test: lustre-rsync-test test 1 - setfattr &lt;file path&gt;: Operation not supported</title>
                <link>https://jira.whamcloud.com/browse/LU-2559</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;== lustre-rsync-test test 1: Simple Replication ====================================================== 23:39:05 (1357025945)&lt;br/&gt;
lustre-MDT0000: Registered changelog user cl1&lt;br/&gt;
Replication #1&lt;br/&gt;
Lustre filesystem: lustre&lt;br/&gt;
MDT device: lustre-MDT0000&lt;br/&gt;
Source: /mnt/nbp0-1&lt;br/&gt;
Target: /var/acc-sm/target&lt;br/&gt;
Target: /var/acc-sm/target2&lt;br/&gt;
Statuslog: /var/acc-sm/lustre_rsync.log&lt;br/&gt;
Changelog registration: cl1&lt;br/&gt;
Starting changelog record: 0&lt;br/&gt;
Clear changelog after use: no&lt;br/&gt;
Errors: 0&lt;br/&gt;
lustre_rsync took 0 seconds&lt;br/&gt;
Changelog records consumed: 20&lt;br/&gt;
setfattr: /mnt/nbp0-1/d0.lustre-rsync-test/d1/file5: Operation not supported&lt;br/&gt;
Replication #2&lt;br/&gt;
Replication of operation failed(-17): 20 SLINK (4) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000400:0xe:0x0&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000400:0x3:0x0&amp;#93;&lt;/span&gt; link3&lt;br/&gt;
Lustre filesystem: lustre&lt;br/&gt;
MDT device: lustre-MDT0000&lt;br/&gt;
Source: /mnt/nbp0-1&lt;br/&gt;
Target: /var/acc-sm/target&lt;br/&gt;
Target: /var/acc-sm/target2&lt;br/&gt;
Statuslog: /var/acc-sm/lustre_rsync.log&lt;br/&gt;
Changelog registration: cl1&lt;br/&gt;
Starting changelog record: 20&lt;br/&gt;
Clear changelog after use: no&lt;br/&gt;
Errors: 1&lt;br/&gt;
lustre_rsync took 0 seconds&lt;br/&gt;
Changelog records consumed: 4&lt;br/&gt;
/var/acc-sm/target/d0.lustre-rsync-test/d1/file5: user.foo: No such attribute&lt;br/&gt;
/var/acc-sm/target2/d0.lustre-rsync-test/d1/file5: user.foo: No such attribute&lt;br/&gt;
 lustre-rsync-test test_1: @@@@@@ FAIL: Error in replicating xattrs.&lt;br/&gt;
  Trace dump:&lt;br/&gt;
  = /usr/lib64/lustre/tests/test-framework.sh:3643:error_noexit()&lt;br/&gt;
  = /usr/lib64/lustre/tests/test-framework.sh:3665:error()&lt;br/&gt;
  = /usr/lib64/lustre/tests/lustre-rsync-test.sh:193:test_1()&lt;br/&gt;
  = /usr/lib64/lustre/tests/test-framework.sh:3907:run_one()&lt;br/&gt;
  = /usr/lib64/lustre/tests/test-framework.sh:3937:run_one_logged()&lt;br/&gt;
  = /usr/lib64/lustre/tests/test-framework.sh:3808:run_test()&lt;br/&gt;
  = /usr/lib64/lustre/tests/lustre-rsync-test.sh:205:main()&lt;br/&gt;
Dumping lctl log to /var/acc-sm/test_logs/lustre-rsync-test.test_1.*.1357025946.log&lt;br/&gt;
FAIL 1 (3s)&lt;/p&gt;</description>
                <environment>Server: 2.1.3-1nasS, centos 6.3, 2.6.32_279.2.1.el6&lt;br/&gt;
Client: 2.3.0-2nasC, sles11sp2, 3.0.42_0.7.3&lt;br/&gt;
&amp;nbsp;mds: service337&lt;br/&gt;
&amp;nbsp;oss: service361, service362&lt;br/&gt;
clients: service331, service332&lt;br/&gt;
Git source: &lt;a href=&quot;https://github.com/jlan/lustre-nas&quot;&gt;https://github.com/jlan/lustre-nas&lt;/a&gt;</environment>
        <key id="17064">LU-2559</key>
            <summary>test: lustre-rsync-test test 1 - setfattr &lt;file path&gt;: Operation not supported</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="bogl">Bob Glossman</assignee>
                                    <reporter username="jaylan">Jay Lan</reporter>
                        <labels>
                            <label>LB</label>
                    </labels>
                <created>Wed, 2 Jan 2013 18:32:06 +0000</created>
                <updated>Tue, 15 Oct 2013 22:04:35 +0000</updated>
                            <resolved>Fri, 11 Jan 2013 16:18:45 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                    <version>Lustre 2.4.0</version>
                    <version>Lustre 2.1.3</version>
                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="49863" author="pjones" created="Thu, 3 Jan 2013 01:50:40 +0000"  >&lt;p&gt;Bob&lt;/p&gt;

&lt;p&gt;Could you please look into this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="49878" author="bogl" created="Thu, 3 Jan 2013 11:24:38 +0000"  >&lt;p&gt;So far I haven&apos;t been able to reproduce the failure.  I have been trying to vary the client side only.  It will take me a bit longer to bring up a 2.1 server in case it&apos;s the server side that causes the problem.  I will keep trying to reproduce it.&lt;/p&gt;</comment>
                            <comment id="49887" author="bogl" created="Thu, 3 Jan 2013 13:10:22 +0000"  >&lt;p&gt;Looks like this is an interop problem between 2.3 clients and 2.1 servers.  The key fact is the following error that shows up in client dmesg at mount time:&lt;/p&gt;

&lt;p&gt;Lustre: Disabling user_xattr feature because it is not supported on the server&lt;/p&gt;

&lt;p&gt;This happens with any 2.3 or 2.3+ client, sles11 or centos.&lt;br/&gt;
Once the client is mounted with user_xattr disabled, any setfattr command attempted by the client will fail.&lt;/p&gt;

&lt;p&gt;Not sure exactly why the 2.3 client thinks the 2.1 server is incapable of doing user_xattr.&lt;/p&gt;</comment>
                            <comment id="49972" author="bogl" created="Fri, 4 Jan 2013 14:52:32 +0000"  >&lt;p&gt;nasf, adding you to the watcher list as Peter asked.  This bug seems to be due to version interop problems with connect flags. Do you know anything in the 2.3 timeframe that might be related?  It was suggested you might know or have worked in this area.  Just looking at the 2.1 vs. 2.3 code I haven&apos;t been able to spot anything obvious, all the flag definitions and so forth look compatible.&lt;/p&gt;</comment>
                            <comment id="50283" author="jaylan" created="Thu, 10 Jan 2013 15:18:53 +0000"  >&lt;p&gt;I saw this error again when testing the SUSE version of lustre-2.1.3 client for sles11sp2. Note that my servers are still 2.1.3.&lt;/p&gt;

</comment>
                            <comment id="50296" author="bogl" created="Thu, 10 Jan 2013 18:05:58 +0000"  >&lt;p&gt;Jay, are you sure you have a 2.1.3 client for sles11 sp2?  I think the standard prebuilt rpms for sles11 are for sp1, not sp2.  I haven&apos;t been able to build any client 2.1 for sp2.  I&apos;ve only succeeded in building client 2.3 and master for sp2.&lt;/p&gt;

&lt;p&gt;you could do lctl lustre_build_version on the client to double check.&lt;/p&gt;</comment>
                            <comment id="50300" author="jaylan" created="Thu, 10 Jan 2013 19:26:41 +0000"  >&lt;p&gt;Bob, forget about the 2.1.3 client I mentioned in earlier post on Jan 10. That was a beta version from SUSE. Since Peter said Intel would not support that version, it is irrelevant.&lt;/p&gt;

&lt;p&gt;But I did experience that problem in 2.3.0 though as I first reported.&lt;/p&gt;</comment>
                            <comment id="50330" author="yong.fan" created="Fri, 11 Jan 2013 04:29:43 +0000"  >&lt;p&gt;Can you perform &quot;mount&quot; on both 2.1 server and 2.3 client to check (and paste out) which flags have been enabled when you met the issues &quot;Lustre: Disabling user_xattr feature because it is not supported on the server&quot;? Thanks.&lt;/p&gt;</comment>
                            <comment id="50339" author="bogl" created="Fri, 11 Jan 2013 11:46:50 +0000"  >&lt;p&gt;flags reported by mount differ from those shown in /proc/mounts.  Here are both.&lt;/p&gt;

&lt;p&gt;2.3 client:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# mount
centos2:/lustre on /mnt/lustre type lustre (rw,user_xattr,flock)

# cat /proc/mounts
192.168.0.36@tcp:/lustre /mnt/lustre lustre rw,relatime,flock 0 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;2.1 server:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# mount
/dev/sdb on /mnt/mds1 type lustre (rw)

# cat /proc/mounts
/dev/sdb /mnt/mds1 lustre ro 0 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I think I see where you are going with this.  Looks like MGS/MDS gets mounted on the server without user_xattr set.  Looking at the test scripts I see a difference between 2.1 and 2.3.  2.1 has MDS_MOUNT_OPTS explicitly defined with user_xattr in it in cfg/local.sh, 2.3 has empty opts.&lt;/p&gt;

&lt;p&gt;I&apos;m guessing that in the 2.3 timeframe server mounts always do user_xattr by default and no longer require explicit flags.  This messes up when using script &amp;amp; cfg files from 2.3 on 2.1 servers.&lt;/p&gt;

&lt;p&gt;Jay, can you check this out by adding explicit&lt;br/&gt;
MDS_MOUNT_OPTS=&quot;-o user_xattr,acl&quot;&lt;br/&gt;
to your cfg file on clients?&lt;br/&gt;
If you just copied or modified the cfg/local.sh from the build these are set empty.&lt;br/&gt;
Setting MDS_MOUNT_OPTS as an environment variable should work too.&lt;/p&gt;

&lt;p&gt;Try the test with this change.&lt;br/&gt;
You can do the failing test alone with:&lt;/p&gt;

&lt;p&gt;auster -rv lustre-rsync-test --only 1&lt;/p&gt;</comment>
                            <comment id="50358" author="jaylan" created="Fri, 11 Jan 2013 14:38:57 +0000"  >&lt;p&gt;Bob, you are right again! &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;After adding user_xattr to MDS_MOUNT_OPTS, it worked!&lt;/p&gt;

&lt;p&gt;I did not include lustre-rsync-test when I converted my test scripts from acc-sm to auster until recently. That explains why I did not get hit by the problem earlier.&lt;/p&gt;</comment>
                            <comment id="50359" author="bogl" created="Fri, 11 Jan 2013 14:47:09 +0000"  >&lt;p&gt;Thanks for the confirmation, Jay.&lt;br/&gt;
Is it OK then for me to go ahead and close this bug?  Is it sufficient to know that setting extra cfg or environment variables is needed when interoperating with 2.3 clients on 2.1 servers?&lt;/p&gt;
</comment>
                            <comment id="50360" author="pjones" created="Fri, 11 Jan 2013 14:54:10 +0000"  >&lt;p&gt;Bob&lt;/p&gt;

&lt;p&gt;Before you close the ticket - will this issue affect 2.4 clients trying to interoperate with 2.1 servers? If so, we should land a change to master to avoid this creating noise in our interop testing for 2.4&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="50362" author="jaylan" created="Fri, 11 Jan 2013 15:02:13 +0000"  >&lt;p&gt;Yes, Bob, it is OK to close it if you do not need to make any change. Thanks.&lt;/p&gt;
</comment>
                            <comment id="50363" author="bogl" created="Fri, 11 Jan 2013 15:03:24 +0000"  >&lt;p&gt;Peter, Pretty sure this will impact any newer version client trying to run on 2.1 servers.  All MDS_MOUNT_OPTS are blank by default in standard configs.  What I&apos;m not sure about is if our test environment does something to work around this during interop tests.  Since it can easily be masked entirely by just setting environment variables, our test setups may already do so on Toro.  If we routinely do new client on old server during our regular interop testing, I don&apos;t see how we could have avoided seeing the problem without such setup.&lt;/p&gt;</comment>
                            <comment id="50366" author="pjones" created="Fri, 11 Jan 2013 15:22:14 +0000"  >&lt;p&gt;Bob&lt;/p&gt;

&lt;p&gt;You should be able to find recent interop test runs to see whether we are handling this already. If not then please could you open a TT ticket outlining the changes that we need to make to avoid this unnecessary noise in our test results.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="50369" author="bogl" created="Fri, 11 Jan 2013 16:13:37 +0000"  >&lt;p&gt;Peter&lt;br/&gt;
Sure looks like our test setup takes care of it.  In a full run from 12/19 of master client on 2.1 server lustre-rsync-test passed fine.&lt;/p&gt;

&lt;p&gt;Looking in the log of the provisioning phase, I see:&lt;/p&gt;

&lt;p&gt;21:01:04:MDS_MOUNT_OPTS=${MDS_MOUNT_OPTS:-&quot;-o user_xattr,acl&quot;}&lt;/p&gt;

&lt;p&gt;Later on those opts show up explicitly on the command line of the MDS mount command:&lt;/p&gt;

&lt;p&gt;21:01:38:CMD: client-20-ib mkdir -p /mnt/mds1; mount -t lustre -o user_xattr,acl  		                   /dev/lvm-MDS/P1 /mnt/mds1&lt;/p&gt;

&lt;p&gt;I think there&apos;s nothing needed to be done here.&lt;/p&gt;</comment>
                            <comment id="50370" author="pjones" created="Fri, 11 Jan 2013 16:15:41 +0000"  >&lt;p&gt;ok then close away! &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12126" name="lustre-rsync-test_1.tgz" size="2938983" author="jaylan" created="Wed, 2 Jan 2013 18:32:06 +0000"/>
                    </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|hzvegv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5985</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>