<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:04:45 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-13850] File in readwrite state and &quot;No data available&quot; error  after file was added to cache on one node.</title>
                <link>https://jira.whamcloud.com/browse/LU-13850</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;file was created on one node and on that node was created rule to add file to cache.&lt;/p&gt;

&lt;p&gt;lctl pcc add /mnt/lustre /mnt/pccro --param &quot;fname={*.doc} roid=7 ropcc=1&quot;&lt;/p&gt;

&lt;p&gt;&#160;&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;
pdsh -w trevis-59vm1[0,1,2] lfs pcc state /mnt/lustre/myfile.doc
trevis-59vm12: file: /mnt/lustre/myfile.doc, type: readwrite, PCC file: /0007/0000/0402/0000/0002/0000/0x200000402:0x7:0x0, user number: 0, flags: 0
trevis-59vm10: file: /mnt/lustre/myfile.doc, type: none
trevis-59vm11: file: /mnt/lustre/myfile.doc, type: none
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;on attempt to read file from other nodes I seeing this error.&#160; and file type is marked as readwrite. Epected output is readonly.&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;
pdsh -w trevis-59vm1[0,1,2] cat /mnt/lustre/myfile.doc
trevis-59vm11: cat: /mnt/lustre/myfile.doc: No data available
trevis-59vm12: filedata
trevis-59vm10: cat: /mnt/lustre/myfile.doc: No data available
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Last time when I was checked this it works successfully file showed&#160; status&lt;/p&gt;

&lt;p&gt;&#160;&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;
# pdsh -w trevis-59vm1[0,1,2]  /usr/sbin/lctl pcc list /mnt/lustre  | dshbak
----------------
trevis-59vm10
----------------
pcc:
  -
    pccpath: /mnt/pccro
    hsmtool: posix
    rwid: 0
    roid: 7
    flags: 2e
    autocache: fname={*.doc}
----------------
trevis-59vm11
----------------
pcc:
  -
    pccpath: /mnt/pccro
    hsmtool: posix
    rwid: 0
    roid: 7
    flags: 2e
    autocache: fname={*.doc}
----------------
trevis-59vm12
----------------
pcc:
  -
    pccpath: /mnt/pccro
    hsmtool: posix
    rwid: 0
    roid: 7
    flags: 2e
    autocache: fname={*.doc}

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="60244">LU-13850</key>
            <summary>File in readwrite state and &quot;No data available&quot; error  after file was added to cache on one node.</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="vilapa">Vikentsi Lapa</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Aug 2020 17:30:06 +0000</created>
                <updated>Tue, 4 Aug 2020 14:39:41 +0000</updated>
                            <resolved>Tue, 4 Aug 2020 14:39:41 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="276610" author="jamesanunez" created="Mon, 3 Aug 2020 17:48:23 +0000"  >&lt;p&gt;Yingjin, &lt;/p&gt;

&lt;p&gt;Would you please review this issue and comment?&lt;/p&gt;</comment>
                            <comment id="276626" author="qian_wc" created="Tue, 4 Aug 2020 01:31:19 +0000"  >&lt;p&gt;Could you please give out the full command lines that caused this errors?&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;
pdsh -w trevis-59vm1[0,1,2] lfs pcc state /mnt/lustre/myfile.doc
trevis-59vm12: file: /mnt/lustre/myfile.doc, type: readwrite, PCC file: /0007/0000/0402/0000/0002/0000/0x200000402:0x7:0x0, user number: 0, flags: 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;How the file become PCC-RW (readwrite) state?&lt;/p&gt;

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

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

&lt;p&gt;Qian&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="276630" author="qian_wc" created="Tue, 4 Aug 2020 02:40:37 +0000"  >&lt;p&gt;I reproduced the failure on my local machine.&lt;/p&gt;

&lt;p&gt;Will update the patch soon.&lt;/p&gt;

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

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

&lt;p&gt;Qian&lt;/p&gt;</comment>
                            <comment id="276646" author="qian_wc" created="Tue, 4 Aug 2020 08:19:20 +0000"  >&lt;p&gt;Fix this bug in &lt;a href=&quot;https://review.whamcloud.com/#/c/38346/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/38346/&lt;/a&gt;&#160;&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10918&quot; title=&quot;Configurable rule based auto PCC caching for newly created files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10918&quot;&gt;LU-10918&lt;/a&gt; pcc: auto RO-PCC caching when O_RDONLY open files&lt;/p&gt;

&lt;p&gt;Please try the topmost patch:&lt;br/&gt;
&lt;a href=&quot;https://review.whamcloud.com/#/c/38352&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/38352&lt;/a&gt; &lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12373&quot; title=&quot;detach and delete the PCC cached files when remove a PCC backend from a client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12373&quot;&gt;LU-12373&lt;/a&gt; pcc: uncache the pcc copies when remove a PCC backend&lt;/p&gt;</comment>
                            <comment id="276648" author="vilapa" created="Tue, 4 Aug 2020 09:24:17 +0000"  >&lt;p&gt;Thank you, I started to test it.&lt;/p&gt;</comment>
                            <comment id="276658" author="vilapa" created="Tue, 4 Aug 2020 14:20:34 +0000"  >&lt;p&gt;Confirmation that bug was fixed.&#160; Verification was done for lustre-2.13.55_3_g066eec1-1.el7.x86_64 version. &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;
[root@trevis-59vm9 tests]# pdsh -w trevis-59vm[10-12]  bash /mnt/lustre/check_ro_cache.sh  | dshbak
----------------
trevis-59vm10
----------------
pcc:
  -
    pccpath: /mnt/pccro
    hsmtool: posix
    rwid: 0
    roid: 7
    flags: 2e
    autocache: fname={*.doc}
----------------
trevis-59vm11
----------------
pcc:
  -
    pccpath: /mnt/pccro
    hsmtool: posix
    rwid: 0
    roid: 7
    flags: 2e
    autocache: fname={*.doc}
----------------
trevis-59vm12
----------------
pcc:
  -
    pccpath: /mnt/pccro
    hsmtool: posix
    rwid: 0
    roid: 7
    flags: 2e
    autocache: fname={*.doc}
[root@trevis-59vm9 tests]# echo &#8220;YYYYY&#8221; &amp;gt; /mnt/lustre/fileabcd.doc
[root@trevis-59vm9 tests]#  pdsh -w trevis-59vm[10-12] lfs pcc state /mnt/lustre/fileabcd.doc
trevis-59vm12: file: /mnt/lustre/fileabcd.doc, type: readonly, PCC file: /002e/0000/0401/0000/0002/0000/0x200000401:0x2e:0x0, user number: 0, flags: 0
trevis-59vm10: file: /mnt/lustre/fileabcd.doc, type: readonly, PCC file: /002e/0000/0401/0000/0002/0000/0x200000401:0x2e:0x0, user number: 0, flags: 0
trevis-59vm11: file: /mnt/lustre/fileabcd.doc, type: readonly, PCC file: /002e/0000/0401/0000/0002/0000/0x200000401:0x2e:0x0, user number: 0, flags: 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="276660" author="vilapa" created="Tue, 4 Aug 2020 14:39:41 +0000"  >&lt;p&gt;Verified with lustre-client-2.13.55_3_g066eec1-1.el7.x86_64&lt;/p&gt;</comment>
                    </comments>
                    <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|i016vb:</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>