Re: [Openstack] [swift] Object replication failure counts confusing in 2.7.0

2016-05-20 Thread Mark Kirkwood
On 20/05/16 20:03, Pete Zaitcev wrote: On Wed, 18 May 2016 16:46:05 +1200 Mark Kirkwood wrote: May 18 04:31:17 markir-dev-ostor002 object-server: object replication failure 4, detail Traceback (most recent call last):#012 File "/opt/cat/openstack/swift/local/lib/python2.7/site-packages/swift/

Re: [Openstack] [swift] Object replication failure counts confusing in 2.7.0

2016-05-20 Thread Pete Zaitcev
On Wed, 18 May 2016 16:46:05 +1200 Mark Kirkwood wrote: > May 18 04:31:17 markir-dev-ostor002 object-server: object replication > failure 4, detail Traceback (most recent call last):#012 File > "/opt/cat/openstack/swift/local/lib/python2.7/site-packages/swift/obj/replicator.py", > > line 622

Re: [Openstack] [swift] Object replication failure counts confusing in 2.7.0

2016-05-18 Thread Clay Gerrard
Yeah that's a few undesirable behaviors there. https://bugs.launchpad.net/swift/+bug/1583305 #willfix On Tue, May 17, 2016 at 11:04 PM, Mark Kirkwood < mark.kirkw...@catalyst.net.nz> wrote: > On 17/05/16 17:43, Mark Kirkwood wrote: > >> >> I'm seeing some replication errors in the object server

Re: [Openstack] [swift] Object replication failure counts confusing in 2.7.0

2016-05-17 Thread Mark Kirkwood
On 17/05/16 17:43, Mark Kirkwood wrote: I'm seeing some replication errors in the object server log: May 17 05:27:36 markir-dev-ostor001 object-server: Starting object replication pass. May 17 05:27:36 markir-dev-ostor001 object-server: 1/1 (100.00%) partitions replicated in 0.03s (38.19/sec,

Re: [Openstack] [swift] Object replication failure counts confusing in 2.7.0

2016-05-17 Thread Mark Kirkwood
On 18/05/16 16:46, Mark Kirkwood wrote: On 17/05/16 17:43, Mark Kirkwood wrote: I've figured out one case: Adding some debugging code and traceback gives more interesting output (see attached diff): May 18 04:31:17 markir-dev-ostor002 object-server: object replication failure 4, detail Trac

Re: [Openstack] [swift] Object replication failure counts confusing in 2.7.0

2016-05-17 Thread Mark Kirkwood
On 17/05/16 17:43, Mark Kirkwood wrote: (snippage) I'm seeing some replication errors in the object server log: May 17 05:27:36 markir-dev-ostor001 object-server: Starting object replication pass. May 17 05:27:36 markir-dev-ostor001 object-server: 1/1 (100.00%) partitions replicated in 0.03s

[Openstack] [swift] Object replication failure counts confusing in 2.7.0

2016-05-16 Thread Mark Kirkwood
I'm looking at a freshly started 2 node, 6 device cluster, with only 1 object uploaded: $ swift stat Account: AUTH_592baa6ee20c491c984ae4a16af31aa6 Containers: 1 Objects: 1 Bytes: 524288000 Objects in policy "poli