-
Notifications
You must be signed in to change notification settings - Fork 115
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
ext-iscsi is broken #490
Comments
This has nothing to do with extensions, you might need to use the fat kubelet image: https://www.talos.dev/v1.8/introduction/what-is-new/#slim-kubelet-image |
Thanks @frezbo. Using fat kubectl image for worker nodes seems to have changed some things. For some pods I now see multi-attach errors (iscsi target was attached on one node and then not detached when pod has moved). Other pods seem to just hang on ContainerCreating without errors. Only containers with iscsi PVs have issues though. Is there something else I could try looking at? |
it could be also due to k8s removing all in-tree CSI's |
Interesting suggestion. I thought that this migration was done quite some time ago and did not affect iSCSI. In Talos v1.7.7 everything works and its k8s version is not too far behind. |
This is the kind of errors I see now:
|
It might be that you have wrong version of the extension installed, it's hard to guess. |
The version of the extension is determined automatically. I have this definition: customization:
systemExtensions:
officialExtensions:
- siderolabs/qemu-guest-agent
- siderolabs/intel-ucode
- siderolabs/i915-ucode
- siderolabs/iscsi-tools and get image from the image factory:
|
I have figured out what this error is. It was a cosmetic problem in this case, I'll push a fix to
EDIT: fix for kubelet: siderolabs/kubelet#87 |
Extra information: EDIT:
No errors. If I Ctrl+C it - it appears to be logged in, but no disk device is created. EDIT2: EDIT3:
If I set EDIT4: |
The new ext-iscsi uses |
you can use custom extensions using imager to generate custom installer image, is there a known fix for open-iscsi, we could then update it |
I'll check the diff between the versions and open the issue there. I'll update this issue if I find out anything else. |
The issue was identified and PR with the fix is up. I've verified that it does indeed fix the issue. Will we have to wait for a new release, or can we pick this up as soon as it is merged? |
i guess we can pick for 1.8.1 |
That PR was just merged. |
@frezbo do you mind to apply the patch, and we can backport (to 1.8.2) this week |
Apply the upstream patch (no release yet). Fixes: siderolabs#490 Signed-off-by: Noel Georgi <[email protected]>
In versions 1.8.0 and 1.8.1 something broke with regards to ext-iscsi. All iSCSI PV's (that worked in 1.7.7) stopped working. The error I see (from the pod description):
I checked that the
iscsiadm
binary actually exists, but is not available forkubelet
.Start privileged container:
In the container: run in
ext-iscsi
's namespace:In the container: run in
kubelet
's namespace:The text was updated successfully, but these errors were encountered: