From e4e64bcbce57decf0809099e3e0b5edfda90cf63 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Thu, 21 Nov 2019 14:23:50 +0100 Subject: [PATCH] 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 --- nova/scheduler/client/report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/scheduler/client/report.py b/nova/scheduler/client/report.py index 49a03c8166..9f60c118b9 100644 --- a/nova/scheduler/client/report.py +++ b/nova/scheduler/client/report.py @@ -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