Need a way to disable simple tenant usage

Bug #1474241 reported by Radomir Dopieralski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Radomir Dopieralski
Kilo
Fix Released
Undecided
Unassigned

Bug Description

Frequent calls to Nova's API when displaying the simple tenant usage can lead to efficiency problems and even crash on the Nova side, especially when there are a lot of deleted nodes in the database. We are working on resolving that, but in the mean time, it would be nice to have a way of disabling the simple tenant usage stats on the Horizon side as a workaround.

Horizon enabled that option depending on whether it's supported on the Nova side. In the 2.0 version of API we can simply disable the support for it on the Nova side, but that won't be possible in version 2.1 anymore, so we need a configuration option on the Horizon side.

Changed in horizon:
assignee: nobody → Radomir Dopieralski (thesheep)
Changed in horizon:
status: New → In Progress
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Medium
milestone: none → liberty-2
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/201221
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=18f4b752b8653c9389f8b0471eccaa0659707ebe
Submitter: Jenkins
Branch: master

commit 18f4b752b8653c9389f8b0471eccaa0659707ebe
Author: Radomir Dopieralski <email address hidden>
Date: Wed Jul 15 09:34:59 2015 +0200

    Add OPENSTACK_NOVA_EXTENSIONS_BLACKLIST option to settings

    This lets us disable any Nova extension we like, not just the
    simple tenant usage.

    Closes-bug: #1474241
    Change-Id: I21840054225cd59cc62fd4f070172a2847173b14

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/202571

Changed in horizon:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/kilo)

Reviewed: https://review.openstack.org/202571
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=0f9d94e30fdf075418181ca8c0e4ace1e0332c18
Submitter: Jenkins
Branch: stable/kilo

commit 0f9d94e30fdf075418181ca8c0e4ace1e0332c18
Author: Radomir Dopieralski <email address hidden>
Date: Wed Jul 15 09:34:59 2015 +0200

    Add OPENSTACK_NOVA_EXTENSIONS_BLACKLIST option to settings

    This lets us disable any Nova extension we like, not just the
    simple tenant usage.

    Closes-bug: #1474241
    Change-Id: I21840054225cd59cc62fd4f070172a2847173b14
    (cherry picked from commit 18f4b752b8653c9389f8b0471eccaa0659707ebe)

tags: added: in-stable-kilo
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-2 → 8.0.0
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.