-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello:
Some of the v1 logic apps that I have deployed to take ANF snapshots are not cleaning up expired shapshots. Therefore the total number of snapshots for a given volume has exceeded the maximum number allowed and future snapshots are now failing.
Is there a way to trigger the logic app to start at the housekeeping stage so that it can automate the cleanup of the old snapshots?
Alternatively, do you know of a way to mass delete snapshots via PowerShell or Azure CLI?
Thanks!
{
"error": {
"code": "Conflict",
"message": "Creating the snapshot would exceed the quota of 255 snapshots per volume. The current adhoc snapshot count is 255 and the current snapshot policy for the volume keeps 0 snapshots. Please delete some adhoc snapshots or revise the shapshot policy before creating a new adhoc snapshot."
}
}
ActionConditionFailed. The execution of template action 'Scheduler_House-Keeping_Logic' is skipped: the 'runAfter' condition for action 'Take_snapshot_on_the_target_volume_(Azure_NetApp_Files_API)' is not satisfied. Expected status values 'Succeeded' and actual value 'Failed'.