We want to enable Prometheus listener in Octavia

Solution In Progress - Updated -

Issue

  • Customer is asking to configure an octavia listener with Prometheus protocol but unfortunately he can not as it is not enabled.

  • We checked that there is the variable allow_prometheus_listeners in here but we do not know where to enable it.

  • We do not see any octavia config in:

[stack@director] ~]$ cat /var/lib/config-data/puppet-generated/
crond/                    heat/                     ironic_api.md5sum         keepalived/               mistral/                  nova/                     swift/
crond.md5sum              heat_api/                 ironic_inspector/         keepalived.md5sum         mistral.md5sum            nova.md5sum               swift.md5sum
glance_api/               heat_api.md5sum           ironic_inspector.md5sum   keystone/                 mysql/                    placement/                swift_ringbuilder/
glance_api.md5sum         heat.md5sum               ironic.md5sum             keystone.md5sum           mysql.md5sum              placement.md5sum          swift_ringbuilder.md5sum
haproxy/                  ironic/                   iscsid/                   memcached/                neutron/                  rabbitmq/                 zaqar/
haproxy.md5sum            ironic_api/               iscsid.md5sum             memcached.md5sum          neutron.md5sum            rabbitmq.md5sum           zaqar.md5sum
  • In our templates, we just have the network config related to octavia:
[stack@director] ~]$ cat templates/octavia.yaml
resource_registry:
  OS::TripleO::Services::OctaviaApi: /usr/share/openstack-tripleo-heat-templates/deployment/octavia/octavia-api-container-puppet.yaml
  OS::TripleO::Services::OctaviaHousekeeping: /usr/share/openstack-tripleo-heat-templates/deployment/octavia/octavia-housekeeping-container-puppet.yaml
  OS::TripleO::Services::OctaviaHealthManager: /usr/share/openstack-tripleo-heat-templates/deployment/octavia/octavia-health-manager-container-puppet.yaml
  OS::TripleO::Services::OctaviaWorker: /usr/share/openstack-tripleo-heat-templates/deployment/octavia/octavia-worker-container-puppet.yaml
  OS::TripleO::Services::OctaviaDeploymentConfig: /usr/share/openstack-tripleo-heat-templates/deployment/octavia/octavia-deployment-config.yaml

parameter_defaults:
  NeutronEnableForceMetadata: true
  OctaviaGenerateCerts: "True"
  OctaviaControlNetwork:  "lb-mgmt-net"
  OctaviaControlSubnet:  "lb-mgmt-subnet"
  OctaviaControlSecurityGroup:  "lb-mgmt-sec-group"
  OctaviaControlSubnetCidr:  "172.16.0.0/16"
  OctaviaControlSubnetGateway:  "172.16.0.1"
  OctaviaControlSubnetPoolStart:  "172.16.0.2"
  OctaviaControlSubnetPoolEnd:  "172.16.255.254"
  OctaviaLoadBalancerTopology: "ACTIVE_STANDBY"
  • Can you support us and provide the info where to configure this?

Environment

  • Red Hat OpenStack Platform 17.1 (RHOSP)
  • Red Hat OpenStack Platform 17.0 (RHOSP)
  • Red Hat OpenStack Platform 16.2 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content