diff --git a/fuel_health/common/facts.py b/fuel_health/common/facts.py index 6197657d..9deeba28 100644 --- a/fuel_health/common/facts.py +++ b/fuel_health/common/facts.py @@ -17,11 +17,6 @@ import os import yaml -from fuel_health.common import log as logging - - -LOG = logging.getLogger(__name__) - class Facts: __default_config_path = '/var/lib/puppet/yaml/facts/' diff --git a/fuel_health/manager.py b/fuel_health/manager.py index dd2f85cc..6ca63894 100644 --- a/fuel_health/manager.py +++ b/fuel_health/manager.py @@ -16,13 +16,9 @@ # License for the specific language governing permissions and limitations # under the License. -from fuel_health.common import log as logging import fuel_health.config -LOG = logging.getLogger(__name__) - - class Manager(object): """Base manager class diff --git a/fuel_health/tests/sanity/test_sanity_compute.py b/fuel_health/tests/sanity/test_sanity_compute.py index 6afe9c46..578b7dc6 100644 --- a/fuel_health/tests/sanity/test_sanity_compute.py +++ b/fuel_health/tests/sanity/test_sanity_compute.py @@ -12,12 +12,8 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - from fuel_health import nmanager -LOG = logging.getLogger(__name__) - class SanityComputeTest(nmanager.SanityChecksTest): """TestClass contains tests that check basic Compute functionality.""" diff --git a/fuel_health/tests/sanity/test_sanity_glance.py b/fuel_health/tests/sanity/test_sanity_glance.py index def2509f..dea77e19 100644 --- a/fuel_health/tests/sanity/test_sanity_glance.py +++ b/fuel_health/tests/sanity/test_sanity_glance.py @@ -12,12 +12,8 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - from fuel_health import glancemanager -LOG = logging.getLogger(__name__) - class GlanceSanityTests(glancemanager.GlanceTest): """GlanceSanityTests contains verifications of basic Glance functionality. diff --git a/fuel_health/tests/sanity/test_sanity_heat.py b/fuel_health/tests/sanity/test_sanity_heat.py index 9afcb162..82f4d8b6 100644 --- a/fuel_health/tests/sanity/test_sanity_heat.py +++ b/fuel_health/tests/sanity/test_sanity_heat.py @@ -14,12 +14,8 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - from fuel_health import nmanager -LOG = logging.getLogger(__name__) - class SanityHeatTest(nmanager.SanityChecksTest): """Class contains tests that check basic Heat functionality. diff --git a/fuel_health/tests/sanity/test_sanity_identity.py b/fuel_health/tests/sanity/test_sanity_identity.py index c0dc18dc..94262a34 100644 --- a/fuel_health/tests/sanity/test_sanity_identity.py +++ b/fuel_health/tests/sanity/test_sanity_identity.py @@ -14,12 +14,8 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - from fuel_health import nmanager -LOG = logging.getLogger(__name__) - class SanityIdentityTest(nmanager.SanityChecksTest): """TestClass contains tests that check basic authentication functionality. diff --git a/fuel_health/tests/sanity/test_sanity_networking.py b/fuel_health/tests/sanity/test_sanity_networking.py index e748fa5f..751bfae3 100644 --- a/fuel_health/tests/sanity/test_sanity_networking.py +++ b/fuel_health/tests/sanity/test_sanity_networking.py @@ -14,12 +14,8 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - from fuel_health import nmanager -LOG = logging.getLogger(__name__) - class NetworksTest(nmanager.SanityChecksTest): """TestClass contains tests check base networking functionality.""" diff --git a/fuel_health/tests/smoke/test_create_flavor.py b/fuel_health/tests/smoke/test_create_flavor.py index 7818131d..8af049e6 100644 --- a/fuel_health/tests/smoke/test_create_flavor.py +++ b/fuel_health/tests/smoke/test_create_flavor.py @@ -14,14 +14,9 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - from fuel_health import nmanager -LOG = logging.getLogger(__name__) - - class FlavorsAdminTest(nmanager.SmokeChecksTest): """Tests for flavor creation that require admin privileges.""" diff --git a/fuel_health/tests/tests_platform/test_heat.py b/fuel_health/tests/tests_platform/test_heat.py index 78ddd93b..a2fec373 100644 --- a/fuel_health/tests/tests_platform/test_heat.py +++ b/fuel_health/tests/tests_platform/test_heat.py @@ -12,14 +12,9 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - from fuel_health import heatmanager -LOG = logging.getLogger(__name__) - - class HeatSmokeTests(heatmanager.HeatBaseTest): """Test class verifies Heat API calls, rollback and autoscaling use-cases. diff --git a/fuel_plugin/ostf_adapter/nailgun_hooks.py b/fuel_plugin/ostf_adapter/nailgun_hooks.py index 7995a963..c2714214 100644 --- a/fuel_plugin/ostf_adapter/nailgun_hooks.py +++ b/fuel_plugin/ostf_adapter/nailgun_hooks.py @@ -13,7 +13,6 @@ # under the License. from distutils import version -import logging from sqlalchemy import create_engine from sqlalchemy.engine import reflection @@ -24,8 +23,6 @@ from sqlalchemy import schema from fuel_plugin.ostf_adapter.storage import alembic_cli -LOG = logging.getLogger(__name__) - def _get_enums(conn): """Return names for db types. diff --git a/fuel_plugin/ostf_adapter/nose_plugin/nose_utils.py b/fuel_plugin/ostf_adapter/nose_plugin/nose_utils.py index 19d8312c..559d5d4f 100644 --- a/fuel_plugin/ostf_adapter/nose_plugin/nose_utils.py +++ b/fuel_plugin/ostf_adapter/nose_plugin/nose_utils.py @@ -14,7 +14,6 @@ from distutils import version import itertools -import logging import multiprocessing import os import re @@ -28,8 +27,6 @@ try: except ImportError: from oslo_serialization import jsonutils -LOG = logging.getLogger(__name__) - def parse_json_file(file_path): current_directory = os.path.dirname(os.path.realpath(__file__)) diff --git a/fuel_plugin/ostf_adapter/wsgi/controllers.py b/fuel_plugin/ostf_adapter/wsgi/controllers.py index b9cf5f73..70fcec6c 100644 --- a/fuel_plugin/ostf_adapter/wsgi/controllers.py +++ b/fuel_plugin/ostf_adapter/wsgi/controllers.py @@ -12,8 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - try: from oslo.config import cfg except ImportError: @@ -34,9 +32,6 @@ from fuel_plugin.ostf_adapter import mixins from fuel_plugin.ostf_adapter.storage import models -LOG = logging.getLogger(__name__) - - class BaseRestController(rest.RestController): def _handle_get(self, method, remainder, request=None): if len(remainder):