[jdk17u-dev] RFR: 8337966: (fs) Files.readAttributes fails with Operation not permitted on older docker releases
akhilesh-delphix
duke at openjdk.org
Thu Nov 21 05:41:17 UTC 2024
On Thu, 14 Nov 2024 18:53:15 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:
>>> java.nio.file.FileSystemException: app.jar: Function not implemented
>>
>> This looks like a different issue.
>
>> java.nio.file.FileSystemException: app.jar: Function not implemented
>
> @akhilesh-delphix, It looks like a similar issue, but the state syscall returns `ENOSYS` error code instead of `EPERM`. So, this PR does not fix your issue.
> Could you please describe your environment? Maybe we will need a follow-up to handle `ENOSYS` as well.
hi @alexeybakhtin
I have a alpine:3.19.0 based docker image which is getting deployed as Pod in K8s deployment. It deploys well for all customers except this one where we are facing the above issue:
**Container runtime**
`containerd://1.7.20-k3s1`
**kubectl version**
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.0", GitCommit:"1b4df30b3cdfeaba6024e81e559a6cd09a089d65", GitTreeState:"clean", BuildDate:"2023-04-11T17:10:18Z", GoVersion:"go1.20.3", Compiler:"gc", Platform:"windows/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"30", GitVersion:"v1.30.4+rke2r1", GitCommit:"a51b3b711150f57ffc1f526a640ec058514ed596", GitTreeState:"clean", BuildDate:"2024-08-15T06:00:17Z", GoVersion:"go1.22.5 X:boringcrypto", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.27) and server (1.30) exceeds the supported minor version skew of +/-1
Java Version
`openjdk version "17.0.12" 2024-07-16
`
Please let me know if you require more details.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2883#issuecomment-2490120770
More information about the jdk-updates-dev
mailing list