Use oslo.log instead of incubator
Most of changes are just replacing from keystone.openstack.common import log with from oslo_log import log There are some other specific changes that had to be made * Initialize logger in keystone/config.py Change-Id: I859edb71c434051ffe7f34c16018b738ddb71e3b
This commit is contained in:
parent
115d9660de
commit
0f61b11141
@ -25,7 +25,7 @@ Logging
|
|||||||
|
|
||||||
Use the common logging module, and ensure you ``getLogger``::
|
Use the common logging module, and ensure you ``getLogger``::
|
||||||
|
|
||||||
from keystone.openstack.common import log
|
from oslo_log import log
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@ wrap_width = 79
|
|||||||
namespace = keystone
|
namespace = keystone
|
||||||
namespace = keystone.notifications
|
namespace = keystone.notifications
|
||||||
namespace = keystone.openstack.common.eventlet_backdoor
|
namespace = keystone.openstack.common.eventlet_backdoor
|
||||||
namespace = keystone.openstack.common.log
|
|
||||||
namespace = keystone.openstack.common.policy
|
namespace = keystone.openstack.common.policy
|
||||||
|
namespace = oslo.log
|
||||||
namespace = oslo.messaging
|
namespace = oslo.messaging
|
||||||
namespace = oslo.db
|
namespace = oslo.db
|
||||||
namespace = oslo.middleware
|
namespace = oslo.middleware
|
||||||
|
@ -15,6 +15,7 @@ from __future__ import absolute_import
|
|||||||
|
|
||||||
import ldap as ldap
|
import ldap as ldap
|
||||||
import ldap.filter
|
import ldap.filter
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone import assignment
|
from keystone import assignment
|
||||||
from keystone.assignment.role_backends import ldap as ldap_role
|
from keystone.assignment.role_backends import ldap as ldap_role
|
||||||
@ -24,7 +25,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.identity.backends import ldap as ldap_identity
|
from keystone.identity.backends import ldap as ldap_identity
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.openstack.common import versionutils
|
from keystone.openstack.common import versionutils
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# 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 oslo_log import log
|
||||||
import six
|
import six
|
||||||
import sqlalchemy
|
import sqlalchemy
|
||||||
from sqlalchemy.sql.expression import false
|
from sqlalchemy.sql.expression import false
|
||||||
@ -21,7 +22,6 @@ from keystone.common import sql
|
|||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -19,6 +19,7 @@ import copy
|
|||||||
import functools
|
import functools
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from six.moves import urllib
|
from six.moves import urllib
|
||||||
|
|
||||||
from keystone.assignment import schema
|
from keystone.assignment import schema
|
||||||
@ -29,7 +30,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LW
|
from keystone.i18n import _, _LW
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import cache
|
from keystone.common import cache
|
||||||
@ -27,7 +28,6 @@ from keystone import exception
|
|||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.i18n import _LI
|
from keystone.i18n import _LI
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.openstack.common import versionutils
|
from keystone.openstack.common import versionutils
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone import assignment
|
from keystone import assignment
|
||||||
from keystone.common import ldap as common_ldap
|
from keystone.common import ldap as common_ldap
|
||||||
from keystone.common import models
|
from keystone.common import models
|
||||||
@ -19,7 +21,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.identity.backends import ldap as ldap_identity
|
from keystone.identity.backends import ldap as ldap_identity
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
from keystoneclient.common import cms
|
from keystoneclient.common import cms
|
||||||
|
from oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
@ -27,7 +28,6 @@ from keystone import config
|
|||||||
from keystone.contrib import federation
|
from keystone.contrib import federation
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LI, _LW
|
from keystone.i18n import _, _LI, _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.resource import controllers as resource_controllers
|
from keystone.resource import controllers as resource_controllers
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
import functools
|
import functools
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
from pycadf import cadftaxonomy as taxonomy
|
from pycadf import cadftaxonomy as taxonomy
|
||||||
from six.moves.urllib import parse
|
from six.moves.urllib import parse
|
||||||
@ -24,7 +25,6 @@ from keystone import exception
|
|||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# 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 oslo_log import log
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
|
|
||||||
from keystone import auth
|
from keystone import auth
|
||||||
@ -21,7 +22,6 @@ from keystone.contrib.oauth1 import core as oauth
|
|||||||
from keystone.contrib.oauth1 import validator
|
from keystone.contrib.oauth1 import validator
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -14,13 +14,13 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone import auth
|
from keystone import auth
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
METHOD_NAME = 'password'
|
METHOD_NAME = 'password'
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# 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 oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone import auth
|
from keystone import auth
|
||||||
@ -22,7 +23,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.catalog.backends import kvs
|
from keystone.catalog.backends import kvs
|
||||||
@ -21,7 +22,6 @@ from keystone.catalog import core
|
|||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _LC
|
from keystone.i18n import _LC
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import cache
|
from keystone.common import cache
|
||||||
@ -29,7 +30,6 @@ from keystone import exception
|
|||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.i18n import _LE
|
from keystone.i18n import _LE
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -17,6 +17,7 @@ from __future__ import absolute_import
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
from oslo_log import log
|
||||||
import pbr.version
|
import pbr.version
|
||||||
|
|
||||||
from keystone import assignment
|
from keystone import assignment
|
||||||
@ -27,13 +28,11 @@ from keystone.common import utils
|
|||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone.i18n import _, _LW
|
from keystone.i18n import _, _LW
|
||||||
from keystone import identity
|
from keystone import identity
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone import token
|
from keystone import token
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
LOG = log.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class BaseApp(object):
|
class BaseApp(object):
|
||||||
|
@ -16,10 +16,11 @@
|
|||||||
# 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 oslo_log import log
|
||||||
|
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LW
|
from keystone.i18n import _, _LW
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
AUTH_CONTEXT_ENV = 'KEYSTONE_AUTH_CONTEXT'
|
AUTH_CONTEXT_ENV = 'KEYSTONE_AUTH_CONTEXT'
|
||||||
|
2
keystone/common/cache/_memcache_pool.py
vendored
2
keystone/common/cache/_memcache_pool.py
vendored
@ -26,11 +26,11 @@ import threading
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
import memcache
|
import memcache
|
||||||
|
from oslo_log import log
|
||||||
from six.moves import queue
|
from six.moves import queue
|
||||||
|
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
2
keystone/common/cache/backends/mongo.py
vendored
2
keystone/common/cache/backends/mongo.py
vendored
@ -17,13 +17,13 @@ import datetime
|
|||||||
|
|
||||||
from dogpile.cache import api
|
from dogpile.cache import api
|
||||||
from dogpile.cache import util as dp_util
|
from dogpile.cache import util as dp_util
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LW
|
from keystone.i18n import _, _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
NO_VALUE = api.NO_VALUE
|
NO_VALUE = api.NO_VALUE
|
||||||
|
2
keystone/common/cache/core.py
vendored
2
keystone/common/cache/core.py
vendored
@ -17,12 +17,12 @@
|
|||||||
import dogpile.cache
|
import dogpile.cache
|
||||||
from dogpile.cache import proxy
|
from dogpile.cache import proxy
|
||||||
from dogpile.cache import util
|
from dogpile.cache import util
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
|
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LE
|
from keystone.i18n import _, _LE
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
import functools
|
import functools
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import authorization
|
from keystone.common import authorization
|
||||||
@ -26,7 +27,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LW
|
from keystone.i18n import _, _LW
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
import functools
|
import functools
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from keystone.openstack.common import log
|
from oslo_log import log
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -25,15 +25,16 @@ import sys
|
|||||||
import eventlet
|
import eventlet
|
||||||
import eventlet.wsgi
|
import eventlet.wsgi
|
||||||
import greenlet
|
import greenlet
|
||||||
|
from oslo_log import log
|
||||||
|
from oslo_log import loggers
|
||||||
|
|
||||||
from keystone.i18n import _LE, _LI
|
from keystone.i18n import _LE, _LI
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class EventletFilteringLogger(log.WritableLogger):
|
class EventletFilteringLogger(loggers.WritableLogger):
|
||||||
# NOTE(morganfainberg): This logger is designed to filter out specific
|
# NOTE(morganfainberg): This logger is designed to filter out specific
|
||||||
# Tracebacks to limit the amount of data that eventlet can log. In the
|
# Tracebacks to limit the amount of data that eventlet can log. In the
|
||||||
# case of broken sockets (EPIPE and ECONNRESET), we are seeing a huge
|
# case of broken sockets (EPIPE and ECONNRESET), we are seeing a huge
|
||||||
|
@ -21,13 +21,13 @@ import time
|
|||||||
|
|
||||||
from dogpile.cache import api
|
from dogpile.cache import api
|
||||||
from dogpile.cache.backends import memcached
|
from dogpile.cache.backends import memcached
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone.common.cache.backends import memcache_pool
|
from keystone.common.cache.backends import memcache_pool
|
||||||
from keystone.common import manager
|
from keystone.common import manager
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -22,6 +22,7 @@ from dogpile.cache import proxy
|
|||||||
from dogpile.cache import region
|
from dogpile.cache import region
|
||||||
from dogpile.cache import util as dogpile_util
|
from dogpile.cache import util as dogpile_util
|
||||||
from dogpile.core import nameregistry
|
from dogpile.core import nameregistry
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
@ -30,7 +31,6 @@ from keystone import exception
|
|||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.i18n import _LI
|
from keystone.i18n import _LI
|
||||||
from keystone.i18n import _LW
|
from keystone.i18n import _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
__all__ = ['KeyValueStore', 'KeyValueStoreLock', 'LockTimeout',
|
__all__ = ['KeyValueStore', 'KeyValueStoreLock', 'LockTimeout',
|
||||||
|
@ -22,12 +22,12 @@ import weakref
|
|||||||
|
|
||||||
import ldap.filter
|
import ldap.filter
|
||||||
import ldappool
|
import ldappool
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.i18n import _LW
|
from keystone.i18n import _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -15,11 +15,12 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone.common import environment
|
from keystone.common import environment
|
||||||
from keystone.common import utils
|
from keystone.common import utils
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone.i18n import _LI, _LE
|
from keystone.i18n import _LI, _LE
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -26,6 +26,7 @@ from oslo_db import exception as db_exception
|
|||||||
from oslo_db import options as db_options
|
from oslo_db import options as db_options
|
||||||
from oslo_db.sqlalchemy import models
|
from oslo_db.sqlalchemy import models
|
||||||
from oslo_db.sqlalchemy import session as db_session
|
from oslo_db.sqlalchemy import session as db_session
|
||||||
|
from oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
import six
|
import six
|
||||||
import sqlalchemy as sql
|
import sqlalchemy as sql
|
||||||
@ -36,7 +37,6 @@ from sqlalchemy import types as sql_types
|
|||||||
from keystone.common import utils
|
from keystone.common import utils
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import migrate
|
import migrate
|
||||||
|
from oslo_log import log
|
||||||
import sqlalchemy as sql
|
import sqlalchemy as sql
|
||||||
from sqlalchemy import orm
|
from sqlalchemy import orm
|
||||||
|
|
||||||
from keystone.common import sql as ks_sql
|
from keystone.common import sql as ks_sql
|
||||||
from keystone.common.sql import migration_helpers
|
from keystone.common.sql import migration_helpers
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -23,6 +23,7 @@ import hashlib
|
|||||||
import os
|
import os
|
||||||
import pwd
|
import pwd
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
from oslo_utils import strutils
|
from oslo_utils import strutils
|
||||||
import passlib.hash
|
import passlib.hash
|
||||||
@ -32,7 +33,6 @@ from six import moves
|
|||||||
from keystone.common import config
|
from keystone.common import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LE, _LW
|
from keystone.i18n import _, _LE, _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -22,6 +22,7 @@ import copy
|
|||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
import oslo_i18n
|
import oslo_i18n
|
||||||
|
from oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
from oslo_utils import strutils
|
from oslo_utils import strutils
|
||||||
@ -38,7 +39,6 @@ from keystone.i18n import _
|
|||||||
from keystone.i18n import _LI
|
from keystone.i18n import _LI
|
||||||
from keystone.i18n import _LW
|
from keystone.i18n import _LW
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -16,9 +16,10 @@
|
|||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone.common import config
|
from keystone.common import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
@ -44,18 +45,13 @@ def set_default_for_default_log_levels():
|
|||||||
'keystone.common._memcache_pool=INFO',
|
'keystone.common._memcache_pool=INFO',
|
||||||
]
|
]
|
||||||
|
|
||||||
def find_default_log_levels_opt():
|
log.register_options(CONF)
|
||||||
for opt in log.log_opts:
|
CONF.default_log_levels.extend(extra_log_level_defaults)
|
||||||
if opt.dest == 'default_log_levels':
|
|
||||||
return opt
|
|
||||||
|
|
||||||
opt = find_default_log_levels_opt()
|
|
||||||
opt.default.extend(extra_log_level_defaults)
|
|
||||||
|
|
||||||
|
|
||||||
def setup_logging():
|
def setup_logging():
|
||||||
"""Sets up logging for the keystone package."""
|
"""Sets up logging for the keystone package."""
|
||||||
log.setup('keystone')
|
log.setup(CONF, 'keystone')
|
||||||
logging.captureWarnings(True)
|
logging.captureWarnings(True)
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
@ -21,7 +22,6 @@ from keystone.common import extension
|
|||||||
from keystone.common import manager
|
from keystone.common import manager
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
@ -21,7 +22,6 @@ from keystone.common import manager
|
|||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LE, _LW
|
from keystone.i18n import _, _LE, _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -12,13 +12,13 @@
|
|||||||
# 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 oslo_log import log
|
||||||
|
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
from keystone.common import manager
|
from keystone.common import manager
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _LI
|
from keystone.i18n import _LI
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
|
from oslo_log import log as logging
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
@ -21,7 +22,6 @@ from keystone.common import extension
|
|||||||
from keystone.common import manager
|
from keystone.common import manager
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.openstack.common import log as logging
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -15,6 +15,7 @@ import os
|
|||||||
import subprocess
|
import subprocess
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import saml2
|
import saml2
|
||||||
from saml2 import md
|
from saml2 import md
|
||||||
@ -27,7 +28,6 @@ from keystone.common import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LE
|
from keystone.i18n import _, _LE
|
||||||
from keystone.openstack.common import fileutils
|
from keystone.openstack.common import fileutils
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
import jsonschema
|
import jsonschema
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import config
|
from keystone.common import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LW
|
from keystone.i18n import _, _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
|
|
||||||
"""oAuthlib request validator."""
|
"""oAuthlib request validator."""
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
from keystone.contrib.oauth1 import core as oauth1
|
from keystone.contrib.oauth1 import core as oauth1
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
METHOD_NAME = 'oauth_validator'
|
METHOD_NAME = 'oauth_validator'
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
import abc
|
import abc
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
@ -25,7 +26,6 @@ from keystone.contrib.revoke import model
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.openstack.common import versionutils
|
from keystone.openstack.common import versionutils
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,13 +15,14 @@
|
|||||||
import copy
|
import copy
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
from keystone.common import extension
|
from keystone.common import extension
|
||||||
from keystone.common import wsgi
|
from keystone.common import wsgi
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone import identity
|
from keystone import identity
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# 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 oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
import webob
|
import webob
|
||||||
|
|
||||||
@ -19,7 +20,6 @@ from keystone.common import extension
|
|||||||
from keystone.common import json_home
|
from keystone.common import json_home
|
||||||
from keystone.common import wsgi
|
from keystone.common import wsgi
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
@ -23,7 +24,6 @@ from keystone.common import driver_hints
|
|||||||
from keystone.common import manager
|
from keystone.common import manager
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -12,12 +12,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 oslo_log import log
|
||||||
from oslo_utils import encodeutils
|
from oslo_utils import encodeutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import config
|
from keystone.common import config
|
||||||
from keystone.i18n import _, _LW
|
from keystone.i18n import _, _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -16,6 +16,7 @@ import uuid
|
|||||||
|
|
||||||
import ldap
|
import ldap
|
||||||
import ldap.filter
|
import ldap.filter
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone import clean
|
from keystone import clean
|
||||||
@ -26,7 +27,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone import identity
|
from keystone import identity
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -14,12 +14,13 @@
|
|||||||
|
|
||||||
"""Workflow Logic the Identity service."""
|
"""Workflow Logic the Identity service."""
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone.common import controller
|
from keystone.common import controller
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LW
|
from keystone.i18n import _, _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -20,6 +20,7 @@ import os
|
|||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
@ -32,7 +33,6 @@ from keystone import exception
|
|||||||
from keystone.i18n import _, _LW
|
from keystone.i18n import _, _LW
|
||||||
from keystone.identity.mapping_backends import mapping
|
from keystone.identity.mapping_backends import mapping
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# 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 oslo_log import log
|
||||||
from oslo_middleware import sizelimit
|
from oslo_middleware import sizelimit
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
import six
|
import six
|
||||||
@ -22,7 +23,6 @@ from keystone.common import wsgi
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _LW
|
from keystone.i18n import _LW
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.openstack.common import versionutils
|
from keystone.openstack.common import versionutils
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -20,6 +20,7 @@ import logging
|
|||||||
import socket
|
import socket
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
from oslo_log import log
|
||||||
import oslo_messaging
|
import oslo_messaging
|
||||||
import pycadf
|
import pycadf
|
||||||
from pycadf import cadftaxonomy as taxonomy
|
from pycadf import cadftaxonomy as taxonomy
|
||||||
@ -29,7 +30,6 @@ from pycadf import eventfactory
|
|||||||
from pycadf import resource
|
from pycadf import resource
|
||||||
|
|
||||||
from keystone.i18n import _, _LE
|
from keystone.i18n import _, _LE
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
notifier_opts = [
|
notifier_opts = [
|
||||||
|
@ -17,10 +17,11 @@
|
|||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone.common import utils
|
from keystone.common import utils
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.openstack.common import policy as common_policy
|
from keystone.openstack.common import policy as common_policy
|
||||||
from keystone import policy
|
from keystone import policy
|
||||||
|
|
||||||
|
@ -14,6 +14,8 @@ from __future__ import absolute_import
|
|||||||
|
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone import clean
|
from keystone import clean
|
||||||
from keystone.common import driver_hints
|
from keystone.common import driver_hints
|
||||||
from keystone.common import ldap as common_ldap
|
from keystone.common import ldap as common_ldap
|
||||||
@ -22,7 +24,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.identity.backends import ldap as ldap_identity
|
from keystone.identity.backends import ldap as ldap_identity
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone import resource
|
from keystone import resource
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,12 +10,13 @@
|
|||||||
# 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 oslo_log import log
|
||||||
|
|
||||||
from keystone import clean
|
from keystone import clean
|
||||||
from keystone.common import sql
|
from keystone.common import sql
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _LE
|
from keystone.i18n import _LE
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone import resource as keystone_resource
|
from keystone import resource as keystone_resource
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,13 +17,14 @@
|
|||||||
|
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone.common import controller
|
from keystone.common import controller
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
from keystone.common import validation
|
from keystone.common import validation
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.resource import schema
|
from keystone.resource import schema
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone import clean
|
from keystone import clean
|
||||||
@ -25,7 +26,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LE
|
from keystone.i18n import _, _LE
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
import functools
|
import functools
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from paste import deploy
|
from paste import deploy
|
||||||
import routes
|
import routes
|
||||||
|
|
||||||
@ -26,7 +27,6 @@ from keystone import config
|
|||||||
from keystone import controllers
|
from keystone import controllers
|
||||||
from keystone import credential
|
from keystone import credential
|
||||||
from keystone import identity
|
from keystone import identity
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone import policy
|
from keystone import policy
|
||||||
from keystone import resource
|
from keystone import resource
|
||||||
from keystone import routers
|
from keystone import routers
|
||||||
|
@ -27,6 +27,7 @@ import warnings
|
|||||||
|
|
||||||
import fixtures
|
import fixtures
|
||||||
from oslo_config import fixture as config_fixture
|
from oslo_config import fixture as config_fixture
|
||||||
|
from oslo_log import log
|
||||||
import oslotest.base as oslotest
|
import oslotest.base as oslotest
|
||||||
from oslotest import mockpatch
|
from oslotest import mockpatch
|
||||||
import six
|
import six
|
||||||
@ -50,7 +51,6 @@ from keystone import controllers
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _LW
|
from keystone.i18n import _LW
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.server import common
|
from keystone.server import common
|
||||||
from keystone import service
|
from keystone import service
|
||||||
from keystone.tests.unit import ksfixtures
|
from keystone.tests.unit import ksfixtures
|
||||||
@ -84,6 +84,7 @@ def _calc_tmpdir():
|
|||||||
TMPDIR = _calc_tmpdir()
|
TMPDIR = _calc_tmpdir()
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
log.register_options(CONF)
|
||||||
|
|
||||||
IN_MEM_DB_CONN_STRING = 'sqlite://'
|
IN_MEM_DB_CONN_STRING = 'sqlite://'
|
||||||
|
|
||||||
|
@ -26,13 +26,13 @@ import re
|
|||||||
import shelve
|
import shelve
|
||||||
|
|
||||||
import ldap
|
import ldap
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
from six import moves
|
from six import moves
|
||||||
|
|
||||||
from keystone.common.ldap import core
|
from keystone.common.ldap import core
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
SCOPE_NAMES = {
|
SCOPE_NAMES = {
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
import sys
|
import sys
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from sqlalchemy import exc
|
from sqlalchemy import exc
|
||||||
from testtools import matchers
|
from testtools import matchers
|
||||||
|
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.tests import unit as tests
|
from keystone.tests import unit as tests
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ import uuid
|
|||||||
|
|
||||||
from lxml import etree
|
from lxml import etree
|
||||||
import mock
|
import mock
|
||||||
|
from oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
from oslotest import mockpatch
|
from oslotest import mockpatch
|
||||||
import saml2
|
import saml2
|
||||||
@ -32,7 +33,6 @@ from keystone.contrib.federation import idp as keystone_idp
|
|||||||
from keystone.contrib.federation import utils as mapping_utils
|
from keystone.contrib.federation import utils as mapping_utils
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.tests.unit import federation_fixtures
|
from keystone.tests.unit import federation_fixtures
|
||||||
from keystone.tests.unit import mapping_fixtures
|
from keystone.tests.unit import mapping_fixtures
|
||||||
from keystone.tests.unit import test_v3
|
from keystone.tests.unit import test_v3
|
||||||
|
@ -17,11 +17,11 @@ import os
|
|||||||
import time
|
import time
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
from testtools import testcase
|
from testtools import testcase
|
||||||
|
|
||||||
from keystone.common import environment
|
from keystone.common import environment
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
@ -16,6 +16,7 @@ import datetime
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
from keystoneclient.common import cms
|
from keystoneclient.common import cms
|
||||||
|
from oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import six
|
import six
|
||||||
@ -27,7 +28,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.token import provider
|
from keystone.token import provider
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,10 +14,11 @@
|
|||||||
|
|
||||||
"""Main entry point into the Token service."""
|
"""Main entry point into the Token service."""
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
|
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.openstack.common import versionutils
|
from keystone.openstack.common import versionutils
|
||||||
from keystone.token import persistence
|
from keystone.token import persistence
|
||||||
from keystone.token import provider
|
from keystone.token import provider
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
import copy
|
import copy
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
@ -23,7 +24,6 @@ from keystone.common import kvs
|
|||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LE, _LW
|
from keystone.i18n import _, _LE, _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone import token
|
from keystone import token
|
||||||
from keystone.token import provider
|
from keystone.token import provider
|
||||||
|
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
import copy
|
import copy
|
||||||
import functools
|
import functools
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
|
|
||||||
from keystone.common import sql
|
from keystone.common import sql
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _LI
|
from keystone.i18n import _LI
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone import token
|
from keystone import token
|
||||||
from keystone.token import provider
|
from keystone.token import provider
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
import abc
|
import abc
|
||||||
import copy
|
import copy
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
@ -26,7 +27,6 @@ from keystone.common import manager
|
|||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _LW
|
from keystone.i18n import _LW
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.openstack.common import versionutils
|
from keystone.openstack.common import versionutils
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ import sys
|
|||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from keystoneclient.common import cms
|
from keystoneclient.common import cms
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
@ -32,7 +33,6 @@ from keystone import exception
|
|||||||
from keystone.i18n import _, _LE, _LW
|
from keystone.i18n import _, _LE, _LW
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.openstack.common import versionutils
|
from keystone.openstack.common import versionutils
|
||||||
from keystone.token import persistence
|
from keystone.token import persistence
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# 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 oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import six
|
import six
|
||||||
@ -22,7 +23,6 @@ from keystone import config
|
|||||||
from keystone.contrib import federation
|
from keystone.contrib import federation
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LE
|
from keystone.i18n import _, _LE
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone import token
|
from keystone import token
|
||||||
from keystone.token import provider
|
from keystone.token import provider
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
"""Keystone PKI Token Provider"""
|
"""Keystone PKI Token Provider"""
|
||||||
|
|
||||||
from keystoneclient.common import cms
|
from keystoneclient.common import cms
|
||||||
|
from oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
|
|
||||||
from keystone.common import environment
|
from keystone.common import environment
|
||||||
@ -22,7 +23,6 @@ from keystone.common import utils
|
|||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _, _LE
|
from keystone.i18n import _, _LE
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.token.providers import common
|
from keystone.token.providers import common
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
"""Keystone Compressed PKI Token Provider"""
|
"""Keystone Compressed PKI Token Provider"""
|
||||||
|
|
||||||
from keystoneclient.common import cms
|
from keystoneclient.common import cms
|
||||||
|
from oslo_log import log
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
|
|
||||||
from keystone.common import environment
|
from keystone.common import environment
|
||||||
@ -20,7 +21,6 @@ from keystone.common import utils
|
|||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.token.providers import common
|
from keystone.token.providers import common
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
|
|
||||||
from keystone.common import sql
|
from keystone.common import sql
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone import trust
|
from keystone import trust
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
@ -25,7 +26,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone.models import token_model
|
from keystone.models import token_model
|
||||||
from keystone.openstack.common import log
|
|
||||||
from keystone.trust import schema
|
from keystone.trust import schema
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from keystone.common import dependency
|
from keystone.common import dependency
|
||||||
@ -24,7 +25,6 @@ from keystone import config
|
|||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone.i18n import _
|
from keystone.i18n import _
|
||||||
from keystone import notifications
|
from keystone import notifications
|
||||||
from keystone.openstack.common import log
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -25,6 +25,7 @@ oslo.config>=1.6.0 # Apache-2.0
|
|||||||
# oslo.messaging>=1.6.0 # Apache-2.0
|
# oslo.messaging>=1.6.0 # Apache-2.0
|
||||||
oslo.db>=1.4.1 # Apache-2.0
|
oslo.db>=1.4.1 # Apache-2.0
|
||||||
oslo.i18n>=1.3.0 # Apache-2.0
|
oslo.i18n>=1.3.0 # Apache-2.0
|
||||||
|
oslo.log>=0.1.0 # Apache-2.0
|
||||||
oslo.middleware>=0.3.0 # Apache-2.0
|
oslo.middleware>=0.3.0 # Apache-2.0
|
||||||
oslo.serialization>=1.2.0 # Apache-2.0
|
oslo.serialization>=1.2.0 # Apache-2.0
|
||||||
oslo.utils>=1.2.0 # Apache-2.0
|
oslo.utils>=1.2.0 # Apache-2.0
|
||||||
|
@ -23,6 +23,7 @@ oslo.config>=1.6.0 # Apache-2.0
|
|||||||
oslo.messaging>=1.6.0 # Apache-2.0
|
oslo.messaging>=1.6.0 # Apache-2.0
|
||||||
oslo.db>=1.4.1 # Apache-2.0
|
oslo.db>=1.4.1 # Apache-2.0
|
||||||
oslo.i18n>=1.3.0 # Apache-2.0
|
oslo.i18n>=1.3.0 # Apache-2.0
|
||||||
|
oslo.log>=0.1.0 # Apache-2.0
|
||||||
oslo.middleware>=0.3.0 # Apache-2.0
|
oslo.middleware>=0.3.0 # Apache-2.0
|
||||||
oslo.serialization>=1.2.0 # Apache-2.0
|
oslo.serialization>=1.2.0 # Apache-2.0
|
||||||
oslo.utils>=1.2.0 # Apache-2.0
|
oslo.utils>=1.2.0 # Apache-2.0
|
||||||
|
@ -67,5 +67,4 @@ oslo.config.opts =
|
|||||||
keystone = keystone.common.config:list_opts
|
keystone = keystone.common.config:list_opts
|
||||||
keystone.notifications = keystone.notifications:list_opts
|
keystone.notifications = keystone.notifications:list_opts
|
||||||
keystone.openstack.common.eventlet_backdoor = keystone.openstack.common.eventlet_backdoor:list_opts
|
keystone.openstack.common.eventlet_backdoor = keystone.openstack.common.eventlet_backdoor:list_opts
|
||||||
keystone.openstack.common.log = keystone.openstack.common.log:list_opts
|
|
||||||
keystone.openstack.common.policy = keystone.openstack.common.policy:list_opts
|
keystone.openstack.common.policy = keystone.openstack.common.policy:list_opts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user