<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:07:29 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-14175] OI Scrub triggered followed by LBUG ASSERTION( idx1 == 0 || idx1 == osd-&gt;od_index ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-14175</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I&apos;m opening this with Sev2 as we have an OST down on Oak. Indeed we have a problem this morning with one OST on Oak (note that Oak has been upgraded to 2.12.5 from 2.10 recently):&lt;/p&gt;

&lt;p&gt;&#160;&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;Dec 02 09:13:01 oak-io1-s2 kernel: Lustre: oak-OST000b: Recovery over after 2:42, of 1789 clients 1631 recovered and 158 were evicted.
Dec 02 09:13:01 oak-io1-s2 kernel: Lustre: Skipped 3 previous similar messages
Dec 02 09:13:01 oak-io1-s2 kernel: Lustre: oak-OST000b: deleting orphan objects from 0x10400013a0:371764 to 0x10400013a0:371809
Dec 02 09:13:01 oak-io1-s2 kernel: Lustre: oak-OST000b: deleting orphan objects from 0x1040000bd0:3790954 to 0x1040000bd0:3790977
Dec 02 09:13:01 oak-io1-s2 kernel: Lustre: oak-OST000b: deleting orphan objects from 0x0:33786809 to 0x0:33786849
Dec 02 09:13:01 oak-io1-s2 kernel: Lustre: oak-OST000b: deleting orphan objects from 0x1040000400:3170249 to 0x1040000400:3170273
Dec 02 09:13:02 oak-io1-s2 kernel: Lustre: oak-OST000b: trigger OI scrub by RPC for the [0x1000b0000:0x10c759a:0x0] with flags 0x4a, rc = 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;[root@oak-io1-s2 ~]# lctl get_param -n osd-ldiskfs.oak-OST000b.oi_scrub
name: OI_scrub
magic: 0x4c5fd252
oi_files: 64
status: scanning
flags: auto
param:
time_since_last_completed: N/A
time_since_latest_start: 16 seconds
time_since_last_checkpoint: 16 seconds
latest_start_position: 12
last_checkpoint_position: 11
first_failure_position: N/A
checked: 1186
updated: 0
failed: 0
prior_updated: 0
noscrub: 4
igif: 0
success_count: 0
run_time: 16 seconds
average_speed: 74 objects/sec
real-time_speed: 74 objects/sec
current_position: 1263
scrub_in_prior: no
scrub_full_speed: yes
partial_scan: no
lf_scanned: 0
lf_repaired: 0
lf_failed: 0
[root@oak-io1-s2 ~]# 
Message from syslogd@oak-io1-s2 at Dec  2 09:13:19 ...
 kernel:LustreError: 291930:0:(osd_compat.c:701:osd_obj_update_entry()) ASSERTION( idx1 == 0 || idx1 == osd-&amp;gt;od_index ) failed: invalid given FID [0x1000a0000:0x1d37dd1:0x0], not match the device index 11

Message from syslogd@oak-io1-s2 at Dec  2 09:13:19 ...
 kernel:LustreError: 291930:0:(osd_compat.c:701:osd_obj_update_entry()) LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The backtrace is:&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;Dec  2 03:41:08 oak-io1-s2 kernel: LustreError: 255421:0:(osd_compat.c:701:osd_obj_update_entry()) ASSERTION( idx1 == 0 || idx1 == osd-&amp;gt;od_index ) failed: invalid given FID [0x1000a0000:0x1d37dd1:0x0], not match the device index 11
Dec  2 03:41:08 oak-io1-s2 kernel: LustreError: 255421:0:(osd_compat.c:701:osd_obj_update_entry()) LBUG
Dec  2 03:41:08 oak-io1-s2 kernel: Pid: 255421, comm: OI_scrub 3.10.0-957.27.2.el7_lustre.pl2.x86_64 #1 SMP Thu Nov 7 15:26:16 PST 2019
Dec  2 03:41:08 oak-io1-s2 kernel: Call Trace:
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffc0b3e7cc&amp;gt;] libcfs_call_trace+0x8c/0xc0 [libcfs]
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffc0b3e87c&amp;gt;] lbug_with_loc+0x4c/0xa0 [libcfs]
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffc1458149&amp;gt;] osd_obj_update_entry+0x969/0x980 [osd_ldiskfs]
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffc145a8a0&amp;gt;] osd_obj_map_update+0x1a0/0x340 [osd_ldiskfs]
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffc14471a9&amp;gt;] osd_oi_update+0x69/0x290 [osd_ldiskfs]
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffc145c71c&amp;gt;] osd_scrub_refresh_mapping+0x27c/0x440 [osd_ldiskfs]
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffc14611e0&amp;gt;] osd_scrub_check_update+0x280/0x10f0 [osd_ldiskfs]
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffc14620b5&amp;gt;] osd_scrub_exec+0x65/0x4f0 [osd_ldiskfs]
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffc14629e8&amp;gt;] osd_inode_iteration+0x4a8/0xcf0 [osd_ldiskfs]
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffc1463ad9&amp;gt;] osd_scrub_main+0x8a9/0xe40 [osd_ldiskfs]
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffaa4c2e81&amp;gt;] kthread+0xd1/0xe0
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffaab77c37&amp;gt;] ret_from_fork_nospec_end+0x0/0x39
Dec  2 03:41:08 oak-io1-s2 kernel: [&amp;lt;ffffffffffffffff&amp;gt;] 0xffffffffffffffff
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We ran fsck on the device and then the issue occurred again:&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;Dec  2 09:13:19 oak-io1-s2 kernel: LustreError: 291930:0:(osd_compat.c:701:osd_obj_update_entry()) ASSERTION( idx1 == 0 || idx1 == osd-&amp;gt;od_index ) failed: invalid given FID [0x1000a0000:0x1d37dd1:0x0], not match the device index 11
Dec  2 09:13:19 oak-io1-s2 kernel: LustreError: 291930:0:(osd_compat.c:701:osd_obj_update_entry()) LBUG
Dec  2 09:13:19 oak-io1-s2 kernel: Pid: 291930, comm: OI_scrub 3.10.0-957.27.2.el7_lustre.pl2.x86_64 #1 SMP Thu Nov 7 15:26:16 PST 2019
Dec  2 09:13:19 oak-io1-s2 kernel: Call Trace:
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffc0cbe7cc&amp;gt;] libcfs_call_trace+0x8c/0xc0 [libcfs]
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffc0cbe87c&amp;gt;] lbug_with_loc+0x4c/0xa0 [libcfs]
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffc15c6149&amp;gt;] osd_obj_update_entry+0x969/0x980 [osd_ldiskfs]
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffc15c88a0&amp;gt;] osd_obj_map_update+0x1a0/0x340 [osd_ldiskfs]
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffc15b51a9&amp;gt;] osd_oi_update+0x69/0x290 [osd_ldiskfs]
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffc15ca71c&amp;gt;] osd_scrub_refresh_mapping+0x27c/0x440 [osd_ldiskfs]
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffc15cf1e0&amp;gt;] osd_scrub_check_update+0x280/0x10f0 [osd_ldiskfs]
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffc15d00b5&amp;gt;] osd_scrub_exec+0x65/0x4f0 [osd_ldiskfs]
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffc15d09e8&amp;gt;] osd_inode_iteration+0x4a8/0xcf0 [osd_ldiskfs]
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffc15d1ad9&amp;gt;] osd_scrub_main+0x8a9/0xe40 [osd_ldiskfs]
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffbcac2e81&amp;gt;] kthread+0xd1/0xe0
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffbd177c37&amp;gt;] ret_from_fork_nospec_end+0x0/0x39
Dec  2 09:13:19 oak-io1-s2 kernel: [&amp;lt;ffffffffffffffff&amp;gt;] 0xffffffffffffffff
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;Do you have an idea on how to find which file it is? I&apos;m thinking on remounting with noscrub to avoid the LBUG, that will be my next step.&lt;/p&gt;

&lt;p&gt; Thanks!&lt;br/&gt;
 Stephane&lt;/p&gt;</description>
                <environment>CentOS 7.6</environment>
        <key id="61842">LU-14175</key>
            <summary>OI Scrub triggered followed by LBUG ASSERTION( idx1 == 0 || idx1 == osd-&gt;od_index ) failed</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="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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="sthiell">Stephane Thiell</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Dec 2020 17:21:00 +0000</created>
                <updated>Thu, 5 May 2022 13:36:41 +0000</updated>
                            <resolved>Thu, 5 May 2022 13:36:41 +0000</resolved>
                                    <version>Lustre 2.12.5</version>
                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="286515" author="sthiell" created="Wed, 2 Dec 2020 17:50:11 +0000"  >&lt;p&gt;Mounting oak-OST000b with noscrub seems to avoid the LBUG for now. The status of OI Scrub is &apos;crashed&apos;:&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;[root@oak-io1-s2 ~]# lctl get_param osd-ldiskfs.oak-OST000b.oi_scrub
osd-ldiskfs.oak-OST000b.oi_scrub=
name: OI_scrub
magic: 0x4c5fd252
oi_files: 64
status: crashed
flags: auto
param:
time_since_last_completed: N/A
time_since_latest_start: 2154 seconds
time_since_last_checkpoint: 2154 seconds
latest_start_position: 12
last_checkpoint_position: 11
first_failure_position: N/A
checked: 0
updated: 0
failed: 0
prior_updated: 0
noscrub: 0
igif: 0
success_count: 0
run_time: 0 seconds
average_speed: 0 objects/sec
real-time_speed: N/A
current_position: N/A
lf_scanned: 0
lf_repaired: 0
lf_failed: 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Perhaps there is something to improve here to avoid the LBUG on OI Scrub. Let me know how I can help, I do have 2 crash dumps if needed. Thanks!&lt;/p&gt;</comment>
                            <comment id="286649" author="pjones" created="Thu, 3 Dec 2020 18:35:58 +0000"  >&lt;p&gt;Lai&lt;/p&gt;

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

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="296983" author="gerrit" created="Sat, 27 Mar 2021 20:29:04 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/43153&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/43153&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14175&quot; title=&quot;OI Scrub triggered followed by LBUG ASSERTION( idx1 == 0 || idx1 == osd-&amp;gt;od_index ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14175&quot;&gt;&lt;del&gt;LU-14175&lt;/del&gt;&lt;/a&gt; osd: print inode number with FID in OI scrub&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1cbe61483dad10b67d93db3fe2b9b522a7ed50b3&lt;/p&gt;</comment>
                            <comment id="296986" author="adilger" created="Sat, 27 Mar 2021 23:50:50 +0000"  >&lt;p&gt;Patch is only improving the error message, not actually fixing the crash.&lt;/p&gt;</comment>
                            <comment id="298835" author="gerrit" created="Thu, 15 Apr 2021 06:30:22 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/43153/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/43153/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14175&quot; title=&quot;OI Scrub triggered followed by LBUG ASSERTION( idx1 == 0 || idx1 == osd-&amp;gt;od_index ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14175&quot;&gt;&lt;del&gt;LU-14175&lt;/del&gt;&lt;/a&gt; osd: print inode number with FID in OI scrub&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5bab4acf8320b46076c81f32f7954f91dae21bc9&lt;/p&gt;</comment>
                            <comment id="333863" author="pjones" created="Thu, 5 May 2022 13:36:41 +0000"  >&lt;p&gt;Seems to be landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="61557">LU-14119</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|i01g8n:</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="10021"><![CDATA[2]]></customfieldvalue>

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