← Back to team overview

openstack team mailing list archive

[OpenStack][Swift] The server has either erred or is incapable of performing the requested operation

 

Hi all,

I have set up a proxy node ubuntu at 10.0.2.15 and 4 storage nodes vm[0-3]
on 10.0.2.16-19

Each storage node has loop as storage partition /mnt/sdb1/ is mounted

When i try to GET an account The server has either erred or is incapable of
performing the requested operation

root@ubuntu:~# curl -k -v -H 'X-Auth-Token:
AUTH_tk2f483541775649e39dd7c20a0e704505' http://10.0.2.15:8080/v1/AUTH_test
* About to connect() to 10.0.2.15 port 8080 (#0)
*   Trying 10.0.2.15... connected
> GET /v1/AUTH_test 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.0.2.15:8080
> Accept: */*
> X-Auth-Token: AUTH_tk2f483541775649e39dd7c20a0e704505
>
< HTTP/1.1 500 Internal Server Error
< Content-Length: 228
< Content-Type: text/html; charset=UTF-8
< Date: Fri, 18 Jan 2013 08:47:56 GMT
<
<html>
 <head>
  <title>500 Internal Server Error</title>
 </head>
 <body>
  <h1>500 Internal Server Error</h1>
  The server has either erred or is incapable of performing the requested
operation.<br /><br />



 </body>
* Connection #0 to host 10.0.2.15 left intact
* Closing connection #0

My storage nodes configuration

root@vm0:~# cat /etc/swift/account-server.conf
[DEFAULT]
devices = /mnt
bind_ip = 10.0.2.16
bind_port = 6002
workers = 2

[pipeline:main]
pipeline = account-server

[app:account-server]
use = egg:swift#account

[account-replicator]

[account-auditor]

[account-reaper]
Similarly other config files are there.

When i examined the storage nodes in tcpdump i got to know that the proxy
server is sending packets to the storage nodes.

I followed
http://docs.openstack.org/developer/swift/howto_installmultinode.html but
using loopback partition on the storage nodes for storage. I have only
installed the packages as shown in the above url and sqlite3 in addition to
them.

Please help me. Thanks
-- 
Best Regards,

Sujay M
Final year B.Tech
Computer Engineering
NITK Surathkal

contact: +918971897571

Follow ups