← Back to team overview

openstack team mailing list archive

Re: Creating account and user in swift

 

The documentation seems to say that the user "system_tester" does not have
auto permissions on its account.
The headers X-Container-Read and/or X-Container-Write have to be set.
The question is, how can a reseller_admin user see other accounts?
A .reseller_admin account can touch all accounts.
A .admin account can touch its own account.
If you add .admin to your new user, then it should work.


On Fri, Jan 27, 2012 at 10:01 AM, Khaled Ben Bahri
<khaled-bbk@xxxxxxxxxxx>wrote:

>  Hi Chmouel
>
> Yes of course,
> I have it there
> this is th file proxy-server.conf
>
> ______________________________________________________________
>
> [DEFAULT]
> cert_file = /etc/swift/cert.crt
> key_file = /etc/swift/cert.key
> bind_ip = 157.159.103.228
> bind_port = 8080
> workers = 8
> user = swift
>
> [pipeline:main]
> pipeline = healthcheck cache tempauth proxy-server
>
> [app:proxy-server]
> use = egg:swift#proxy
> allow_account_management = true
> account_autocreate = true
>
> [filter:tempauth]
> use = egg:swift#tempauth
> user_system_root = testpass .admin
> user_system_tester = testing
>
> [filter:healthcheck]
> use = egg:swift#healthcheck
>
> [filter:cache]
> use = egg:swift#memcache
> _____________________________________________________________
>
> > From: chmouel@xxxxxxxxxxxxx
> > To: openstack@xxxxxxxxxxxxxxxxxxx
> > Date: Fri, 27 Jan 2012 09:04:34 -0800
>
> > Subject: Re: [Openstack] Creating account and user in swift
> >
> >
> > did you have account_autocreate in there ? for example that's my config
> > with tempauth :
> >
> > [app:proxy-server]
> > use = egg:swift#proxy
> > allow_account_management = true
> > account_autocreate = true
> >
> >
> > Khaled Ben Bahri <khaled-bbk@xxxxxxxxxxx> writes:
> >
> > > Hi Adrian,
> > >
> > > When i add user in the same account of the admin,
> > > I got this error when i tried to test the second user:
> > > Account HEAD failed: https://127.0.0.1:8080/v1/AUTH_system 403
> > > Forbidden
> > >
> > > Khaled
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to : openstack@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openstack
> > More help : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

References