|Pivotal Cloud Foundry® (PCF)||1.10+|
|P-Mysql||1.8.0 - 1.8.4|
You encounter the following error:
This bosh version and/or stemcell version is not pre-start compatible
Operators might see this when a restart of MySQL server virtual machine occurs but is not initiated by the Bosh Director. As a result, the prestart_marker file will not exist and mariadb_ctrl will not be able to start MySQL.
This problem has been fixed in P-MySQL 1.8.5 via this commit.
If you are not able to update to 1.8.5, use the following around to resolve this issue:
chown vcap:vcap -R /var/vcap/sys/run/mariadb_ctl