Specify what RPs _ensure_resource_provider collects

The report client _ensure_resource_provider() call gathers RPs
associated to the compute RP via aggregates but only those that has the
MISC_SHARES_VIA_AGGREGATE trait, i.e. only the sharing RPs.

Change-Id: I3eaff83c9ea2e71843a73fb1d00e3b802c573e36
This commit is contained in:
Balazs Gibizer 2019-11-21 14:23:50 +01:00
parent 1cd5563f2d
commit e4e64bcbce
1 changed files with 2 additions and 2 deletions

View File

@ -590,8 +590,8 @@ class SchedulerReportClient(object):
cache of resource provider information contains a record of:
- The specified provider
- All providers in its tree
- All providers associated via aggregate with all providers in said
tree
- All sharing providers associated via aggregate with all providers in
said tree
and for each of those providers:
- The UUIDs of its aggregates
- The trait strings associated with the provider