Skip to content
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

mount.cifs + krb5 looking for ticket at incorrect location #612

Closed
edward2a opened this issue May 11, 2023 · 2 comments
Closed

mount.cifs + krb5 looking for ticket at incorrect location #612

edward2a opened this issue May 11, 2023 · 2 comments

Comments

@edward2a
Copy link
Contributor

edward2a commented May 11, 2023

What happened:
Mount failed and container crashing.

May 11 10:19:42 worker-02 cifs.upcall: get_existing_cc: default ccache is FILE:/tmp/krb5cc_0

What you expected to happen:
Mount successful and container started.

How to reproduce it:
Install using manual installation (described below).

Anything else we need to know?:
The smb container is failing to mount with the error above.

The host has the appropriate kerberos configuration as per the documentation, pointing the krb5cc to
/var/lib/kubelet/kerberos/krb5cc_%{uid}.

Mounting from the host works appropriately with the exact same command as issued by the smb container.

Upon adding a krb5.conf inside the container with the appropriate configuration for the krb5cc path the mount executes correctly.

Environment:
Kubernetes 1.25 cluster (1 master, 3 workers)
Windows Server 2019 AD

  • CSI Driver version: master (see below)
  • Kubernetes version (use kubectl version): 1.25
  • OS (e.g. from /etc/os-release): debian 11
  • Kernel (e.g. uname -a): Linux 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux
  • Install tools: deploy/install-driver.sh master local
  • Others:
image: gcr.io/k8s-staging-sig-storage/smbplugin                canary              87ca29f8edd3e       77.4MB

Build Date: "2023-05-08T23:15:20Z"
Compiler: gc
Driver Name: smb.csi.k8s.io
Driver Version: v1.10.0
Git Commit: ""
Go Version: go1.19
Platform: linux/amd64
@andyzhangx
Copy link
Member

this issue would be fixed by #613, right? @edward2a

@edward2a
Copy link
Contributor Author

It does indeed, thanks for the reminder!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants