yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09078
[Bug 1273678] [NEW] NameError: name '_' is not defined in Keystone/exception.py
Public bug reported:
swift-init proxy restart
Signal proxy-server pid: 3025 signal: 15
No proxy-server running
Starting proxy-server...(/etc/swift/proxy-server.conf)
Traceback (most recent call last):
File "/usr/local/bin/swift-proxy-server", line 23, in <module>
sys.exit(run_wsgi(conf_file, 'proxy-server', default_port=8080, **options))
File "/usr/local/lib/python2.7/dist-packages/swift/common/wsgi.py", line 386, in run_wsgi
loadapp(conf_path, global_conf=global_conf)
File "/usr/local/lib/python2.7/dist-packages/swift/common/wsgi.py", line 313, in loadapp
ctx = loadcontext(loadwsgi.APP, conf_file, global_conf=global_conf)
File "/usr/local/lib/python2.7/dist-packages/swift/common/wsgi.py", line 305, in loadcontext
global_conf=global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
global_conf=global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File "/usr/local/lib/python2.7/dist-packages/swift/common/wsgi.py", line 59, in get_context
object_type, name=name, global_conf=global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context
global_additions=global_additions)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context
for name in pipeline[:-1]]
File "/usr/local/lib/python2.7/dist-packages/swift/common/wsgi.py", line 59, in get_context
object_type, name=name, global_conf=global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 458, in get_context
section)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit
value = import_string(found_expr)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 22, in import_string
return pkg_resources.EntryPoint.parse("x=" + s).load(False)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/dist-packages/keystone/middleware/__init__.py", line 18, in <module>
from keystone.middleware.core import *
File "/usr/lib/python2.7/dist-packages/keystone/middleware/core.py", line 21, in <module>
from keystone.common import utils
File "/usr/lib/python2.7/dist-packages/keystone/common/utils.py", line 32, in <module>
from keystone import exception
File "/usr/lib/python2.7/dist-packages/keystone/exception.py", line 63, in <module>
class ValidationError(Error):
File "/usr/lib/python2.7/dist-packages/keystone/exception.py", line 64, in ValidationError
message_format = _("Expecting to find %(attribute)s in %(target)s."
NameError: name '_' is not defined
** Affects: keystone
Importance: Undecided
Assignee: harshit Agarwal (harshit-py)
Status: New
** Changed in: keystone
Assignee: (unassigned) => harshit Agarwal (harshit-py)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1273678
Title:
NameError: name '_' is not defined in Keystone/exception.py
Status in OpenStack Identity (Keystone):
New
Bug description:
swift-init proxy restart
Signal proxy-server pid: 3025 signal: 15
No proxy-server running
Starting proxy-server...(/etc/swift/proxy-server.conf)
Traceback (most recent call last):
File "/usr/local/bin/swift-proxy-server", line 23, in <module>
sys.exit(run_wsgi(conf_file, 'proxy-server', default_port=8080, **options))
File "/usr/local/lib/python2.7/dist-packages/swift/common/wsgi.py", line 386, in run_wsgi
loadapp(conf_path, global_conf=global_conf)
File "/usr/local/lib/python2.7/dist-packages/swift/common/wsgi.py", line 313, in loadapp
ctx = loadcontext(loadwsgi.APP, conf_file, global_conf=global_conf)
File "/usr/local/lib/python2.7/dist-packages/swift/common/wsgi.py", line 305, in loadcontext
global_conf=global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
global_conf=global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File "/usr/local/lib/python2.7/dist-packages/swift/common/wsgi.py", line 59, in get_context
object_type, name=name, global_conf=global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context
global_additions=global_additions)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context
for name in pipeline[:-1]]
File "/usr/local/lib/python2.7/dist-packages/swift/common/wsgi.py", line 59, in get_context
object_type, name=name, global_conf=global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 458, in get_context
section)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit
value = import_string(found_expr)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 22, in import_string
return pkg_resources.EntryPoint.parse("x=" + s).load(False)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/dist-packages/keystone/middleware/__init__.py", line 18, in <module>
from keystone.middleware.core import *
File "/usr/lib/python2.7/dist-packages/keystone/middleware/core.py", line 21, in <module>
from keystone.common import utils
File "/usr/lib/python2.7/dist-packages/keystone/common/utils.py", line 32, in <module>
from keystone import exception
File "/usr/lib/python2.7/dist-packages/keystone/exception.py", line 63, in <module>
class ValidationError(Error):
File "/usr/lib/python2.7/dist-packages/keystone/exception.py", line 64, in ValidationError
message_format = _("Expecting to find %(attribute)s in %(target)s."
NameError: name '_' is not defined
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1273678/+subscriptions
Follow ups
References