Ask Your Question
0

Error while accessing Swift container URL

asked 2014-09-03 12:34:58 -0500

rahulrajvn gravatar image

updated 2014-09-03 12:35:52 -0500

Hi , I am getting following error while accessing the Swift container URL .

image description

I checked the logs at /var/log/swift/proxy.log and found following entries.

Sep  3 12:25:58 compute2 account-server: 10.1.17.42 - - [03/Sep/2014:16:25:58 +0000] "HEAD /sdb1/121287/.expiring_objects" 404 - "txa07006c5b89b432d89177-0054074116" "HEAD http://localhost/v1/.expiring_objects" "proxy-server 11235" 0.0005 ""
Sep  3 12:25:58 compute2 object-expirer: Pass beginning; 0 possible containers; 0 possible objects
Sep  3 12:25:58 compute2 account-server: 10.1.17.42 - - [03/Sep/2014:16:25:58 +0000] "GET /sdb1/121287/.expiring_objects" 404 - "tx8681dabf1c7140fd9be96-0054074116" "GET http://localhost/v1/.expiring_objects?format=json&marker=&end_marker=" "proxy-server 11235" 0.0006 ""
Sep  3 12:25:58 compute2 object-expirer: Pass completed in 0s; 0 objects expired
Sep  3 12:26:00 compute2 account-server: 10.1.17.42 - - [03/Sep/2014:16:26:00 +0000] "GET /sdb1/97280/AUTH_8c9fb6577a1e45879f35e3e43b34de58" 200 55 "tx2539566bb12e48f6bff8d-0054074118" "GET http://controller:8080/v1/AUTH_8c9fb6577a1e45879f35e3e43b34de58?format=json&limit=1001" "proxy-server 11341" 0.0032 ""
Sep  3 12:26:00 compute2 account-server: 10.1.17.42 - - [03/Sep/2014:16:26:00 +0000] "GET /sdb1/97280/AUTH_8c9fb6577a1e45879f35e3e43b34de58" 200 2 "tx5c912ca1214142d29b49b-0054074118" "GET http://controller:8080/v1/AUTH_8c9fb6577a1e45879f35e3e43b34de58?format=json&marker=swift-test-00&limit=1001" "proxy-server 11341" 0.0026 ""
Sep  3 12:26:00 compute2 container-server: 10.1.17.42 - - [03/Sep/2014:16:26:00 +0000] "GET /sdb1/119487/AUTH_8c9fb6577a1e45879f35e3e43b34de58/swift-test-00" 200 179 "tx6da3f75d883c4a41b65ea-0054074118" "GET http://controller:8080/v1/AUTH_8c9fb6577a1e45879f35e3e43b34de58/swift-test-00?format=json&limit=1001&prefix=swift-test-folder/&delimiter=/" "proxy-server 11343" 0.0041
Sep  3 12:26:00 compute2 container-server: 10.1.17.42 - - [03/Sep/2014:16:26:00 +0000] "GET /sdb1/119487/AUTH_8c9fb6577a1e45879f35e3e43b34de58/swift-test-00" 200 2 "tx520e767ca41c4ce98c810-0054074118" "GET http://controller:8080/v1/AUTH_8c9fb6577a1e45879f35e3e43b34de58/swift-test-00?format=json&marker=swift-test-folder/&limit=1001&prefix=swift-test-folder/&delimiter=/" "proxy-server 11343" 0.0026

Any idea what is causing the issue and is there any Docs to configure the Public URl for swift.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-02-08 05:11:15 -0500

Hi, If you are not facing problem in accessing the container from the terminal then you can use command: swift post -r ':r:*' container . You can access the object you have uploaded using: 127.0.0.1:8080/v1/Auth_id/container/object.

edit flag offensive delete link more
0

answered 2014-09-03 21:52:54 -0500

clayg gravatar image

Is that the only swift node in your cluster that might have logs for this request - it seems truncated as there is no proxy-server log lines which would include the client facing response code.

is /AUTH_8c9fb6577a1e45879f35e3e43b34de58/swift-test-00 the /account/container that you were trying to access when you encountered that error?

What tool were you using to access swift when you encountered the error in the image? Is this container configured for public access (i.e. X-Container-Read: .r:*). Can you access the container using the swift command line client? [1]

  1. https://pypi.python.org/pypi/python-s...
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-03 12:34:58 -0500

Seen: 364 times

Last updated: Feb 08 '15