Upgrading Prometheus from 23.3.0 to 26.2.0
Hi Team
I am upgrading my current environment prometheus from 23.3.0 to 26.2.0. During deployment recieve the below error. Kindly advice what causing this one.
Using deployment 'prometheus'
Release 'postgres/40' already exists.
Release 'prometheus/26.2.0' already exists.
stemcells:
-
- alias: default
- os: ubuntu-xenial
- version: '250.29'
-
- alias: default
- os: ubuntu-trusty
- version: '3541.34'
releases:
- name: postgres
- sha1: c1fcec62cb9d2e95e3b191e3c91d238e2b9d23fa
- sha1: 343f04f1594c57ecea65638802e94e311cd72688
- url: https://bosh.io/d/github.com/cloudfoundry/postgres-release?v=28
- url: https://bosh.io/d/github.com/cloudfoundry/postgres-release?v=40
- version: '28'
- version: '40'
- name: prometheus
- sha1: 2d6894e4ace6df18fac2f52502977f9774380418
- sha1: 2e47fad474d5f88ad034a45a765c4b3dfb76fbcf
- url: https://github.com/bosh-prometheus/prometheus-boshrelease/releases/download/v23.3.0/prometheus-23.3.0.tgz
- url: https://github.com/bosh-prometheus/prometheus-boshrelease/releases/download/v26.2.0/prometheus-26.2.0.tgz
- version: 23.3.0
- version: 26.2.0
instance_groups:
- name: prometheus2
jobs:
- name: p_rabbitmq_alerts
-
properties: -
p_rabbitmq_alerts: -
haproxy_down: -
evaluation_time: "<redacted>" -
queue_depth: -
evaluation_time: "<redacted>" -
sb_odb_low_instances: -
evaluation_time: "<redacted>" -
threshold: "<redacted>" -
sb_odb_no_instances: -
evaluation_time: "<redacted>" -
server_down: -
evaluation_time: "<redacted>" -
service_broker_down: -
evaluation_time: "<redacted>"
Task 2384620
Task 2384620 | 05:14:24 | Preparing deployment: Preparing deployment (00:00:01) Task 2384620 | 05:14:27 | Error: Unable to render instance groups for deployment. Errors are:
- Unable to render jobs for instance group 'firehose'. Errors are:
- Unable to render templates for job 'firehose_exporter'. Errors are:
- Error filling in template 'firehose_exporter_ctl' (line 71: Can't find property '["firehose_exporter.logging.url"]')
- Unable to render templates for job 'firehose_exporter'. Errors are:
Task 2384620 Started Fri Feb 7 05:14:24 UTC 2020 Task 2384620 Finished Fri Feb 7 05:14:27 UTC 2020 Task 2384620 Duration 00:00:03 Task 2384620 error
Updating deployment: Expected task '2384620' to succeed but state is 'error'
Exit code 1
It looks like firehose_exporter.logging.url wasn't a job property present in v23.3.0, it appears to have been added in v25.0.0 as seen in this commit here
I'm not sure what your deployment manifest looks like but are you configuring firehose.logging.url as a property for the firehose exporter to use? here's an example: https://github.com/bosh-prometheus/prometheus-boshrelease/blob/v26.2.0/manifests/operators/monitor-cf.yml#L41
I am wondering if you are using that ops file? https://github.com/bosh-prometheus/prometheus-boshrelease/blob/master/manifests/operators/enable-cf-loggregator-v2.yml
Closing due to inactivity