Cloud Sync - Sync failing with EBUSY: resource busy or locked errors
Applies to
- Cloud Sync
Issue
- Cloud sync relationship got hung.
- Cloud Sync relationship failing with following error(s) observed:
status":"FAILED","reason":"EBUSY: resource busy or locked
- Previous sync is still in progress and last umount was failed:
sdfsdffd/logs/data-broker.log.7:[2023-10-22T23:00:22.135] [WARN] [MASTER] [0] [5044] Failed to umount mnt/64c36e5d3f499a733be47579/* Error: Command execution: sudo umount -f mnt/64c36e5d3f499a733be47579/* - timed out
sdfsdffd/logs/data-broker.log.7:[2023-10-22T23:00:27.188] [ERROR] [MASTER] [0] [5044] failed cleaning relationship: 64c36e5d3f499a733be47579 resources with scanner queue https://sqs.us-east-1.amazonaws.com/6757656/CS-PROD_SCANNER_64c36e5d3f499a733be47579_767676787 and transferrer queue https://sqs.us-east-1.amazonaws.com/6757656/CS_prod_transferrer_64c36e5d3f499a733be47579_767676787 [Error: EBUSY: resource busy or locked, rmdir 'mnt/64c36e5d3f499a733be47579/src'] { errno: -16, code: 'EBUSY', syscall: 'rmdir', path: 'mnt/64c36e5d3f499a733be47579/src' }