Project

General

Profile

Bug #50408

mds_session state is stale after restart all mds daemon

Added by wei qiaomiao 9 months ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

After restart all mds daemon, client-mds session is turn into stale state and the nfs service is not recover although all mds are active.
[root@host-192-168-10-242 ceph]# ceph daemon ./ceph-client.3616766.205271808.asok mds_sessions {
"id": 47485664,
"inst": {
"name": {
"type": "client",
"num": 47485664
},
"addr": {
"type": "v1",
"addr": "111.111.10.242:0",
"nonce": 727197612
}
},
"inst_str": "client.47485664 v1:111.111.10.242:0/727197612",
"addr_str": "v1:111.111.10.242:0/727197612",
"sessions": [ {
"mds": 0,
"addrs": {
"addrvec": [ {
"type": "v2",
"addr": "111.111.10.245:6848",
"nonce": 3862935479
}, {
"type": "v1",
"addr": "111.111.10.245:6851",
"nonce": 3862935479
}
]
},
"seq": 0,
"cap_gen": 0,
"cap_ttl": "2021-04-17 08:55:27.200270",
"last_cap_renew_request": "2021-04-17 09:00:05.585954",
"cap_renew_seq": 5718,
"num_caps": 1044428,
"state": "stale"
}, {
"mds": 1,
"addrs": {
"addrvec": [ {
"type": "v2",
"addr": "111.111.10.242:6802",
"nonce": 3916394385
}, {
"type": "v1",
"addr": "111.111.10.242:6803",
"nonce": 3916394385
}
]
},
"seq": 3,
"cap_gen": 0,
"cap_ttl": "2021-04-17 09:00:35.585968",
"last_cap_renew_request": "2021-04-17 09:00:05.585968",
"cap_renew_seq": 19,
"num_caps": 3,
"state": "open"
}, {
"mds": 2,
"addrs": {
"addrvec": [ {
"type": "v2",
"addr": "111.111.10.241:6920",
"nonce": 1939225066
}, {
"type": "v1",
"addr": "111.111.10.241:6923",
"nonce": 1939225066
}
]
},
"seq": 0,
"cap_gen": 0,
"cap_ttl": "2021-04-17 08:55:27.200279",
"last_cap_renew_request": "2021-04-17 09:00:05.585976",
"cap_renew_seq": 5719,
"num_caps": 904345,
"state": "stale"
}, {
"mds": 3,
"addrs": {
"addrvec": [ {
"type": "v2",
"addr": "111.111.10.245:6920",
"nonce": 102369636
}, {
"type": "v1",
"addr": "111.111.10.245:6921",
"nonce": 102369636
}
]
},
"seq": 0,
"cap_gen": 0,
"cap_ttl": "2021-04-17 08:55:27.200282",
"last_cap_renew_request": "2021-04-17 09:00:05.585981",
"cap_renew_seq": 5718,
"num_caps": 739871,
"state": "stale"
},

History

#1 Updated by Sage Weil 9 months ago

  • Project changed from Ceph to CephFS

Also available in: Atom PDF