Pivotal Knowledge Base

Follow

Bosh and/or Stemcell is not pre-start Compatible

Environment

 Product  Version
 Pivotal Cloud Foundry® (PCF)  1.10+
 P-Mysql  1.8.0 - 1.8.4

Symptom

You encounter the following error:

This bosh version and/or stemcell version is not pre-start compatible

Cause

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. 

Resolution

This problem has been fixed in P-MySQL 1.8.5 via this commit.

Workaround

If you are not able to update to 1.8.5, use the following around to resolve this issue: 

mkdir /var/vcap/sys/run/mariadb_ctl
touch /var/vcap/sys/run/mariadb_ctl/prestart_marker
chown vcap:vcap -R /var/vcap/sys/run/mariadb_ctl

 

Comments

Powered by Zendesk