yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10668
[Bug 1283872] Re: webob.exc.HTTPForbidden can't show correct message
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => icehouse-3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1283872
Title:
webob.exc.HTTPForbidden can't show correct message
Status in Cinder:
Fix Committed
Status in OpenStack Identity (Keystone):
In Progress
Status in OpenStack Neutron (virtual network service):
Fix Committed
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
In nova/api/ec2/__init__.py there are codes like:
154 def __call__(self, req):
155 access_key = str(req.params['AWSAccessKeyId'])
156 failures_key = "authfailures-%s" % access_key
157 failures = int(self.mc.get(failures_key) or 0)
158 if failures >= CONF.lockout_attempts:
159 detail = _("Too many failed authentications.")
160 raise webob.exc.HTTPForbidden(detail=detail)
But webob.exc.HTTPForbidden should use the 'explanation' parameter to
show the error message.
The source can be referred to
https://github.com/Pylons/webob/blob/master/webob/exc.py#L666
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1283872/+subscriptions
References