Can't Create Container
Hi there
i have setup a four servers in my test lab, three storage server(act as account,container and object server) and one proxy server with tempauth authentication
Here is ring configuration in storage server
root@storage-server1:/etc/swift# swift-ring-builder account.builder account.builder, build version 3 262144 partitions, 3 replicas, 3 zones, 3 devices, 0.00 balance The minimum number of hours before a partition can be reassigned is 1 Devices: id zone ip address port name weight partitions balance meta 0 1 10.161.192.175 6002 sdb1 100.00 262144 0.00 1 2 10.161.192.176 6002 sdb1 100.00 262144 0.00 2 3 10.161.192.177 6002 sdb1 100.00 262144 0.00
root@storage-server1:/etc/swift# swift-ring-builder object.builder object.builder, build version 3 262144 partitions, 3 replicas, 3 zones, 3 devices, 0.00 balance The minimum number of hours before a partition can be reassigned is 1 Devices: id zone ip address port name weight partitions balance meta 0 1 10.161.192.175 6000 sdb1 100.00 262144 0.00 1 2 10.161.192.176 6000 sdb1 100.00 262144 0.00 2 3 10.161.192.177 6000 sdb1 100.00 262144 0.00
root@storage-server1:/etc/swift# swift-ring-builder container.builder container.builder, build version 3 262144 partitions, 3 replicas, 3 zones, 3 devices, 0.00 balance The minimum number of hours before a partition can be reassigned is 1 Devices: id zone ip address port name weight partitions balance meta 0 1 10.161.192.175 6001 sdb1 100.00 262144 0.00 1 2 10.161.192.176 6001 sdb1 100.00 262144 0.00 2 3 10.161.192.177 6001 sdb1 100.00 262144 0.00
i able to issue swift stat command
root@proxy-server:/tmp# swift -A http://10.161.192.178:8080/auth/v1.0 -U test:tester -K testing stat Account: AUTH_test Containers: 0 Objects: 0 Bytes: 0 Accept-Ranges: bytes
The problem is when i create a new container, it return the below error message.
root@proxy-server:/tmp# swift -A http://10.161.192.178:8080/auth/v1.0 -U test:tester -K testing post demo_container Container POST failed: http://10.161.192.178:8080/v1/AUTH_test/demo_container (http://10.161.192.178:8080/v1/AUTH_te...) 400 Bad Request Invalid path: /sdb1/111664/AUTH_test/demo_container
Here is log message from stroage server
Dec 11 22:10:12 storage-server1 account-server 10.161.192.178 - - [11/Dec/2012:14:10:12 +0000] "HEAD /sdb1/189549/AUTH_test" 204 - "tx5ccdfebc9fc046f5b9c27a9530aecc18" "-" "-" 0.0042 "" Dec 11 22:10:12 storage-server1 account-server 10.161.192.178 - - [11/Dec/2012:14:10:12 +0000] "POST /sdb1/111664/AUTH_test/demo_container" 400 51 "tx5ccdfebc9fc046f5b9c27a9530aecc18" "-" "-" 0.0003 ""
Any idea? Thank~