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

Mark Kirkwood mark.kirkwood at catalyst.net.nz
Wed May 18 05:45:09 UTC 2016


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 Traceback (most recent call last):#012  File 
> "/opt/cat/openstack/swift/local/lib/python2.7/site-packages/swift/obj/replicator.py", 
> line 622, in build_replication_jobs#012 int(partition))#012ValueError: 
> invalid literal for int() with base 10: 'auditor_status_ALL.json'#012
>
> The code is doing:
>
> |try: job_path = join(obj_path, partition) part_nodes = 
> policy.object_ring.get_part_nodes( int(partition)) <=== 622 |
>
> Looking at what is in my object dirs:
>
> |$ ls /srv/node/2/objects/ 899 auditor_status_ALL.json |
>
> ||Yep, that's gotta hurt! We wither shouldn't be writing the audit 
> json file there or should make the replicator code ignore it! Shall I 
> raise an issue?
>

Apologies for terrible formatting 
(Thunderbird...thanks..nice...not)...err if its incomprehensible let me 
know and I'll try again from a different workstation!




More information about the Openstack mailing list