Swift havana: object HEAD failed ... 400 bad request [closed]

asked 2013-11-09 09:28:42 -0500

serverascode gravatar image

updated 2013-11-09 16:33:03 -0500

Hi,

I am working on a local Vagrant/Virtualbox install of OpenStack Swift with the Havana packages on Ubuntu 12.04. One proxy, five storage nodes, a keystone server.

When I try to upload a file with the swift client it fails, but the container is created.

vagrant@swift-client-01:~$ swift list
# no containers yet
vagrant@swift-client-01:~$ swift upload swift_container swift.txt 
Object HEAD failed: http://192.168.100.100:8080/v1/AUTH_04ccf94d99794251ad1c3fc991586978/swift_container/swift.txt 400 Bad Request
vagrant@swift-client-01:~$ swift list
swift_container
vagrant@swift-client-01:~$ swift stat
   Account: AUTH_04ccf94d99794251ad1c3fc991586978
Containers: 1
   Objects: 0
     Bytes: 0
Accept-Ranges: bytes
X-Timestamp: 1384010374.39426
X-Trans-Id: txc7997332cea5471a9e2d9-00527e55ec
Content-Type: text/plain; charset=utf-8

Has anyone seen that particular error before and perhaps have an idea of what would be causing it?

UPDATE: Found my problem...I accidentally used port 6002 for both the account server and object server when adding the ring entries. phewph

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2013-11-11 19:59:54.750881

Comments

closing it as the typo issue was corrected.

koolhead17 gravatar imagekoolhead17 ( 2013-11-11 04:01:54 -0500 )edit

Why close it as duplicate question?

serverascode gravatar imageserverascode ( 2013-11-11 07:11:21 -0500 )edit

@serverascode I hope its now right reason to close the question. I accidentally closed it with the other reason.

koolhead17 gravatar imagekoolhead17 ( 2013-11-11 20:01:15 -0500 )edit