GitHub user KuasarCloud added a comment to the discussion: Recurring volume snapshots retention not working
Hi @DaanHoogland, I believe I’ve identified the issue, and I think it can be reproduced as follows: 1. A user creates a volume from one of the scheduled snapshots. 2. The user then deletes that volume. 3. When the cron job later tries to delete the snapshot linked to that volume, the schedule breaks. The odd part is that the volume created from the snapshot no longer exists. `025-09-02 15:25:41,788 DEBUG [c.c.s.s.SnapshotManagerImpl] (API-Job-Executor-92:[ctx-32752e3f, job-52230, ctx-dcdec9f2]) (logid:f2afea63) Failed to delete snapshot Snapshot {"id":3083,"name":"siag2_ROOT-585_20250602052432","uuid":"7af583e4-08b6-478e-9eb2-62c01e368ee7","version":"2.2","volumeId":1396}:com.cloud.utils.exception.CloudRuntimeException: Unable to delete snapshot [{"id":3083,"name":"siag2_ROOT-585_20250602052432","uuid":"7af583e4-08b6-478e-9eb2-62c01e368ee7","volumeId":1396}] because it is being used by the following volumes: [{"resourceId":2465}].` GitHub link: https://github.com/apache/cloudstack/discussions/11478#discussioncomment-14289686 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org