[LU-8405] MGT should check servicenode nid before accepting mount Created: 15/Jul/16 Updated: 29/Jul/16 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Gary Hagensen (Inactive) | Assignee: | Hongchao Zhang |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
The MGS will just accept a mount request even if the servicenode arguments are invalid nids. This results in the OST going to "partial connect: state when the MDT tried to use the bad nids and also the mount being put into the replay log, so that the partial attach never goes away. It survives a reboot, lustre_rmmod and remount of the MGT and MDT.It gets replayed. The MGS should check all the failover nids (even a simple lctl ping) before accepting the mount, Allowing it to be accepted causes too many problems downstream. |
| Comments |
| Comment by Hongchao Zhang [ 29/Jul/16 ] |
|
the problem here is target will register itself without any nid in mti->mti_nids (struct mgs_target_info) if the "--servicenode" param is given the patch http://review.whamcloud.com/19933/ from |