Account PUT returning 503
swift failed to creare a new account when I use tempauth
I have deployed swift 1.4.3 on ubuntu 10.04 and it works fine
then when I tried to switch to scientifc linux 5.5 which is similar to RHEL5.5 and CentOS5.5
something goes wrong
[root@fsc01 ~]# curl -k -v -H 'X-Storage-User: system:root' -H 'X-Storage-Pass: testpass' https:/
* About to connect() to fsc01.ihep.ac.cn port 8080
* Trying 192.168.61.83... connected
* Connected to mysite (192.168.61.83) port 8080
* successfully set certificate verify locations:
* CAfile: /etc/pki/
CApath: none
* SSLv2, Client hello (1):
SSLv3, TLS handshake, Server hello (2):
SSLv3, TLS handshake, CERT (11):
SSLv3, TLS handshake, Server finished (14):
SSLv3, TLS handshake, Client key exchange (16):
SSLv3, TLS change cipher, Client hello (1):
SSLv3, TLS handshake, Finished (20):
SSLv3, TLS change cipher, Client hello (1):
SSLv3, TLS handshake, Finished (20):
SSL connection using AES256-SHA
* Server certificate:
* subject: /C=CN/ST=
* start date: 2011-12-23 15:53:44 GMT
* expire date: 2012-01-22 15:53:44 GMT
* common name: WARNING couldn't obtain
* issuer: /C=CN/ST=
* SSL certificate verify result: self signed certificate (18), continuing anyway.
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-
> Host: fsc01.ihep.
> Accept: */*
> X-Storage-User: system:root
> X-Storage-Pass: testpass
>
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain
< Content-Length: 789
< Date: Mon, 26 Dec 2011 09:14:45 GMT
< Connection: close
Traceback (most recent call last):
File "/usr/local/
result = self.applicatio
File "/usr/local/
return self.app(env, start_response)
File "/usr/local/
return self.app(env, start_response)
File "/usr/local/
'%s' % (account_id, key))
Exception: Could not create account AUTH_system for user system:root
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
then I check proxy-server log
Dec 26 14:50:51 fsc01 proxy-server - - 26/Dec/
Dec 26 14:50:51 fsc01 proxy-server Account PUT returning 503 for (503, 503, 503)
Dec 26 14:50:51 fsc01 proxy-server - - 26/Dec/
and the account server log
Dec 26 14:50:51 fsc02 account-server 192.168.61.83 - - [26/Dec/
Dec 26 14:50:51 fsc02 account-server ERROR __call__ error with PUT /sde1/205350/
Dec 26 14:50:51 fsc02 account-server 192.168.61.83 - - [26/Dec/
It seems to be a problem with database connnetion.
I was wondering if there is requiement on the version of sqlite , since on sl5.5(or CENTOS 5.5 ), it is 3.3.6
I donnt know how to get the database work
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- lisha
- Solved:
- Last query:
- Last reply: