Object Head failed 503 internal server error

asked 2013-10-29 06:45:15 -0500

wenxueliu73 gravatar image

Hi,all: I install swift with swift 1.7.0 and swiftclient 1.2.0 which is work well each other. It seemed that everthing is ok, but it went wrong when I upload a object to the container . I need you help.

 1、proxy1@ubuntu:~$ curl -k -v -H 'X-Storage-User: admin:admin' -H 'X-Storage-Pass: admin' http://10.1.2.111:8080/auth/v1.0

* About to connect() to 10.1.2.111 port 8080 (#0) * Trying 10.1.2.111... 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.1.2.111:8080 Accept: / X-Storage-User: admin:admin X-Storage-Pass: admin

< HTTP/1.1 200 OK < X-Storage-Url: http://10.1.2.111:8080/v1/AUTH_admin < X-Auth-Token: AUTH_tkcd03136ace23477d9b5a6b76ed61bc9b < Content-Type: text/html; charset=UTF-8 < X-Storage-Token: AUTH_tkcd03136ace23477d9b5a6b76ed61bc9b < Content-Length: 0 < Date: Tue, 29 Oct 2013 06:41:04 GMT < * Connection #0 to host 10.1.2.111 left intact * Closing connection #0

2、proxy1@ubuntu:~$ curl -k -v -H 'X-Auth-Token: AUTH_tkcd03136ace23477d9b5a6b76ed61bc9b' http://10.1.2.111:8080/v1/AUTH_admin* About to connect() to 10.1.2.111 port 8080 (#0) * Trying 10.1.2.111... connected

GET /v1/AUTH_admin 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.1.2.111:8080 Accept: / X-Auth-Token: AUTH_tkcd03136ace23477d9b5a6b76ed61bc9b

< HTTP/1.1 200 OK < Content-Length: 12 < Accept-Ranges: bytes < X-Timestamp: 1383025696.48978 < X-Account-Bytes-Used: 0 < X-Account-Container-Count: 2 < Content-Type: text/plain; charset=utf-8 < X-Account-Object-Count: 0 < Date: Tue, 29 Oct 2013 06:42:19 GMT < TEST1 TEST2 * Connection #0 to host 10.1.2.111 left intact * Closing connection #0

 1.proxy1@ubuntu:~$ swift -A http://10.1.2.111:8080/auth/v1.0 -U admin:admin -K admin stat
    Account: AUTH_admin
   Containers: 2
   Objects: 0
  Bytes: 0
  Accept-Ranges: bytes
  X-Timestamp: 1383025696.48978
  Content-Type: text/plain; charset=utf-8

 2、proxy1@ubuntu:~$ swift -A http://10.1.2.111:8080/auth/v1.0 -U admin:admin -K admin list
 TEST1
 TEST2

 3.swift -A http://10.1.2.111:8080/auth/v1.0 -U admin:admin -K admin upload TEST1 ip
Object HEAD failed: http://10.1.2.111:8080/v1/AUTH_admin/TEST1/ip 503 Internal Server Error

best regards!

PS: can I deploy wrong? I don't think so. if you had hit this error please tell me what's your wrong. I'm appreciate your help

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-10-29 09:20:01 -0500

wenxueliu73 gravatar image

the problem has been sloved.
the error is port of /etc/swift/object-server.conf is different of ring builder, so it occur 503 internal server error.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-10-29 06:45:15 -0500

Seen: 414 times

Last updated: Oct 29 '13