← Back to team overview

openstack team mailing list archive

Re: swift: Account not found[grizzly]

 

1) No minimal limitation currently .
2) Did you set the above option to true ?
allow_account_management
https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L61

account_autocreate
https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L69


+Hugo Kuo+
hugo@xxxxxxxxxxxxxx
tonytkdk@xxxxxxxxx
+886 935004793


2013/4/9 Liu Wenmao <marvelliu@xxxxxxxxx>

> Hi all:
>
> I just installed swift from github, after I configure a proxy node and a
> storage node, and run the stat command, it fails:
> # swift -v -V 2.0 -A http://controller:5000/v2.0 -U service:swift -K
> nsfocus stat
> Account not found
>
> Keystone and disk configuation seem OK, syslog gives:
> Apr  9 13:45:21 node1 account-server AUTH_2755db390fcd4c9bb504242617d5f6a0
> (txn: tx6919d8c66d454e50a9b03deded9b2ec8)
> Apr  9 13:45:21 node1 account-server 20.0.0.1 - - [09/Apr/2013:05:45:21
> +0000] "HEAD /swr/27113/AUTH_2755db390fcd4c9bb504242617d5f6a0" 404 -
> "tx6919d8c66d454e50a9b03deded9b2ec8" "-" "-" 0.0020 ""
>
> I read the code and find that the server try to visit db file:
> /srv/node/swr/accounts/27113/e03/1a7a753448a645fdf2b6bcc7223e5e03, but my
> directory  /srv/node/swr/accounts/ is empty, so server return a 404 error.
>
> I find that the db file is only created when the server receives a
> REPLICATE request, but I do not know how to generate such a request, or why
> does it not generate automatically.
>
> Moreover, what is the minimal amount of storage nodes?
>
> Thanks
> Wenmao Liu
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References