-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Azure CSI volume does not format and mount new volume #8874
Comments
Hi @carlosrbcunha! Sorry to hear about that. Can you provide the logs from the node plugin? Usually something like |
With regards to plugins, we have, in our client.hcl files, the following: plugin "docker" {
config {
allow_privileged = true
}
} as well as in the configuration of the node plugin:
Looking into getting some logs right now. |
Hi Tim, I already send the logs via email but I also attach them here for you. Regarding this error, when we browse What is the expected behaviour here ? If you need more logs or tests, please ask. Best Regards, |
I see two sets of errors in the node client logs. First:
The Azure CSI plugin is getting a "resource not found" exception for the VM that it's trying to attach the volume to. I'm not much of an Azure expert, but my guess here is that the client node doesn't have the appropriate managed identity to be able to perform the query for the VM. The link in the logs (https://aka.ms/ARMResourceNotFoundFix) probably has more platform-specific clues for you. But then we get:
Combined with your findings above, I think you may be running into an issue with the Azure driver. It would probably be a good idea to see if you can open an issue with the |
8afd69bb8976 isn't the name of any VM we have, but it looks suspiciously like the end of an UUID (no match with any of the Nomad clients, allocations or servers, however). edit: almost certainly a docker container ID / container hostname |
I opened an issue in the azure disk-csi-driver as you suggested. |
After getting some help from the azuredisk-csi-driver folks we figured out what was the problem.
Removing this made it all work properly. Thanks for your help. |
Glad to hear you've worked it out! |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v0.12.4 (8efaee4)
Operating system and Environment details
Ubuntu 18.04.5 LTS
Issue
Nomad does not format and mount new csi volume
Reproduction steps
Volume definition
Previous opened issues also regarding CSI on Azure
#7812
Plugin-azure-disk-node logs
We can see the disk being attached to the VM and nomad trying to format and mount it to the server but something went wrong in identifying wether the disk is formatted or not.
While the allocation fails, the job is retried on all the clients of the cluster (with the same errors) and it fails the job completely.
The text was updated successfully, but these errors were encountered: