diff --git a/nova/db/sqlalchemy/migrate_repo/versions/267_instance_uuid_non_nullable.py b/nova/db/sqlalchemy/migrate_repo/versions/267_instance_uuid_non_nullable.py index 889c7ff21eee..52be3e8eb08b 100644 --- a/nova/db/sqlalchemy/migrate_repo/versions/267_instance_uuid_non_nullable.py +++ b/nova/db/sqlalchemy/migrate_repo/versions/267_instance_uuid_non_nullable.py @@ -13,15 +13,12 @@ # under the License. from migrate import UniqueConstraint -from oslo_log import log as logging from sqlalchemy import MetaData from sqlalchemy.sql import null from nova import exception from nova.i18n import _ -LOG = logging.getLogger(__name__) - UC_NAME = 'uniq_instances0uuid' diff --git a/nova/scheduler/driver.py b/nova/scheduler/driver.py index de0bcf9fae00..074523da1a49 100644 --- a/nova/scheduler/driver.py +++ b/nova/scheduler/driver.py @@ -21,7 +21,6 @@ Scheduler base class that all Schedulers should inherit from import abc -from oslo_log import log as logging import six from stevedore import driver @@ -31,8 +30,6 @@ from nova import servicegroup CONF = nova.conf.CONF -LOG = logging.getLogger(__name__) - @six.add_metaclass(abc.ABCMeta) class Scheduler(object): diff --git a/nova/tests/functional/libvirt/test_rt_servers.py b/nova/tests/functional/libvirt/test_rt_servers.py index 6ee2a34530d1..7c1da2e5264e 100644 --- a/nova/tests/functional/libvirt/test_rt_servers.py +++ b/nova/tests/functional/libvirt/test_rt_servers.py @@ -16,7 +16,6 @@ import mock import fixtures -from oslo_log import log as logging from nova.tests.functional.api import client from nova.tests.functional.test_servers import ServersTestBase @@ -25,9 +24,6 @@ from nova.tests.unit.virt.libvirt import fake_libvirt_utils from nova.tests.unit.virt.libvirt import fakelibvirt -LOG = logging.getLogger(__name__) - - class NumaHostInfo(fakelibvirt.HostInfo): def __init__(self, **kwargs): super(NumaHostInfo, self).__init__(**kwargs) diff --git a/nova/virt/libvirt/config.py b/nova/virt/libvirt/config.py index 051bb3ec7fde..bed8cae36342 100644 --- a/nova/virt/libvirt/config.py +++ b/nova/virt/libvirt/config.py @@ -26,7 +26,6 @@ helpers for populating up config object instances. import time from lxml import etree -from oslo_log import log as logging from oslo_utils import units import six @@ -36,8 +35,6 @@ from nova.pci import utils as pci_utils from nova.virt import hardware -LOG = logging.getLogger(__name__) - # Namespace to use for Nova specific metadata items in XML NOVA_NS = "http://openstack.org/xmlns/libvirt/nova/1.0" diff --git a/nova/virt/libvirt/volume/disco.py b/nova/virt/libvirt/volume/disco.py index a8c7524e523c..e165e4eb1ff7 100644 --- a/nova/virt/libvirt/volume/disco.py +++ b/nova/virt/libvirt/volume/disco.py @@ -16,14 +16,11 @@ """Libvirt volume driver for DISCO.""" from os_brick.initiator import connector -from oslo_log import log as logging import nova.conf from nova import utils from nova.virt.libvirt.volume import volume as libvirt_volume -LOG = logging.getLogger(__name__) - CONF = nova.conf.CONF diff --git a/nova/virt/vmwareapi/vim_util.py b/nova/virt/vmwareapi/vim_util.py index 6f74f774f81f..673e293da353 100644 --- a/nova/virt/vmwareapi/vim_util.py +++ b/nova/virt/vmwareapi/vim_util.py @@ -17,14 +17,12 @@ The VMware API utility module. """ -from oslo_log import log as logging from oslo_vmware import vim_util as vutil import six import nova.conf CONF = nova.conf.CONF -LOG = logging.getLogger(__name__) def object_to_dict(obj, list_depth=1):