prometheus-boshrelease
prometheus-boshrelease copied to clipboard
bosh_exporter job failing to start with cert error for PCF 2.6 version
Hi, We have upgraded our PCF environment to 2.6 version and the bosh_exporter job within prometheus2 VM is failing with cert error below, Is there a way to ignore cert validation for this job ? or how do we fix this problem ?
level=info msg="Starting bosh_exporter (version=3.2.0, branch=master, revision=365c5360b698a2d334244dfedb30814415efa364)" source="bosh_exporter.go:277" time="2019-08-01T21:48:09Z" level=info msg="Build context (go=go1.12.4, user=root@a1ff0097571d, date=20190425-04:23:35)" source="bosh_exporter.go:278" time="2019-08-01T21:48:12Z" level=error msg="Error creating BOSH Client: Fetching info: Performing request GET 'https://10.xx.xx.xx:25555/info': Performing GET request: Retry: Get https://10.xx.xx.xx:25555/info: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "Pivotal")" source="bosh_exporter.go:282"
10.xx.xx.xx is the bosh director its trying to connect.
@frodenas is it possible to ignore cert validation for the bosh_exporter job in prometheus2 VM. After upgrading to PCF2.6 we get the above cert validation error trying to connect to bosh director.
I'm using OpsManager v2.7.1 and PCF v2.7.2 and I don't observe this error. Are you adding the right BOSH CA to the manifest file?
Closing due to inactivity; Fell free to re-open if issue persists;