I too would have expected the PUT to succeed given the config you describe.  
Perhaps the proxy log entries for the PUT might indicate why it is failing?

If you can’t figure out what is going wrong from the proxy server logs can you 
post the o/p of the following 2 commands:

swift-ring-builder /etc/swift/object.builder
swift-get-nodes /etc/swift/object.ring.gz blah blah blah

Gerry.

From: Shyam Prasad N [mailto:[email protected]]
Sent: 04 July 2014 10:45
To: [email protected]
Subject: [Openstack] Replication count..

Hi,
I have a swift setup with 2 disks each on 2 nodes. The swift rings have been 
setup with replication count of 2, with each node with unique zone id. After 
creation of a few objects, I pulled out one of the disks from node1. After some 
more object creations, I pulled out the remaining swift disk on node1. Now, my 
GETs are successful. But PUT requests are failing with "Service Unavailable" 
error.
I'm confused with this behaviour. I thought swift tries to PUT replicas for an 
object into different zones on a best effort basis. Right now, there are still 
two disks active on the other zone. Shouldn't it put both the replicas on the 
available disks now, rather than returning the above error? Or is my 
understanding about this wrong?
Thanks in advance for the replies.

--
-Shyam
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to