Comments (11)
Thanks for the link to #155. Since it evicted NFSRODS from the list of the suspects for the mounting error, I investigated other mounts inside containers.
It turns out mounting from within a container requires additional privileges. Adding the --privileged
flag when running the test container solved the mounting issue.
Sorry for bringing this issue back to life.
from irods_client_nfsrods.
Do we just remove this line?
from irods_client_nfsrods.
from irods_client_nfsrods.
this may have been resolved. is anyone still seeing this message following recent releases?
from irods_client_nfsrods.
I thought I had seen it with 1.0.0... do you not?
from irods_client_nfsrods.
it didn't show up in my last test of nfsrods. i need to verify that though.
from irods_client_nfsrods.
confirmed with irods/nfsrods:1.0.0
as released...
2020-08-26 14:15:25.718 WARN Thread-1 [OncRpcSvc] - Failed to register at portmap: portmap service not available
from irods_client_nfsrods.
Installing the rpcbind
service and starting it fixes this issue. Fix coming in PR #114
from irods_client_nfsrods.
Hi 👋
We are trying to deploy this NFS client on our iRODS zone (currently my local test environment). All our services run in Docker containers, so I tried to run the Docker image as explained in the README.md
.
When I start the container, here are the logs:
2024-04-09 13:27:24.965 INFO Thread-1 [ServerMain] - Build Time => 2024-04-09T07:45:07+0000
2024-04-09 13:27:24.965 INFO Thread-1 [ServerMain] - Build Version => 2.2.0
2024-04-09 13:27:24.965 INFO Thread-1 [ServerMain] - Build SHA => 22028f190639e298c17a804df2a370bbb32b76e9
2024-04-09 13:27:25.134 INFO Thread-1 [ServerMain] - main - Server config ==> {
"nfs_server" : {
"port" : 2049,
"irods_mount_point" : "/testZone",
"user_information_refresh_time_in_milliseconds" : 3600000,
"file_information_refresh_time_in_milliseconds" : 1000,
"user_access_refresh_time_in_milliseconds" : 1000,
"object_type_refresh_time_in_milliseconds" : 300000,
"user_permissions_refresh_time_in_milliseconds" : 300000,
"user_type_refresh_time_in_milliseconds" : 300000,
"list_operation_query_results_refresh_time_in_milliseconds" : 30000,
"allow_overwrite_of_existing_files" : true,
"using_oracle_database" : false
},
"irods_client" : {
"host" : "provider.irods.local",
"port" : 1247,
"zone" : "testZone",
"default_resource" : "backupResc",
"ssl_negotiation_policy" : "CS_NEG_DONT_CARE",
"connection_timeout_in_seconds" : 600,
"proxy_admin_account" : {
"username" : "rods",
"password" : "*************"
}
}
}
2024-04-09 13:27:25.162 DEBUG Thread-1 [ServerMain] - configureClientServerNegotiationPolicy - Policy = CS_NEG_DONT_CARE
2024-04-09 13:27:25.316 DEBUG Thread-1 [IRODSIdMapper] - IRODSUser - iRODS mount point = /testZone
2024-04-09 13:27:25.316 DEBUG Thread-1 [IRODSIdMapper] - IRODSUser - Creating proxy for username [rods] ...
2024-04-09 13:27:25.671 DEBUG Thread-1 [IRODSIdMapper] - InodeToPathMapper - iRODS mount point = /testZone
2024-04-09 13:27:25.868 DEBUG Thread-1 [IRODSIdMapper] - establishRoot - Mapping root to [irods://[email protected]:1247/testZone] ...
2024-04-09 13:27:25.869 DEBUG Thread-1 [IRODSIdMapper] - map - mapping inode number to path [10004 => /testZone] ...
2024-04-09 13:27:25.869 DEBUG Thread-1 [IRODSIdMapper] - map - previously mapped path [null]
2024-04-09 13:27:25.870 DEBUG Thread-1 [IRODSIdMapper] - establishRoot - Mapping successful.
2024-04-09 13:27:34.142 WARN Thread-1 [OncRpcSvc] - Failed to register at portmap: portmap service not available
2024-04-09 13:27:34.144 INFO Thread-1 [ServerMain] - main - Press ctrl-c to shutdown.
After searching for a bit, I found the present issue and this commit. It seems that the modifications from this commit are not in the current repository.
I thus proceeded to add rpcbind
to the list of the installed packages in the image, and service rpcbind start
to the start.sh
script. Then, the only difference in the logs are those two lines at the beginning:
ln: failed to create symbolic link '/run/sendsigs.omit.d/rpcbind': No such file or directory
Starting RPC port mapper daemon: rpcbind failed!
When I try to mount on another host/container using:
$ mkdir /irods
$ mount -v -o sec=sys,port=2049,nolock nfs.irods.local:/ /irods
mount.nfs: timeout set for Tue Apr 9 14:09:19 2024
mount.nfs: trying text-based options 'sec=sys,port=2049,nolock,vers=4.2,addr=172.20.0.4,clientaddr=172.20.0.5'
mount.nfs: mount(2): Operation not permitted
mount.nfs: trying text-based options 'sec=sys,port=2049,nolock,addr=172.20.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: portmap query retrying: RPC: Unable to receive
mount.nfs: prog 100003, trying vers=3, prot=17
mount.nfs: portmap query failed: RPC: Unable to receive - Connection refused
mount.nfs: Operation not permitted
Do you have any idea why this does not work? Is there a reason why these lines are not included in the sources anymore?
from irods_client_nfsrods.
The reason the changes in that commit for rpcbind aren't included is because of #155.
We bumped the OS image to Ubuntu 22.04 for NFSRODS v2.2.0. In all of my testing, the message about portmap never appeared to affect NFSRODS' operation.
We aren't sure what causes that message yet. For now, it has remained a low priority item since there's no evidence of it having a negative impact on usage.
As for the mount error, please explain your setup between computers, containers, and where the mount command is being run.
from irods_client_nfsrods.
Glad you got it working.
from irods_client_nfsrods.
Related Issues (20)
- SNAPSHOT reference in 2.1.0 pom HOT 2
- truncate does not exist for nfsrods HOT 13
- Build fails after most recent OpenJDK 17.0.7 update HOT 6
- add configuration to set NFSRODS reported freespace HOT 12
- `FileNotFoundException` when mounting NFSRODS HOT 3
- Investigate inconsistencies in tests HOT 6
- Permissions do not map correctly to 10 level permission model in iRODS 4.3.0 HOT 2
- Avoid unnecessary stat in middle of list operation
- Bump Jackson JSON library dependency to 2.15.3
- Investigate ways to improve performance of `InodeToPathMapper` class
- When I try to run Docker container, the error [SSL is required on the server, but not on the client] is output. HOT 12
- Do not run NFSRODS in docker using the root user account
- Update use of `keytool` in startup script of docker image
- `inodeNumber` variable not updated correctly when `null`
- Update docker image to build on top of Ubuntu 22.04
- Release activities for 2.2.0
- When I try to run Docker container, the error [SSL is required on the server, but not on the client] is output. HOT 11
- Bump Jargon version to 4.3.4.0-SNAPSHOT
- Release activities for 2.3.0
- Log warning on startup if iRODS server doesn't support replica_truncate API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irods_client_nfsrods.