From 4a7181a20f5eb9ad6bfbcb0945fa79ac0ddd620b Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Mon, 1 Apr 2019 09:01:53 +0000 Subject: Add audit to az Issues 2 rest api to openstack to retrieve all pserver and az info This will need optimization in case of many compute pservers in a cloud region Change-Id: I8cad1f63f62a47ea9367db59544e7318e3db746d Issue-ID: MULTICLOUD-555 Signed-off-by: Bin Yang --- share/newton_base/registration/registration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/newton_base/registration') diff --git a/share/newton_base/registration/registration.py b/share/newton_base/registration/registration.py index 0f6d5540..c7636ef2 100644 --- a/share/newton_base/registration/registration.py +++ b/share/newton_base/registration/registration.py @@ -957,9 +957,9 @@ class RegistryHelper(object): azName = az.get('zoneName', None) # comment it for test the registration process only # if azName == 'nova': - # continue; + # continue if azName == 'internal': - continue; + continue # get list of host names pservers_info = [k for (k, v) in az['hosts'].items()] -- cgit 1.2.3-korg