Ask Your Question

Can I force an NTP sync in Swift hosts?

asked 2014-10-13 00:40:14 -0600

blazesurfer gravatar image

updated 2014-10-17 15:04:44 -0600

smaffulli gravatar image

If my swift hosts become out of sync, can i just change the time back or force a sync with ntp?

what is the likely impact?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-20 17:20:55 -0600

torgomatic gravatar image

If the time is only off by a couple of hours, just fix it.

If it's off by more, look at the replicators' reclaim_age settings. If the time difference is near reclaim_age, then it's possible that deletions won't get properly replicated before the tombstones are cleaned up. To handle that, increase reclaim_age by the time difference, restart the Swift daemons, and then fix the time. After the original reclaim_age has passed, you can lower reclaim_age back to its starting value.

edit flag offensive delete link more


OK so given that the default for this is 604800 sec's then i should be good being 12 hours our of sync as reclaim_age is 7 days by default if my math is right.

i will un-comment the line to ensure it is being read from object-server.conf. thanks

blazesurfer gravatar imageblazesurfer ( 2014-10-20 19:24:15 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-13 00:40:14 -0600

Seen: 471 times

Last updated: Oct 20 '14