-
Notifications
You must be signed in to change notification settings - Fork 91
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
Support NFSv4+ only storage repositories #551
Comments
@edwintorok is there anything we can do to assist on this? |
There needs to be some check of connectivity viability otherwise incorrect details given to a probe operation will take a full TCP session timeout to fail (~75 seconds) and that's terrible user experience. Using util.testHost to hit 2049/tcp is probably a reasonable start for that. The showmount call I think can be replaced by connecting to the server with no share name and running an |
I agree. So it's a 2 stages check:
@marcungeschikts we need to get that in our backlog |
I have been waiting for this issue to be fix for almost a year. I dont know how to help. But from what @MarkSymsCtx suggested I think that is ok. and I am not sure if this correct. I just try asking chatGPT about how mount verify the validity of the shared NFS and it gave me this answer..
but when I asked NSFv4 above does not have RPC available and how mount verifies it.. I get this answer.
not sure if this documented elsewhere.. but doing |
We'll try to move forward and to make a PoC here if we can. If it works (we have a test server in NFSv4 only), we can create a PR against this repo to fix it 👍 |
Do not call `rpcinfo` nor `showmount` when `device-config:nfsversion` is a NFSv4 version. This modification requires the user to already know `nfsversion>=4` and the `serverpath`. See: xapi-project#551 And: xcp-ng/xcp#135 Signed-off-by: BenjiReis <[email protected]>
NFSv4 only environments don't support `rpcinfo` and `showmount` calls as they're missing NFSv3 services. Do not call `rpcinfo` nor `showmount` when `device-config:nfsversion` is a NFSv4 version. This modification requires the user to already know `nfsversion>=4` and the `serverpath`. See: xapi-project#551 And: xcp-ng/xcp#135 Signed-off-by: BenjiReis <[email protected]>
NFSv4 only environments don't support `rpcinfo` and `showmount` calls as they're missing NFSv3 services. Do not call `rpcinfo` nor `showmount` when `device-config:nfsversion` is a NFSv4 version. This modification requires the user to already know `nfsversion>=4` and the `serverpath`. See: xapi-project#551 And: xcp-ng/xcp#135 Signed-off-by: BenjiReis <[email protected]>
NFSv4 only environments don't support `rpcinfo` and `showmount` calls as they're missing NFSv3 services. Do not call `rpcinfo` nor `showmount` when `device-config:nfsversion` is a NFSv4 version. This modification requires the user to already know `nfsversion>=4` and the `serverpath`. See: xapi-project#551 And: xcp-ng/xcp#135 Signed-off-by: BenjiReis <[email protected]>
NFSv4 only environments don't support `rpcinfo` and `showmount` calls as they're missing NFSv3 services. When `rpcinfo` or `showmount` fails, try to mount NFSv4 pseudo FS '/' to add '4' to supported NFS versions and run `ls` on the mounted pseudo FS to offer the first folder level of exports. See: xapi-project#551 And: xcp-ng/xcp#135 Signed-off-by: BenjiReis <[email protected]>
NFSv4 only environments don't support `rpcinfo` and `showmount` calls as they're missing NFSv3 services. When `rpcinfo` or `showmount` fails, try to mount NFSv4 pseudo FS '/' to add '4' to supported NFS versions and run `ls` on the mounted pseudo FS to offer the first folder level of exports. See: xapi-project#551 And: xcp-ng/xcp#135 Signed-off-by: BenjiReis <[email protected]>
NFSv4 only environments don't support `rpcinfo` and `showmount` calls as they're missing NFSv3 services. When `rpcinfo` or `showmount` fails, try to mount NFSv4 pseudo FS '/' to add '4' to supported NFS versions and run `ls` on the mounted pseudo FS to offer the first folder level of exports. See: xapi-project#551 And: xcp-ng/xcp#135 Signed-off-by: BenjiReis <[email protected]>
NFSv4 only environments don't support `rpcinfo` and `showmount` calls as they're missing NFSv3 services. When `rpcinfo` or `showmount` fails, try to mount NFSv4 pseudo FS '/' to add '4' to supported NFS versions and run `ls` on the mounted pseudo FS to offer the first folder level of exports. See: xapi-project#551 And: xcp-ng/xcp#135 Signed-off-by: BenjiReis <[email protected]>
NFSv4 only environments don't support `rpcinfo` and `showmount` calls as they're missing NFSv3 services. When `rpcinfo` or `showmount` fails, try to mount NFSv4 pseudo FS '/' to add '4' to supported NFS versions and run `ls` on the mounted pseudo FS to offer the first folder level of exports. See: #551 And: xcp-ng/xcp#135 Signed-off-by: BenjiReis <[email protected]>
On servers where NFSv3 is disabled and NFSv4+ is enabled and working,
rpcbind
andshowmount
commands do not work, causing thenfs.py
helper functions to falsely conclude that the server is unreachable.When activating an SR configured for NFSv4+,
check_server_tcp()
andcheck_server_service()
should probably be skipped, or maybe execute a simple check that2049/tcp
is open on the remote.As discussed in xcp-ng/xcp#135
The text was updated successfully, but these errors were encountered: