You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'.
The text was updated successfully, but these errors were encountered:
Sorry for the delayed response, @fredbaiz. I am not following this project very closely as we now have native Snapshot Policies. However, I do think the direction would be to deploy v2 of the Logic App if you still need to customize the snapshot schedules beyond what the native policies support.
You can mass delete snapshots with AZ CLI or the PowerShell modules.
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'.
The text was updated successfully, but these errors were encountered: