Skip to content

mysql is not booting: No space left on device #50

@nadworny

Description

@nadworny

Describe the bug

After deploying using helm chart the mysql is in a crashloopbackoff state all the time. Here is the error log:

mysql 2020-12-02 20:43:15+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.22-1debian10 started.                                                         
mysql 2020-12-02 20:43:16+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'                                                                                  
mysql 2020-12-02 20:43:16+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.22-1debian10 started.                                                         
mysql 2020-12-02T20:43:16.346666Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.22) starting as process 1                                                  
mysql 2020-12-02T20:43:16.355244Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.                                                                      
mysql 2020-12-02T20:43:17.534375Z 1 [Warning] [MY-012637] [InnoDB] 1048576 bytes should have been written. Only 720896 bytes written. Retrying for the remaining bytes.   
mysql 2020-12-02T20:43:17.534530Z 1 [Warning] [MY-012638] [InnoDB] Retry attempts for writing partial data failed.                                                        
mysql 2020-12-02T20:43:17.534645Z 1 [ERROR] [MY-012639] [InnoDB] Write to file ./ibtmp1 failed at offset 3145728, 1048576 bytes should have been written, only 720896 were
mysql 2020-12-02T20:43:17.534766Z 1 [ERROR] [MY-012640] [InnoDB] Error number 28 means 'No space left on device'                                                          
mysql 2020-12-02T20:43:17.534993Z 1 [ERROR] [MY-012267] [InnoDB] Could not set the file size of './ibtmp1'. Probably out of disk space                                    
mysql 2020-12-02T20:43:17.535110Z 1 [ERROR] [MY-012926] [InnoDB] Unable to create the shared innodb_temporary.                                                            
mysql 2020-12-02T20:43:17.535234Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.                                                  
mysql 2020-12-02T20:43:17.922041Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine                                                                   
mysql 2020-12-02T20:43:17.922357Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.                                                                   
mysql 2020-12-02T20:43:17.922691Z 0 [ERROR] [MY-010119] [Server] Aborting                                                                                                 
mysql 2020-12-02T20:43:17.923157Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.22)  MySQL Community Server - GPL.                      

To Reproduce

Install using helm chart

Expected behavior

mysql not crashing.

Environment Details:

  • aks v1.16.13
  • Version v0.7.26

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions