Task 12345 | 13:31:56 | Updating instance mysql: mysql/########-fdeb-4321-1234-############ (0) (canary) (00:07:02)
L Error: 'mysql/########-fdeb-4321-1234-############ (0)' is not running after update. Review logs for failed jobs: mysql-metrics
Updating deployment:
Expected task '12345' to succeed but state is 'error'
Exit code 1
{"timestamp":"2025-06-02T20:57:58.514571747Z","level":"error","source":"MetricsLogger","message":"MetricsLogger.error processing metrics","data":{"error":"No Previous Data"}}
This failure was seen when upgrading TAS from 4.0.24 to 6.0.12 when Dynatrace One Agent is installed.
The Dynatrace One agent might cause a delay in startup with the internal MySQL database's mysql-metrics process, preventing timely startup, resulting in timeouts. A similar issue is noted with Grafana jobs in the Healthwatch deployments in the this KB.
Refer to the Dynatrace to TAS compatibility noted here.
The Dynatrace Oneagent needs to be excluded from deployment that it is causing to fail.
Perform the steps -
bosh-runtime-config > runtime.cfg
$ vim runtime.cfg
exclude:
deployments:
<failed deployment>
bosh update-runtime-config runtime.cfg