mds: invalid id for client eviction is to be treated as success#59874
mds: invalid id for client eviction is to be treated as success#59874
Conversation
neesingh-rh
left a comment
There was a problem hiding this comment.
I understand its breaking manila but don't you think client evict with invalid id needs to be handled, it seems like the command with invalid id is correct. Some user might again encounter this as a issue and we might have a ticket raised for this in future.
Are you referring to the issue about all clients getting evicted or the specific issue of handling invalid client-id? Commit 0ef5941 correctly fixes the client eviction part (where all clients were getting evicted), but the commit additionally changes the behaviour of returning -ESRCH on invalid client-id which breaks manila. Also, its good to have commands idempotent, so running the same command twice, which results in the same output is actually a good thing. |
The tracker issue was about eviction of all clients when wrong flags like |
|
jenkins test make check |
Manila has also designed their workflow based on I know its a bit awkward, but we need to be good citizens with our users and also my earlier point about idempotent operations. |
Introduced-by: 0ef5941 Fixes: http://tracker.ceph.com/issues/68132 Signed-off-by: Venky Shankar <vshankar@redhat.com>
|
This PR is under test in https://tracker.ceph.com/issues/68179. |
|
jenkins test windows |
Introduced-by: 0ef5941
Fixes: http://tracker.ceph.com/issues/68132
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e