-
Notifications
You must be signed in to change notification settings - Fork 314
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 file aks with Wordpress+mariadb helm crashing #3073
Comments
Hi ojordano, AKS bot here 👋 I might be just a bot, but I'm told my suggestions are normally quite good, as such:
|
@ojordano could you use azure disk for mariadb, and use azure file nfs for wordpress pod would also help: https://docs.microsoft.com/en-us/azure/aks/azure-files-csi#create-nfs-file-share-storage-class |
Thanks for reaching out. I'm closing this issue as it was marked with "Answer Provided" and it hasn't had activity for 2 days. |
@andyzhangx , Hello, thank you for your feedback. For my own information, just want to know why Azure file can not work for mariadb pod... Structurized data purpose ??? |
I think that's related to smb protocol, not Unix compatible. |
Ok fine, thank for your kind support |
#223 (comment)
|
What happened:
I have an AKS cluster running; trying to deploy wordpress+mariadb using helm chart with persistence volume from Azure file. But the mariadb pod is failing with CrashLoopBackOff status.
The error returned from log is :
[Warning] InnoDB: Retry attempts for writing partial data failed.
[ERROR] InnoDB: Write to file ./ibdata1 failed at offset 0, 1048576 bytes should have been written, only 0 were written. Operating system error number 22. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.
[ERROR] InnoDB: Error number 22 means 'Invalid argument'
[ERROR] InnoDB: Could not set the file size of './ibdata1'. Probably out of disk space
[ERROR] InnoDB: Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported storage engine: InnoDB
[ERROR] Aborting
Anything else we need to know?:
I created storage class and claim following below micorsoft documentation:
https://docs.microsoft.com/en-us/azure/aks/azure-files-dynamic-pv
Environment:
Any help is appreciated. thanks
The text was updated successfully, but these errors were encountered: