Object PUT failed -- Error on swift upload [closed]
Hi All,
Thank you for your advise. Now I am getting error while upload a file.. Please suggest me.
Here I did 1 wrong entry with port number for object.builder.. Please let me know is this the issue, If it is please advise me how could I delete the entry for object.builder..
Document URL - https://access.redhat.com/documentati...
[root@ control ~(keystone_admin)]#ll data1.file
-rw-r--r-- 1 root root 512 Dec 17 20:00 data1.file
[root@ control ~(keystone_admin)]#swift upload c1 data1.file
Object PUT failed: http://192.168.2.51:8080/v1/AUTH_9d70490f1dfe4b88bfab45f552a27e75/c1/data1.file 503 Service Unavailable [first 60 chars of response] <html><h1>Service Unavailable</h1><p>The server is currently
[root@ control ~(keystone_admin)]#swift stat
Account: AUTH_9d70490f1dfe4b88bfab45f552a27e75
Containers: 1
Objects: 0
Bytes: 0
Accept-Ranges: bytes
X-Timestamp: 1418826500.08059
X-Trans-Id: tx239ac2ac237f46d8b535d-005491a0fa
Content-Type: text/plain; charset=utf-8
[root@ control ~(keystone_admin)]#swift-ring-builder /etc/swift/object.builder
/etc/swift/object.builder, build version 4
262144 partitions, 3.000000 replicas, 1 regions, 1 zones, 2 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices: id region zone ip address port replication ip replication port name weight partitions balance meta
0 1 1 192.168.2.51 6001 192.168.2.51 6001 lun1 100.00 393216 0.00
1 1 1 192.168.2.51 6000 192.168.2.51 6000 lun1 100.00 393216 0.00
[root@ control ~(keystone_admin)]#swift-ring-builder /etc/swift/container.builder
/etc/swift/container.builder, build version 1
262144 partitions, 3.000000 replicas, 1 regions, 1 zones, 1 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices: id region zone ip address port replication ip replication port name weight partitions balance meta
0 1 1 192.168.2.51 6001 192.168.2.51 6001 lun1 100.00 786432 0.00
[root@ control ~(keystone_admin)]#swift-ring-builder /etc/swift/account.builder
/etc/swift/account.builder, build version 1
262144 partitions, 3.000000 replicas, 1 regions, 1 zones, 1 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices: id region zone ip address port replication ip replication port name weight partitions balance meta
0 1 1 192.168.2.51 6002 192.168.2.51 6002 lun1 100.00 786432 0.00