prometheus openstack exporter missing object store metrics
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
In Progress
|
Undecided
|
joek-office |
Bug Description
**Bug Report**
What happened:
When Openstack deployed with kolla-ansible is connected directly to ceph rgw service instead over openstack swift service, the metrics for object storage from prometheus openstack exporter was disabled.
What you expected to happen:
i expected, that in both cases:
- enable_ceph_rgw: "yes"
- enable_swift: "yes"
the container configuration for prometheus openstack exporter will not disable the metrics for object storage (--disable-
How to reproduce it (minimal and precise):
deploy openstack with kolla ansible with folowing options:
enable_swift: "no" (default)
enable_ceph_rgw: "yes"
and connected ceph with radosgw for object storage.
**Environment**:
* OS (e.g. from /etc/os-release):
NAME="Rocky Linux"
VERSION="9.3 (Blue Onyx)"
* Kernel (e.g. `uname -a`):
Linux ctrlhost1 5.14.0-
* Docker version if applicable (e.g. `docker version`):
Client: Docker Engine - Community
Version: 26.1.0
API version: 1.45
Go version: go1.21.9
Git commit: 9714adc
Built: Mon Apr 22 17:08:20 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.1.0
API version: 1.45 (minimum version 1.24)
Go version: go1.21.9
Git commit: c8af8eb
Built: Mon Apr 22 17:06:36 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.31
GitCommit: e377cd56a715231
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
* Are you using official images from Docker Hub or self built?
Images from quay.io
* Share your inventory file, globals.yml and other configuration files if relevant
-----------
---
workaround_
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "rocky"
openstack_release: "2024.1"
node_custom_config: "/etc/kolla/config"
enable_docker_repo: false
docker_registry: "{{ lookup(
docker_
docker_
docker_namespace: "openstack.kolla"
docker_
network_interface: "bond0"
swift_storage_
tunnel_interface: "lo"
tunnel_
neutron_
neutron_
neutron_
neutron_
openvswitch_
openvswitch_
bgp_loopback_
ovn_bgp_
ovn_bgp_
keepalived_
enable_
kolla_enable_
kolla_enable_
kolla_external_
kolla_internal_
kolla_copy_
openstack_cacert: "/etc/pki/
kolla_enable_
kolla_verify_
kolla_tls_
kolla_tls_
openstack_
enable_
enable_glance: "{{ enable_
enable_hacluster: "yes"
enable_haproxy: "yes"
enable_keepalived: "{{ enable_haproxy | bool }}"
enable_keystone: "{{ enable_
enable_mariadb: "yes"
enable_memcached: "yes"
enable_neutron: "{{ enable_
enable_nova: "{{ enable_
enable_
enable_ceph_rgw: "yes"
enable_
enable_cinder: "yes"
enable_
enable_cloudkitty: "yes"
enable_fluentd: "yes"
enable_heat: "{{ enable_
enable_horizon: "no"
enable_influxdb: "{{ enable_cloudkitty | bool and cloudkitty_
enable_kuryr: "no" # NOTE(msn): Disabled as currently broken in recent releases
enable_masakari: "yes"
enable_
enable_
enable_nova_ssh: "yes"
enable_octavia: "yes"
enable_opensearch: "{{ enable_
enable_
enable_
enable_frr: "yes"
enable_openvswitch: "{{ enable_neutron | bool and neutron_
enable_ovn: "{{ enable_neutron | bool and neutron_
enable_
enable_placement: "{{ enable_nova | bool or enable_zun | bool }}"
enable_prometheus: "yes"
enable_skyline: "yes"
enable_zun: "no" #NOTE(msn): Disabled as currently broken in recent releases
external_
cinder_
- name: "rbd_nvme"
cluster: "ceph"
pool_name: "rbd-nvme"
user: "{{ ceph_cinder_user }}"
keyring: "{{ ceph_cinder_keyring }}"
secret_uuid: "{{ rbd_secret_uuid }}"
enabled: "{{ cinder_backend_ceph | bool }}"
- name: "rbd_ssd"
cluster: "ceph"
pool_name: "rbd-ssd"
user: "{{ ceph_cinder_user }}"
keyring: "{{ ceph_cinder_keyring }}"
secret_uuid: "{{ rbd_secret_uuid }}"
enabled: "{{ cinder_backend_ceph | bool }}"
- name: "rbd_hdd"
cluster: "ceph"
pool_name: "rbd-hdd"
user: "{{ ceph_cinder_user }}"
keyring: "{{ ceph_cinder_keyring }}"
secret_uuid: "{{ rbd_secret_uuid }}"
enabled: "{{ cinder_backend_ceph | bool }}"
- name: "rbd_hdd_ec_k2m1"
cluster: "ceph"
pool_name: "rbd-hdd-ec-k2m1"
user: "{{ ceph_cinder_user }}"
keyring: "{{ ceph_cinder_keyring }}"
secret_uuid: "{{ rbd_secret_uuid }}"
enabled: "{{ cinder_backend_ceph | bool }}"
- name: "rbd_backups"
cluster: "ceph"
pool_name: "backups"
user: "{{ ceph_cinder_user }}"
keyring: "{{ ceph_cinder_keyring }}"
secret_uuid: "{{ rbd_secret_uuid }}"
enabled: "{{ cinder_backend_ceph | bool }}"
cinder_
ceph_glance_user: "glance"
ceph_glance_
ceph_glance_
ceph_cinder_user: "cinder"
ceph_cinder_
ceph_cinder_
ceph_cinder_
ceph_cinder_
ceph_cinder_
ceph_nova_user: "cinder"
ceph_nova_keyring: "{{ ceph_cinder_keyring }}"
ceph_nova_
ceph_rgw_port: 9443
ceph_rgw_
ceph_rgw_
glance_
glance_
cinder_
cinder_
cloudkitty_
cloudkitty_
cloudkitty_
cloudkitty_
cloudkitty_
cloudkitty_
cloudkitty_
nova_backend_ceph: "yes"
nova_compute_
neutron_
neutron_
skyline_
skyline_
skyline_
enable_
enable_
prometheus_
octavia_
octavia_
octavia_
-------
Changed in kolla-ansible: | |
assignee: | nobody → joek-office (joek-office) |
Fix proposed to branch: master /review. opendev. org/c/openstack /kolla- ansible/ +/922920
Review: https:/