Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-25436

Aodh doesn't support application credentials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhos-18.0.19
    • openstack-aodh
    • None
    • Bug Delivery Tracker
    • 1
    • Low

      To Reproduce Steps to reproduce the behavior:

      1. Configure Aodh with application credestials
      2. Create an autoscaling stack
      3. See aodh-notifier logs with this traceback
      4. 2026-01-16 14:44:59.332 15 ERROR aodh.notifier Traceback (most recent call last):
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier   File "/usr/lib/python3.12/site-packages/aodh/notifier/__init__.py", line 136, in _handle_action
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier     notifier.notify(action, alarm_id, alarm_name, severity,
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier   File "/usr/lib/python3.12/site-packages/aodh/notifier/trust.py", line 35, in notify
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier     client = keystone_client.get_trusted_client(self.conf, trust_id)
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier   File "/usr/lib/python3.12/site-packages/aodh/keystone_client.py", line 48, in get_trusted_client
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier     password=conf[CFG_GROUP].password,
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier              ^^^^^^^^^^^^^^^^^^^^^^^^
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier   File "/usr/lib/python3.12/site-packages/oslo_config/cfg.py", line 3377, in __getattr__
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier     return self._conf._get(name, self._group)
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier   File "/usr/lib/python3.12/site-packages/oslo_config/cfg.py", line 2868, in _get
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier     value, loc = self._do_get(name, group, namespace)
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier   File "/usr/lib/python3.12/site-packages/oslo_config/cfg.py", line 2886, in _do_get
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier     info = self._get_opt_info(name, group)
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier   File "/usr/lib/python3.12/site-packages/oslo_config/cfg.py", line 3091, in _get_opt_info
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier     raise NoSuchOptError(opt_name, group)
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier oslo_config.cfg.NoSuchOptError: no such option password in group [service_credentials]
        2026-01-16 14:44:59.332 15 ERROR aodh.notifier   

      Expected behavior

      • Aodh-notifier works

      Bug impact

      • Aodh won't work with application credentials enabled. But password authentication will still work

      Known workaround

      • Disable application credentials for aodh / autoscaling (password will automatically get used instead, which works)

              rh-ee-jwysogla Jaromir Wysoglad
              rh-ee-jwysogla Jaromir Wysoglad
              rhos-observability-telemetry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: