diff --git a/nova/scheduler/zone_manager.py b/nova/scheduler/zone_manager.py index f6d895a55dd..0410cfb1d04 100644 --- a/nova/scheduler/zone_manager.py +++ b/nova/scheduler/zone_manager.py @@ -233,7 +233,7 @@ def get_all_host_data(self, context): all_ram = compute['memory_mb'] service = compute['service'] if not service: - LOG.warn(_("No service for compute ID %s") % compute['id']) + logging.warn(_("No service for compute ID %s") % compute['id']) continue host = service['host']