The below error occurs on Apply Change log:
'For application 'scheduler-broker-new': For service 'scheduler-broker-mysq]': Service broker error: There was a problem completing your request. Please contact your operations team providing the following information: service: p-mysql, service-instance-guid: <#GUID-ID>, broker-request-id: <REQUEST-ID>, operation:'
1 errand(s)
===== 2024-11-06 17:15:07 UTC Finished "/usr/local/bin/bosh --no-color --non-interactive --tty --environment=10.49.56.10 --deployment=p-scheduler-2c7336736d0a16d20667 run-errand deploy-scheduler"; Duration: 3725; Exit Status: 1
Exited with 1.
The below is an example of the error from Scheduler/broker app that fails due to the issue:
# notice the: "Unable to obtain connection from database: Communications link failure".
[org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Failed to initialize dependency 'flywayInitializer' of LoadTimeWeaverAware bean 'entityManagerFactory': Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Unable to obtain connection from database: Communications link failure
2024-11-05<#TimeStamp#> [APP/PROC/WEB/1] OUT The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
java.security.cert.CertPathValidatorException: signature check failed.
The error can occur when a container can not connect to the desired database, and can be influenced by either of the below conditions:
Check the "Trusted certs" on Opsman UI -> Bosh tile- >Security Tab or with the cli (openssl) to ensure there is only one CA cert that is current and in place.
1.The cert use to access mysql db is 'services/tls_ca'
2.Verify the the current 'services/tls_ca'
from credhub. This can be used to validate the trusted certs in Bosh tile -> Security -> trusted certs
credhub find -n services/tls_ca
credhub get -n KEY_NAME