StackLight shows only projects in Default domain as collectd OpenStack plugins limited to Keystone API v2.0

Bug #1662142 reported by Danil Akhmetov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StackLight
Fix Committed
Medium
Danil Akhmetov

Bug Description

There are collectd plugins which polls some useful stats from OpenStack APIs. One of the metrics provided by the keystone collectd plugin is total amount of tenants, but if keystone Domains used, it only shows tenants in Default domain.

As I found out, the collectd plugins are always configured to use keystone API v2.0:

https://github.com/openstack/fuel-plugin-lma-collector/blob/973c62b04b95bce31fa441bd77477940eb134466/deployment_scripts/puppet/manifests/collectd.pp#L160

thus, tenants in all the keystone domains except Default domain missing (as Domains started in keystone API v3)

Changed in lma-toolchain:
status: New → Confirmed
importance: Undecided → Medium
Danil Akhmetov (dinobot)
Changed in lma-toolchain:
assignee: nobody → Danil Akhmetov (dinobot)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-lma-collector (master)

Fix proposed to branch: master
Review: https://review.openstack.org/431565

Changed in lma-toolchain:
status: Confirmed → In Progress
Swann Croiset (swann-w)
Changed in lma-toolchain:
milestone: none → 1.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-lma-collector (master)

Reviewed: https://review.openstack.org/431565
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-lma-collector/commit/?id=bc797dfb4bdb091627226cf058469f0787fa284c
Submitter: Jenkins
Branch: master

commit bc797dfb4bdb091627226cf058469f0787fa284c
Author: Danil Akhmetov <email address hidden>
Date: Thu Feb 9 16:54:05 2017 +0300

    Enable Keystone v3 API when obtaining users and tenants

    Always use Keystone v3 API obtaining users and projects in order to list all
    users and tenants in multi-domain environments.

    Change-Id: If94ad4a0d61d0467031b384d132eb433682b3a20
    Closes-Bug: #1662142

Changed in lma-toolchain:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-lma-collector (stable/0.9)

Fix proposed to branch: stable/0.9
Review: https://review.openstack.org/433617

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-lma-collector (stable/1.0)

Fix proposed to branch: stable/1.0
Review: https://review.openstack.org/436074

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-lma-collector (stable/1.0)

Reviewed: https://review.openstack.org/436074
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-lma-collector/commit/?id=f61071aca603da3c93804d34e8586bd67b3efd76
Submitter: Jenkins
Branch: stable/1.0

commit f61071aca603da3c93804d34e8586bd67b3efd76
Author: Danil Akhmetov <email address hidden>
Date: Thu Feb 9 16:54:05 2017 +0300

    Enable Keystone v3 API when obtaining users and tenants

    Always use Keystone v3 API obtaining users and projects in order to list all
    users and tenants in multi-domain environments.

    Change-Id: If94ad4a0d61d0467031b384d132eb433682b3a20
    Closes-Bug: #1662142
    (cherry picked from commit bc797dfb4bdb091627226cf058469f0787fa284c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-plugin-lma-collector (stable/0.9)

Change abandoned by Simon Pasquier (<email address hidden>) on branch: stable/0.9
Review: https://review.openstack.org/433617
Reason: stable/0.9 is EOL.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.