Drop sg_core related prometheus var
https://review.opendev.org/c/openstack/devstack-plugin-prometheus/+/950476 adds the support for passing custom scrape target and https://github.com/openstack-k8s-operators/sg-core/pull/25 drops sg_core prometheus related vars. So we also need to sg_core related prometheus vars from our job. This cr achieves the same. Depends-On: https://github.com/openstack-k8s-operators/sg-core/pull/25 Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-prometheus/+/950476 Change-Id: I6c8f54f8749e81b532c88e9224022294c4a1d331 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
@@ -175,11 +175,6 @@
|
||||
# will inject fake metrics when needed
|
||||
NODE_EXPORTER_COLLECTOR_EXCLUDE: "cpu"
|
||||
PROMETHEUS_CONFIG_FILE: "/home/zuul/prometheus.yml"
|
||||
# Disable sg_core prometheus config copy
|
||||
PROMETHEUS_ENABLE: false
|
||||
# PROMETHEUS_CONFIG_FILE var conflicts with sg_core var
|
||||
# to avoid issue, set PROMETHEUS_CONF_DIR
|
||||
PROMETHEUS_CONF_DIR: "/home/zuul"
|
||||
devstack_local_conf:
|
||||
post-config:
|
||||
$WATCHER_CONF:
|
||||
|
||||
@@ -8,11 +8,6 @@ DATABASE_PASSWORD=stackdb
|
||||
RABBIT_PASSWORD=stackqueue
|
||||
SERVICE_PASSWORD=$ADMIN_PASSWORD
|
||||
SERVICE_TOKEN=azertytoken
|
||||
# Disable sg_core prometheus config copy
|
||||
PROMETHEUS_ENABLE=false
|
||||
# PROMETHEUS_CONFIG_FILE var conflicts with sg_core var
|
||||
# to avoid issue, set PROMETHEUS_CONF_DIR
|
||||
PROMETHEUS_CONF_DIR="${DEST}"
|
||||
|
||||
HOST_IP=192.168.42.1 # Change this to your controller node IP address
|
||||
#HOST_IPV6=2001:db8::7
|
||||
|
||||
Reference in New Issue
Block a user