← Back to team overview

openstack team mailing list archive

Re: swift account not found

 

Hi Chmouel,

Yes I'm using tempauth

this is the proxy-server.conf
_______________________________________________________________________________
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
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

[filter:tempauth]
use = egg:swift#tempauth
user_system_root = testpass .admin https://X.X.X.X:8080/v1/AUTH_system

[filter:healthcheck]
use = egg:swift#healthcheck

[filter:cache]
use = egg:swift#memcache
memcache_servers = X.X.X.X:11211
________________________________________________________________________________

I will add the line wich specify the account_autocreate and try again


Thanks a lot

Regards
Khaled


> From: chmouel@xxxxxxxxxxxxx
> Date: Fri, 25 Nov 2011 19:57:37 +0100
> Subject: Re: [Openstack] swift account not found
> To: khaled-bbk@xxxxxxxxxxx
> CC: openstack@xxxxxxxxxxxxxxxxxxx
> 
> Hi Khaled,
> 
> You are using the tempauth middleware for auth right? Are you sure you
> have the system:root/testpass account:user password in your middleware
>  config (this is inside proxy-server.conf).
> 
> What version of swift do you have ? On latest version you need to have
> the account_autocreate setting like specified here:
> 
> http://docs.openstack.org/diablo/openstack-compute/starter/content/Proxy_server_configuration.html
> 
> Chmouel.
> 
> On Fri, Nov 25, 2011 at 5:43 PM, Khaled Ben Bahri
> <khaled-bbk@xxxxxxxxxxx> wrote:
> > Hi all,
> >
> > I tryed to install swift on 7 nodes : the first is the proxy server, and the
> > others are storage servers
> >
> > after creating and configuring all nodes, when i want to check that swift
> > works,
> > I execute this command :
> >
> > swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K
> > testpass stat
> >
> > but I have an error :
> >
> > Account not found
> >
> >
> > I followed this site step by step :
> > http://swift.openstack.org/howto_installmultinode.html
> >
> >
> > Can any one please help me
> >
> > Thanks in advance for any help
> >
> > Best regards
> > Khaled
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
> >
 		 	   		  

References