[Openstack] Swift S3 with Keystone anyone?

Andiabes andi.abes at gmail.com
Fri Feb 10 02:23:06 UTC 2012


Take a peek here ( this is for diablo/stable)
https://github.com/dellcloudedge/barclamp-keystone/blob/master/chef/cookbooks/keystone/recipes/server.rb#L160


On Feb 9, 2012, at 9:10 PM, Pete Zaitcev <zaitcev at redhat.com> wrote:

> On Thu, 2 Feb 2012 19:03:54 +0900
> Akira Yoshiyama <akirayoshiyama at gmail.com> wrote:
> 
>> I modified the wiki:
>> http://wiki.openstack.org/Keystone-BP-S3Token
>> 
>> I added authtoken in main pipeline just now.
> 
> I am still unable to figure out how to add the right password.
> So far, the only thing I figured out is that you do not use the
> Swift password that I expected. Instead, something like this
> happens:
> 
> keystone/logic/service.py:
>    def authenticate_s3(self, credentials):
>        creds = self.credential_manager.get_by_access(credentials.access)
>        #  c.access is "zaitcev" above
> 
> keystone/backends/sqlalchemy/api/credentials.py:
>    def get_by_access(self, access, session=None):
>        result = session.query(models.Credentials).\
>                         filter_by(type="EC2", key=access).first()
> 
> So, clearly "keystone-manage user add zaitcev passw0rd admten" is
> not sufficient.
> 
> Would you share the proper incarnation for keystone-manage to add
> a "EC2" type password?
> 
> Yours,
> -- Pete
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp




More information about the Openstack mailing list