You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some case, with Lustre 2.16, Robinhood 3.1.7 + patches from GerritHub (see our branch here https://github.com/stanford-rc/robinhood/ ). With Lustre changelogs, RENME/RNMTO enabled, a rename does not always update fileclasses. It's quite frequent when using MinIO on top of Lustre as each file uploaded is renamed to its final destination after the upload is complete.
Example, we had a fileclass like this, that we use to exclude files from a policy:
FileClass miniosys {
definition { tree == "/elm/*/*/*/*/minio/*/*/.minio.sys" }
}
Files are first created within .minio.sys/ so they get the miniosys fileclass at first, but then after a rename, occasionally (but quite often with MinIO), they keep the miniosys fileclass after the rename:
I've been trying to troubleshoot this issue like this without success for now. Simple rename cases just work, but when used at scale with MinIO, it seems to be a race condition happening where the fileclasses are not updated. One thing with MinIO is that the file is created within .minio.sys within a temporary directory, that is also deleted just after the file is renamed to its final destination. Thus, when the rename changelog is processed, its parent dir does not exist anymore. This could be why we're seeing this race with MinIO a lot and perhaps why "Parent dir for entry [0x280000c5c:0x1942e:0x0] is unknown" is shown here, but I am not 100% sure.
I am opening this ticket to keep track of this issue but I will use a workaround for now, by including tree != "/elm/*/*/*/*/minio/*/*/.minio.sys" within the policy condition itself and not use a fileclass for this.
Note that a full scan is a way to fix the fileclasses.
The text was updated successfully, but these errors were encountered:
In some case, with Lustre 2.16, Robinhood 3.1.7 + patches from GerritHub (see our branch here https://github.com/stanford-rc/robinhood/ ). With Lustre changelogs, RENME/RNMTO enabled, a rename does not always update fileclasses. It's quite frequent when using MinIO on top of Lustre as each file uploaded is renamed to its final destination after the upload is complete.
Example, we had a fileclass like this, that we use to exclude files from a policy:
Files are first created within
.minio.sys/
so they get the miniosys fileclass at first, but then after a rename, occasionally (but quite often with MinIO), they keep the miniosys fileclass after the rename:Full logs with this FID:
I've been trying to troubleshoot this issue like this without success for now. Simple rename cases just work, but when used at scale with MinIO, it seems to be a race condition happening where the fileclasses are not updated. One thing with MinIO is that the file is created within .minio.sys within a temporary directory, that is also deleted just after the file is renamed to its final destination. Thus, when the rename changelog is processed, its parent dir does not exist anymore. This could be why we're seeing this race with MinIO a lot and perhaps why "Parent dir for entry [0x280000c5c:0x1942e:0x0] is unknown" is shown here, but I am not 100% sure.
I am opening this ticket to keep track of this issue but I will use a workaround for now, by including
tree != "/elm/*/*/*/*/minio/*/*/.minio.sys"
within the policy condition itself and not use a fileclass for this.Note that a full scan is a way to fix the fileclasses.
The text was updated successfully, but these errors were encountered: