Skip to main content
NetApp Knowledge Base

StorageGRID MySQL service enters error state during Secondary Admin Node upgrade

Views:
70
Visibility:
Public
Votes:
0
Category:
storagegrid-webscale
Specialty:
sgrid
Last Updated:

Applies to

  • StorageGRID 
  • Secondary Admin Node upgrade from 11.8 to 11.9
  • Secondary Admin Node's platform is Red Hat Enterprise Linux (RHEL) Container

Issue

  • MySQL service fails during Secondary Admin Node StorageGRID OS upgrade (11.8  -> 11.9).
  • Grid Manager displays SVST and MISS Alarms:

StorageGRID MySQL service enters error state during Secondary Admin Node upgrade

StorageGRID MySQL service enters error state during Secondary Admin Node upgrade

  • /usr/local/servermanager/reader.rb command reports Database Engine (MySQL) is in Error state:
Collection Time                2025-09-11 11:40:43 UTC
Host Name                      admin-node2
IP Address                     10.145.254.199
Operating System Kernel        4.18.0               Verified
Operating System Environment   Debian 11.8          Verified
StorageGRID Release            11.8.0.11            Verified
Storage Subsystem                                   Verified
Database Engine                package MySQL        Error
Network Monitoring             11.8.0               Running
Time Synchronization           1:4.2.8p15+dfsg      Running
ams                            11.8.0.11            Running
nms                            11.8.0.11            Running
ssm                            11.8.0.11            Running
mi                             11.8.0.7             Stopped
dynip                          11.8.0.9             Running
miscd                          11.8.0.9             Running
nginx                          11.8.0               Running
tomcat                         9.0.43               Stopped
grafana                        9.5.1                Running
mgmt api                       11.8.0.9             Stopped
nginx gw                       11.8.0.8             Running
prometheus                     11.8.0               Running
acct tunnel                    11.8.0.8             Running
persistence                    11.8.0               Running
alertmanager                   11.8.0               Running
jaeger agent                   11.8.0               Running
attrDownPurge                  11.8.0.7             Stopped
attrDownSamp1                  11.8.0.7             Stopped
node exporter                  1.1.2+ds             Running
sg snmp agent                  11.8.0               Running
jaeger collector               11.8.0               Running
lambda arbitrator              11.8.0               Running
update snmp firewall           11.8.0               Running
  • mysql.err log indicates that MySQL crashes and enters a restart loop.
2025-09-11  2:30:41 0 [Note] InnoDB: Starting shutdown...
・・・
2025-09-11  2:36:49 0 [ERROR] [FATAL] InnoDB: IO Error: 5 during async read of 16384 bytes, for file 62, returned 0
250911  2:36:49 [ERROR] mysqld got signal 6 ;
・・・
  • Other related logs display related errors below:
servermanager.log
 
2025-09-11 02:37:58 +0000 | mysql                     | Exception encountered: #<Timeout::Error: execution expired>. See /var/local/log/mysql-bycastify.log
2025-09-11 02:38:02 +0000 | attrDownPurge             | attrDownPurge ended
2025-09-11 02:38:02 +0000 | mi                        | mi ended
2025-09-11 02:38:02 +0000 | mi                        | stopping attrDownPurge
2025-09-11 02:38:02 +0000 | attrDownSamp1             | attrDownSamp1 ended
2025-09-11 02:38:03 +0000 | mysql                     | mysqld_safe was unexpectedly running. Sending TERM to PID 13153
2025-09-11 02:38:04 +0000 | mi                        | stopping attrDownSamp1
2025-09-11 02:38:04 +0000 | attrDownSamp1             | attrDownSamp1 ended
2025-09-11 02:38:05 +0000 | mi                        | stopping tomcat
2025-09-11 02:38:05 +0000 | tomcat                    | tomcat ended
2025-09-11 02:38:08 +0000 | mysql                     | mysqld_safe was unexpectedly running. Sending KILL to PID 13153
2025-09-11 02:38:10 +0000 | mgmt-api                  | starting mgmt-api
2025-09-11 02:38:10 +0000 | mysql                     | mysql ended
2025-09-11 02:38:10 +0000 | mgmt-api                  | Failed to update mysql db schema. See nms.errlog for details.
2025-09-11 02:38:11 +0000 | mgmt-api                  | mgmt-api ended
2025-09-11 02:38:11 +0000 | mysql                     | force-restarting mgmt-api
2025-09-11 02:38:19 +0000 | mi                        | waiting for mysql, waiting 2s to try again
2025-09-11 02:38:20 +0000 | mgmt-api                  | waiting for mysql, waiting 2s to try again
2025-09-11 02:38:25 +0000 | sg-snmp-agent             | waiting for mgmt-api, waiting 22s to try again
2025-09-11 02:38:28 +0000 | mi                        | waiting for mysql, waiting 4s to try again
 
mysql-bycastify.log
 
I, [2025-09-11T02:37:33.949567 #13119]  INFO -- : mariadbd was running with PID 17000
unexpected mysqld processes running after mysqladmin shutdown
E, [2025-09-11T02:37:33.949824 #13119] ERROR -- : unexpected mysqld processes running after mysqladmin shutdown
I, [2025-09-11T02:37:38.952354 #13119]  INFO -- : running cmd: pgrep --exact mariadbd 2>&1
I, [2025-09-11T02:37:38.962452 #13119]  INFO -- : mariadbd was running with PID 17338
I, [2025-09-11T02:37:38.962685 #13119]  INFO -- : running cmd: mysqladmin --defaults-file=/etc/my.default.cnf shutdown 2>&1
error in mysqladmin shutdown, see /var/local/log/mysql-bycastify.log
E, [2025-09-11T02:37:38.971827 #13119] ERROR -- : error in mysqladmin shutdown, see /var/local/log/mysql-bycastify.log
E, [2025-09-11T02:37:38.971965 #13119] ERROR -- : mysqladmin shutdown details:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.