diff --git a/ironic-image/configure-ironic.sh b/ironic-image/configure-ironic.sh index 8ab2404..e2daa7d 100644 --- a/ironic-image/configure-ironic.sh +++ b/ironic-image/configure-ironic.sh @@ -84,7 +84,6 @@ echo 'Options set from Environment variables' env | grep "^OS_" || true mkdir -p /shared/html -mkdir -p /shared/ironic_prometheus_exporter configure_json_rpc_auth diff --git a/ironic-image/ironic.conf.j2 b/ironic-image/ironic.conf.j2 index 58bc69d..a487dc5 100644 --- a/ironic-image/ironic.conf.j2 +++ b/ironic-image/ironic.conf.j2 @@ -187,11 +187,6 @@ insecure = {{ env.IRONIC_INSECURE }} [nova] send_power_notifications = false -[oslo_messaging_notifications] -driver = prometheus_exporter -location = /shared/ironic_prometheus_exporter -transport_url = fake:// - [pxe] # NOTE(dtantsur): keep this value at least 3x lower than # [conductor]deploy_callback_timeout so that at least some retries happen. diff --git a/ironic-image/runironic-exporter b/ironic-image/runironic-exporter deleted file mode 100644 index f2f60f2..0000000 --- a/ironic-image/runironic-exporter +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/bash - -# shellcheck disable=SC1091 -. /bin/configure-ironic.sh - -FLASK_RUN_HOST=${FLASK_RUN_HOST:-0.0.0.0} -FLASK_RUN_PORT=${FLASK_RUN_PORT:-9608} - -export IRONIC_CONFIG="/etc/ironic/ironic.conf" - -exec gunicorn -b "${FLASK_RUN_HOST}:${FLASK_RUN_PORT}" -w 4 \ - ironic_prometheus_exporter.app.wsgi:application