Upgrading Healthwatch fails on grafana
Expected task '674923' to succeed but state is 'error'
L Error: 'grafana/f7e56023-d1d5-4a2b-a575-faf8f3072138 (0)' is not running after update. Review logs for failed jobs: grafana
Task 674923 | 02:42:51 | Error: 'grafana/f7e56023-d1d5-4a2b-a575-faf8f3072138 (0)' is not running after update. Review logs for failed jobs: grafana
There is actually 2 vms that are not in running state:
1) Grafana vm
check logs /var/vcap/sys/log/grafana/grafana.log show its unable to connect to pxc-mysql that is why its failing
logger=sqlstore t=2023-09-16T21:42:01.915431869Z level=info msg="Connecting to DB" dbtype=mysql
logger=migrator t=2023-09-16T21:42:01.922281772Z level=error msg="alert migration failure: could not get migration log" error="failed to check table existence: driver: bad connection"
2) pxc vm
checking logs /var/vacp/sys/log/pxc-mysql/mysql.err.log and the error below is thrown
2023-09-16T17:15:55.016541Z 3 [ERROR] [MY-012526] [InnoDB] Upgrade is not supported after a crash or shutdown with innodb_fast_shutdown = 2. This redo log was created with MySQL 5.7.37-40, and it appears logically non empty. Please follow the instructions at http://dev.mysql.com/doc/refman/8.0/en/upgrading.html 2023-09-16T17:15:55.016640Z 3 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error. 2023-09-16T17:15:55.851982Z 3 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine 2023-09-16T17:15:55.852158Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed. 2023-09-16T17:15:55.852182Z 0 [ERROR] [MY-010119] [Server] Aborting