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

Enable SMB 3.1.1 multichannel on AKSUbuntu-1804containerd #2706

Closed
datwelk opened this issue Dec 19, 2021 · 6 comments
Closed

Enable SMB 3.1.1 multichannel on AKSUbuntu-1804containerd #2706

datwelk opened this issue Dec 19, 2021 · 6 comments
Labels
resolution/answer-provided Provided answer to issue, question or feedback.

Comments

@datwelk
Copy link

datwelk commented Dec 19, 2021

What happened:
An AKS node running AKSUbuntu-1804containerd-2021.07.25 with 5.4.0-1055-azure kernel uses SMB version 3.0.

What you expected to happen:
If an Azure File Storage account has SMB multichannel enabled, I expect the AKS cluster nodes to also use SMB 3.1.1, which is a minimum requirement from the server side to use the SMB multichannel functionality (see: here)

How to reproduce it (as minimally and precisely as possible):
N/A

Anything else we need to know?:
How do I enable SMB multichannel on Linux AKS node clients?

Environment:

  • Kubernetes version (use kubectl version): 1.19
  • Size of cluster (how many worker nodes are in the cluster?): N/A
  • General description of workloads in the cluster (e.g. HTTP microservices, Java app, Ruby on Rails, machine learning, etc.): microservices
  • Others: N/A
@ghost ghost added the triage label Dec 19, 2021
@ghost
Copy link

ghost commented Dec 19, 2021

Hi datwelk, AKS bot here 👋
Thank you for posting on the AKS Repo, I'll do my best to get a kind human from the AKS team to assist you.

I might be just a bot, but I'm told my suggestions are normally quite good, as such:

  1. If this case is urgent, please open a Support Request so that our 24/7 support team may help you faster.
  2. Please abide by the AKS repo Guidelines and Code of Conduct.
  3. If you're having an issue, could it be described on the AKS Troubleshooting guides or AKS Diagnostics?
  4. Make sure your subscribed to the AKS Release Notes to keep up to date with all that's new on AKS.
  5. Make sure there isn't a duplicate of this issue already reported. If there is, feel free to close this one and '+1' the existing issue.
  6. If you have a question, do take a look at our AKS FAQ. We place the most common ones there!

@datwelk
Copy link
Author

datwelk commented Dec 19, 2021

Kubernetes Volume docs specifically mention only SMB 2.1 and 3.0: https://kubernetes.io/docs/concepts/storage/volumes/#azurefile.

This could explain why 3.0 is used. Does SMB 3.1.1 require the azureFile CSI driver over the 'in-tree plugin'?

@andyzhangx
Copy link
Contributor

andyzhangx commented Dec 20, 2021

if you are using Azure File CSI driver on aks 1.21+, it's already using vers=3.1.1 by default, Linux version 5.4.0-1063-azure

@andyzhangx andyzhangx added the resolution/answer-provided Provided answer to issue, question or feedback. label Dec 20, 2021
@ghost ghost removed the triage label Dec 20, 2021
@andyzhangx
Copy link
Contributor

it seems Linux version 5.4.0-1063-azure does not support -o multichannel mount options:

[914489.007018] CIFS: Attempting to mount //xxx.file.core.windows.net/pvc-359e202c-9bb3-4217-b022-480a863af014
[914489.007054] CIFS: Unknown mount option "multichannel"
[914493.542743] IPv6: ADDRCONF(NETDEV_CHANGE): azv784e8f3bb062: link becomes ready
[914493.542777] IPv6: ADDRCONF(NETDEV_CHANGE): azv784e8f3bb06: link becomes ready
[914493.543530] eth0: renamed from azv784e8f3bb062
[914505.124755] CIFS: Attempting to mount //xxx.file.core.windows.net/pvc-359e202c-9bb3-4217-b022-480a863af014
[914505.124802] CIFS: Unknown mount option "multichannel"

@datwelk
Copy link
Author

datwelk commented Dec 20, 2021

It seems this was added to the linux 5.5 kernel [source]

Would it be possible to double check this with the team responsible for the Azure linux kernel, and ask when the changes from 5.5 will be incorporated?

image

@andyzhangx
Copy link
Contributor

5.5+ will come only with 20.04, we will support 20.04 in near future, thanks.

@ghost ghost locked as resolved and limited conversation to collaborators Jan 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution/answer-provided Provided answer to issue, question or feedback.
Projects
None yet
Development

No branches or pull requests

2 participants