[Performance] Add a white list for nova extension to avoid API calls

Bug #1722701 reported by Feilong Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
In Progress
Wishlist
Feilong Wang

Bug Description

Currently, Horizon does have a blacklist for Nova extension to skip some features of Nova which can be used by cloud operators.

However, on the Instance panel, there are 5 actions need to call the extension_supported function to check if the feature/extension is supported or not. Though it's cached, it's still taking about 2ms * 5 actions * 20 instances = 0.2 second. So it would be nice if we can have a white list for supported/known extensions to save the 0.2 second.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
assignee: nobody → Feilong Wang (flwang)
status: New → In Progress
Revision history for this message
Ying Zuo (yingzuo) wrote :

I guess there's a need for saving that 0.2 second. I think it's okay to add a whitelist since we already have a blacklist. Please set a default value for OPENSTACK_NOVA_EXTENSIONS_BLACKLIST setting on local_settings to uncover this hidden gem :)

Changed in horizon:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Feilong Wang (<email address hidden>) on branch: master
Review: https://review.openstack.org/511095
Reason: Abandon based on feedback.

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.