-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when deleting entry #41
Comments
It looks like there are some files not created by NOMAD (i.e. by the nomad user, linux uid 1000). When NOMAD is trying to delete the directory it is either not removing the extra files or not allowed to remove the extra files. From the file name, I would assume it is your nfs implementation creating some extra files in the upload folders or the nfs is during operation on the file, or something like this. Could you check the owning user id and rights on this file '.nfs000000010fa5315e00000001' for us. This might help to find a solution. You have to imagine that NOMAD acts as a nomal user with id 1000 that tries to "rm -r" a directory. |
Thanks @markus1978 for the quick reply, please find below the information for this file:
The UID of localadmin is 1000. After restarting the container, the
I have tried to change the path of the |
I classify this as a bug for now. From what you are saying, NOMAD should been able to delete the file itself and consequently should be able to delete the folder. And even if not, NOMAD should expect these situations, because we want to enable clients to integrate the NOMAD directories into existing storage solutions like you are doing it. |
@mohammadnakhaee Can you have a look at this, please. You could experiment with externally created extra "secret" files (starting with |
For completeness, the full path is:
The file name is different because it is from a different upload/delete test. This file seems to be created when attempting to delete the data entry. It deletes the upload successfully when following these steps:
Could it be that there is something that keep a file open (I can see only a |
I could reproduce it by changing the attribute of an extra file |
I have setup a nomad-oasis server with a symbolic link of the
./volumes
folder to a separate folder. It works fine to upload the data and I see the data being created in the right place, but there are errors when deleting the entry from the "your existing upload" section:at first attempt:
at second attempt:
The text was updated successfully, but these errors were encountered: