Hi guys,
using swift SAIO (1.6.0-0ubuntu1~cloud0) with tempauth, swift configured and starting up with no error
/etc/swift/proxy.conf
http://paste.openstack.org/show/20948/
/etc/swift/account-server.conf
http://paste.openstack.org/show/20949/
/etc/swfit/container-server.conf
http://paste.openstack.org/show/20950/
/etc/swift/object-server.conf
http://paste.openstack.org/show/20951/
/etc/rsyncd.conf
http://paste.openstack.org/show/20952/
Commands :
$ curl -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://10.211.55.17:8080/auth/v1.0
* About to connect() to 10.211.55.17 port 8080 (#0)
* Trying 10.211.55.17... connected
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 10.211.55.17:8080
> Accept: */*
> X-Storage-User: test:tester
> X-Storage-Pass: testing
>
< HTTP/1.1 200 OK
< X-Storage-Url: http://127.0.0.1:8080/v1/AUTH_test
< X-Storage-Token: AUTH_tkc4eb1ff896de4dfbbe0740317d3d748b
< X-Auth-Token: AUTH_tkc4eb1ff896de4dfbbe0740317d3d748b
< Content-Length: 0
< Date: Fri, 14 Sep 2012 20:02:35 GMT
<
* Connection #0 to host 10.211.55.17 left intact
* Closing connection #0
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now I try to create a container :
root@ubuntu-precise:~# curl -X PUT -H 'X-Auth-Token: AUTH_tkc4eb1ff896de4dfbbe0740317d3d748b' http://10.211.55.17:8080/v1/AUTH_test/mycontainer
202 Accepted
The request is accepted for processing.
Into /var/log/swift/storage(1&4)-error.log :
==> /var/log/swift/storage1.error <==
Sep 14 22:02:57 localhost container-server ERROR __call__ error with PUT /device/50918/AUTH_test/mycontainer : #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/swift/container/server.py", line 508, in __call__#012 res = method(req)#012 File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 1337, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.7/dist-packages/swift/container/server.py", line 233, in PUT#012 broker.initialize(timestamp)#012 File "/usr/lib/python2.7/dist-packages/swift/common/db.py", line 248, in initialize#012 'DB created by someone else while working?')#012DatabaseConnectionError: DB connection error (/srv/node1/device/containers/50918/1a4/31b98065d819a0bc43fa9e7f485bc1a4/31b98065d819a0bc43fa9e7f485bc1a4.db, 0):#012DB created by someone else while working? (txn: txc11a1d4f54fd42088826b924d1e73fa0)
==> /var/log/swift/storage4.error <==
Sep 14 22:02:57 localhost container-server ERROR __call__ error with PUT /device/50918/AUTH_test/mycontainer : #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/swift/container/server.py", line 508, in __call__#012 res = method(req)#012 File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 1337, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.7/dist-packages/swift/container/server.py", line 233, in PUT#012 broker.initialize(timestamp)#012 File "/usr/lib/python2.7/dist-packages/swift/common/db.py", line 248, in initialize#012 'DB created by someone else while working?')#012DatabaseConnectionError: DB connection error (/srv/node1/device/containers/50918/1a4/31b98065d819a0bc43fa9e7f485bc1a4/31b98065d819a0bc43fa9e7f485bc1a4.db, 0):#012DB created by someone else while working? (txn: txc11a1d4f54fd42088826b924d1e73fa0)
Time is synched, and not any ressources tries to access it. I recreated the rings and rebalanced them multiple times, no success
Best regards,
Razique
How many container servers do you have? paste.openstack .org/show/ 20950/ it seems that you have only one. docs.openstack. org/developer/ swift/developme nt_saio. html
From the http://
It will never work this way.
Please see complete SAIO documentation on how it should be configured http://