[LU-8850] Set nodemap and add node range will cause Assertion Created: 18/Nov/16  Updated: 30/Nov/16  Resolved: 30/Nov/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: sebg-crd-pm (Inactive) Assignee: Peter Jones
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Centos OS 7.2 3.10.0-327.el7.x86_64
ZFS 0.6.5.7
Lustre 2.8.60_9_g35b5b07


Issue Links:
Duplicate
duplicates LU-8824 sanity-sec test_9: ASSERTION( config-... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When I only add nodemap rule first time and set range to it. The assertion occurred. I also reformatted the MGT/MDT/OST many times, the situation was still the same. However, MGS/MDS was still alive and the nodemap rule is in the following:
nodemap.b7e80612b9de478A.admin_nodemap=0
nodemap.b7e80612b9de478A.deny_unknown=0
nodemap.b7e80612b9de478A.exports=[

]
nodemap.b7e80612b9de478A.fileset=/b7e80612-b9de-478A-bf61-6ed39dd318b2
nodemap.b7e80612b9de478A.id=2
nodemap.b7e80612b9de478A.idmap=[

]
nodemap.b7e80612b9de478A.ranges=
[

{ id: 2, start_nid: 10.8.8.9@o2ib1, end_nid: 10.8.8.9@o2ib1 }

]
nodemap.b7e80612b9de478A.squash_gid=99
nodemap.b7e80612b9de478A.squash_uid=99
nodemap.b7e80612b9de478A.trusted_nodemap=0
nodemap.default.admin_nodemap=0
nodemap.default.exports=
[

{ nid: 0@lo, uuid: hpcfs-MDT0000-lwp-MDT0000_UUID }

,

{ nid: 172.17.2.33@o2ib, uuid: hpcfs-MDT0000-lwp-OST0000_UUID }

,
]
nodemap.default.id=0
nodemap.default.squash_gid=99
nodemap.default.squash_uid=99
nodemap.default.trusted_nodemap=0

172.17.x.x is my IB0 interface 10.8.x.x is IB0 partion(ib0.8xxx)

Then asstion log is in the fllowing:
Message from syslogd@oss1 at Nov 18 16:35:24 ...
kernel:LustreError: 21843:0:(nodemap_handler.c:1428:nodemap_config_set_active()) ASSERTION( config->nmc_default_nodemap ) failed:

Message from syslogd@oss1 at Nov 18 16:35:24 ...
kernel:LustreError: 21843:0:(nodemap_handler.c:1428:nodemap_config_set_active()) LBUG

Message from syslogd@oss1 at Nov 18 16:35:24 ...
kernel:Kernel panic - not syncing: LBUG
Sorry, I cannot catch more detail information about kernel panic



 Comments   
Comment by Peter Jones [ 18/Nov/16 ]

Does this still reproduce with the fix proposed for LU-8824?

Comment by sebg-crd-pm (Inactive) [ 30/Nov/16 ]

Sorry for late response. The patch fixes the problem. Thanks for your help.

Comment by Peter Jones [ 30/Nov/16 ]

Excellent thanks for confirming

Generated at Sat Feb 10 02:21:05 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.