[openstack-dev] [keystone] [oslo.config] [nova] [tox/testr] DuplicateOptError from oslo.config on middleware

Chmouel Boudjnah chmouel at enovance.com
Mon Apr 22 20:41:33 UTC 2013

On Mon, Apr 22, 2013 at 10:30 PM, Vishvananda Ishaya
<vishvananda at gmail.com> wrote:
> Right now the in-use ec2token middleware lives in nova:
> https://github.com/openstack/nova/blob/master/nova/api/ec2/__init__.py#L193
> This allows us to construct a nova request object directly. The one in
> keystone is not used anywhere.
> If we move the ec2 middleware into keystone client then we need to store an

I didn't realise that, I think this is good enough to leave it as it
is in nova and have ec2token from keystone deprecated.

> intermediate version of the data returned from the authenticate call in the
> wsgi env and have a new middleware in nova to turn it into a nova request
> object. That seems ok but I don't know if it is a necessary change at this
> point.
> If the s3 middleware can just end up adding stuff to the wsgi env
> and doesn't need internal data then sticking it in keystoneclient makes
> sense to me.

yes it doesn't need to do much more than stuff with the wsgi.env


More information about the OpenStack-dev mailing list