Merge "Remove unused LOG to keep code clean"

This commit is contained in:
Jenkins 2016-07-12 12:39:14 +00:00 committed by Gerrit Code Review
commit 5e426e0766
17 changed files with 0 additions and 66 deletions

View File

@ -20,14 +20,11 @@ import time
from six.moves import queue as Queue from six.moves import queue as Queue
from rally.common import logging
from rally.common import utils from rally.common import utils
from rally import consts from rally import consts
from rally.task import runner from rally.task import runner
from rally.task import utils as butils from rally.task import utils as butils
LOG = logging.getLogger(__name__)
def _worker_process(queue, iteration_gen, timeout, concurrency, times, def _worker_process(queue, iteration_gen, timeout, concurrency, times,
context, cls, method_name, args, aborted, info): context, cls, method_name, args, aborted, info):

View File

@ -21,9 +21,6 @@ from rally.task import scenario
from rally.task import validation from rally.task import validation
LOG = logging.getLogger(__name__)
class DummyScenarioException(exceptions.RallyException): class DummyScenarioException(exceptions.RallyException):
msg_fmt = _("Dummy scenario expected exception: '%(message)s'") msg_fmt = _("Dummy scenario expected exception: '%(message)s'")

View File

@ -15,14 +15,11 @@ import random
import six import six
from rally.common.i18n import _, _LE from rally.common.i18n import _, _LE
from rally.common import logging
from rally import consts from rally import consts
from rally import exceptions from rally import exceptions
from rally import osclients from rally import osclients
from rally.task import context from rally.task import context
LOG = logging.getLogger(__name__)
@context.configure(name="api_versions", order=150) @context.configure(name="api_versions", order=150)
class OpenStackAPIVersions(context.Context): class OpenStackAPIVersions(context.Context):

View File

@ -14,14 +14,10 @@
# under the License. # under the License.
from rally.common.i18n import _ from rally.common.i18n import _
from rally.common import logging
from rally import consts from rally import consts
from rally import exceptions from rally import exceptions
LOG = logging.getLogger(__name__)
class NoSuchCleanupResources(exceptions.RallyException): class NoSuchCleanupResources(exceptions.RallyException):
msg_fmt = _("Missing cleanup resource managers: %(message)s") msg_fmt = _("Missing cleanup resource managers: %(message)s")

View File

@ -12,11 +12,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
LOG = logging.getLogger(__name__)
class CinderQuotas(object): class CinderQuotas(object):
"""Management of Cinder quotas.""" """Management of Cinder quotas."""

View File

@ -12,11 +12,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
LOG = logging.getLogger(__name__)
class DesignateQuotas(object): class DesignateQuotas(object):
"""Management of Designate quotas.""" """Management of Designate quotas."""

View File

@ -12,11 +12,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
LOG = logging.getLogger(__name__)
class NeutronQuotas(object): class NeutronQuotas(object):
"""Management of Neutron quotas.""" """Management of Neutron quotas."""

View File

@ -12,11 +12,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
LOG = logging.getLogger(__name__)
class NovaQuotas(object): class NovaQuotas(object):
"""Management of Nova quotas.""" """Management of Nova quotas."""

2
rally/plugins/openstack/scenarios/cinder/volumes.py Executable file → Normal file
View File

@ -26,8 +26,6 @@ from rally.task import atomic
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
LOG = logging.getLogger(__name__)
class CinderVolumes(cinder_utils.CinderScenario, class CinderVolumes(cinder_utils.CinderScenario,
nova_utils.NovaScenario, nova_utils.NovaScenario,

View File

@ -12,7 +12,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
from rally import consts from rally import consts
from rally.plugins.openstack import scenario from rally.plugins.openstack import scenario
from rally.plugins.openstack.scenarios.ec2 import utils from rally.plugins.openstack.scenarios.ec2 import utils
@ -20,9 +19,6 @@ from rally.task import types
from rally.task import validation from rally.task import validation
LOG = logging.getLogger(__name__)
class EC2Servers(utils.EC2Scenario): class EC2Servers(utils.EC2Scenario):
"""Benchmark scenarios for servers using EC2.""" """Benchmark scenarios for servers using EC2."""

View File

@ -13,15 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
from rally import consts from rally import consts
from rally.plugins.openstack import scenario from rally.plugins.openstack import scenario
from rally.plugins.openstack.scenarios.murano import utils from rally.plugins.openstack.scenarios.murano import utils
from rally.task import atomic from rally.task import atomic
from rally.task import validation from rally.task import validation
LOG = logging.getLogger(__name__)
class MuranoEnvironments(utils.MuranoScenario): class MuranoEnvironments(utils.MuranoScenario):
"""Benchmark scenarios for Murano environments.""" """Benchmark scenarios for Murano environments."""

View File

@ -13,16 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
from rally import consts from rally import consts
from rally.plugins.openstack import scenario from rally.plugins.openstack import scenario
from rally.plugins.openstack.scenarios.nova import utils from rally.plugins.openstack.scenarios.nova import utils
from rally.task import validation from rally.task import validation
LOG = logging.getLogger(__name__)
class NovaAgents(utils.NovaScenario): class NovaAgents(utils.NovaScenario):
"""Benchmark scenarios for Nova agents.""" """Benchmark scenarios for Nova agents."""

View File

@ -13,16 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
from rally import consts from rally import consts
from rally.plugins.openstack import scenario from rally.plugins.openstack import scenario
from rally.plugins.openstack.scenarios.nova import utils from rally.plugins.openstack.scenarios.nova import utils
from rally.task import validation from rally.task import validation
LOG = logging.getLogger(__name__)
class NovaAggregates(utils.NovaScenario): class NovaAggregates(utils.NovaScenario):
"""Benchmark scenarios for Nova aggregates.""" """Benchmark scenarios for Nova aggregates."""

View File

@ -13,16 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
from rally import consts from rally import consts
from rally.plugins.openstack import scenario from rally.plugins.openstack import scenario
from rally.plugins.openstack.scenarios.nova import utils from rally.plugins.openstack.scenarios.nova import utils
from rally.task import validation from rally.task import validation
LOG = logging.getLogger(__name__)
class NovaAvailabilityZones(utils.NovaScenario): class NovaAvailabilityZones(utils.NovaScenario):
"""Benchmark scenarios for Nova availability-zones.""" """Benchmark scenarios for Nova availability-zones."""

View File

@ -13,16 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
from rally import consts from rally import consts
from rally.plugins.openstack import scenario from rally.plugins.openstack import scenario
from rally.plugins.openstack.scenarios.nova import utils from rally.plugins.openstack.scenarios.nova import utils
from rally.task import validation from rally.task import validation
LOG = logging.getLogger(__name__)
class NovaHosts(utils.NovaScenario): class NovaHosts(utils.NovaScenario):
"""Benchmark scenarios for Nova hosts.""" """Benchmark scenarios for Nova hosts."""

View File

@ -13,16 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
from rally import consts from rally import consts
from rally.plugins.openstack import scenario from rally.plugins.openstack import scenario
from rally.plugins.openstack.scenarios.nova import utils from rally.plugins.openstack.scenarios.nova import utils
from rally.task import validation from rally.task import validation
LOG = logging.getLogger(__name__)
class NovaHypervisors(utils.NovaScenario): class NovaHypervisors(utils.NovaScenario):
"""Benchmark scenarios for Nova hypervisors.""" """Benchmark scenarios for Nova hypervisors."""

View File

@ -13,16 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally.common import logging
from rally import consts from rally import consts
from rally.plugins.openstack import scenario from rally.plugins.openstack import scenario
from rally.plugins.openstack.scenarios.nova import utils from rally.plugins.openstack.scenarios.nova import utils
from rally.task import validation from rally.task import validation
LOG = logging.getLogger(__name__)
class NovaServices(utils.NovaScenario): class NovaServices(utils.NovaScenario):
"""Benchmark scenarios for Nova agents.""" """Benchmark scenarios for Nova agents."""