nicholaswilde / helm-charts

My collection of Helm charts.
https://artifacthub.io/packages/search?repo=nicholaswilde
Apache License 2.0
70 stars 32 forks source link

[mariadb] startup error #19

Closed nicholaswilde closed 3 years ago

nicholaswilde commented 3 years ago

mariadb gives the following error on startup

$ kubectl logs pod/mariadb-56cbfdf64-8q5wq
...
[cont-init.d] 40-initialise-db: exited 0.
[cont-init.d] 99-custom-files: executing... 
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
210304 22:02:57 mysqld_safe Logging to '/config/databases/mariadb-56cbfdf64-8q5wq.err'.
210304 22:02:57 mysqld_safe Starting mariadbd daemon with databases from /config/databases
$ kubectl exec -it pod/mariadb-56cbfdf64-8q5wq -- cat /config/databases/mariadb-56cbfdf64-8q5wq.err
2021-03-04 22:02:57 0 [Note] InnoDB: Using Linux native AIO
2021-03-04 22:02:57 0 [Note] InnoDB: Uses event mutexes
2021-03-04 22:02:57 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-03-04 22:02:57 0 [Note] InnoDB: Number of pools: 1
2021-03-04 22:02:57 0 [Note] InnoDB: Using generic crc32 instructions
2021-03-04 22:02:57 0 [Note] mariadbd: O_TMPFILE is not supported on /var/tmp (disabling future attempts)
2021-03-04 22:02:57 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728
2021-03-04 22:02:57 0 [Note] InnoDB: Completed initialization of buffer pool
2021-03-04 22:02:57 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-03-04 22:02:57 0 [Note] InnoDB: 128 rollback segments are active.
2021-03-04 22:02:57 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-03-04 22:02:57 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-03-04 22:02:57 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-03-04 22:02:57 0 [Note] InnoDB: 10.5.8 started; log sequence number 45130; transaction id 20
2021-03-04 22:02:57 0 [Note] InnoDB: Loading buffer pool(s) from /config/databases/ib_buffer_pool
2021-03-04 22:02:57 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-03-04 22:02:57 0 [Note] InnoDB: Buffer pool(s) load completed at 210304 22:02:57
2021-03-04 22:02:57 0 [Note] Server socket created on IP: '::'.
2021-03-04 22:02:57 0 [Note] Reading of all Master_info entries succeeded
2021-03-04 22:02:57 0 [Note] Added new Master_info '' to hash table
2021-03-04 22:02:57 0 [Note] /usr/bin/mariadbd: ready for connections.
Version: '10.5.8-MariaDB-log'  socket: '/run/mysqld/mysqld.sock'  port: 3306  MariaDB Server
2021-03-04 22:03:21 4 [Warning] IP address '10.42.4.1' could not be resolved: Name does not resolve
2021-03-04 22:03:21 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:03:23 5 [Warning] Aborted connection 5 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:03:31 6 [Warning] Aborted connection 6 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:03:33 7 [Warning] Aborted connection 7 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:03:41 8 [Warning] Aborted connection 8 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:03:43 9 [Warning] Aborted connection 9 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:03:51 10 [Warning] Aborted connection 10 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:03:53 11 [Warning] Aborted connection 11 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:04:01 12 [Warning] Aborted connection 12 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:04:03 13 [Warning] Aborted connection 13 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:04:11 14 [Warning] Aborted connection 14 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:04:13 15 [Warning] Aborted connection 15 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:04:21 16 [Warning] Aborted connection 16 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
2021-03-04 22:04:23 17 [Warning] Aborted connection 17 to db: 'unconnected' user: 'unauthenticated' host: '10.42.4.1' (This connection closed normally without authentication)
plsnotracking commented 3 years ago

The update still doesn't seem to work for me (fails with the same error as above). I've tried doing a clean db setup as well and it still fails.

Maybe it's just my setup that has issues but another helm chart works fine for me with the latest version of mariadb - https://artifacthub.io/packages/helm/groundhog2k/mariadb.