[Openstack] Replication count..

Drudy, Gerry Gerry.Drudy at hp.com
Fri Jul 4 10:30:19 UTC 2014


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:nspmangalore at gmail.com]
Sent: 04 July 2014 10:45
To: openstack at lists.openstack.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140704/664061b2/attachment.html>


More information about the Openstack mailing list