-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete is currently in progress. - Watchlist removal sometimes gets stuck #10044
Comments
Hi @Kaloszer , Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 01Mar24. Thanks! |
Hi @Kaloszer, Have you open any support case for this issue? As you mentioned this issue occur if operation perform only for large Watchlist, not for any specific one. Thanks! |
@v-sudkharat - what is this repository for if not for raising issues :)? It's been happening for years:
It seems to be a known issue according to that last entry - and having to rely on MSFT to clear some queue is not really a solution. |
@Kaloszer, We appreciate you have highlighted this issue with us over this repo, It would be great if you let us know if you have already open support case for this issue, so we can check on it and take follow up on that to get unblocked you from this issue. Thanks! |
I don't have the issue currently but that does not mean that the issue does not exist and should be addressed. |
Hi @Kaloszer, we will check this issue with our concerned team, and will update you. Thanks! |
Hi @Kaloszer ,Will do detailed analysis on this issue and will update you |
Hi @Kaloszer ,After analysis ,identified the scenarios of the issue ,working on replicating the issue at my environment,will update you |
Hi @Kaloszer ,Still need some more time for replicating the issue,,will update you |
Hi @Kaloszer ,It seems the issue is with large size and working on having the similar watchlist,will update once replicated from my end and will try to delete in another approach |
Hi @Kaloszer ,Still need some time as unable to find the large size watchlist for replicating the issue, with larger size data,will update you |
@v-muuppugund Easiest way to replicate this issue would be in my opinion to have a loop of a large watchlist that will do the following logic: deploy > remove > deploy > remove -> and so on for a few hours. Eventually you will hit the aforementioned issue where the deployment will fail. If luck would have it you'd also experience the behaviour I mentioned earlier - that even if you attempt to remove it from the portal/az cli - even though it's saying it's 'removed' -> when you look at the pipeline (that would be still running as it should retry on failure) it would still be giving you the 'failed to remove' error. |
Apologies for the delayed response,Sure @Kaloszer ,Will check and let you know |
Hi @Kaloszer ,unable to replicate the issue,We will discuss the issue in today's call |
Hi @Kaloszer ,As discussed on Monday i.e. 8Apr2024 , reached our backend team over an email, will update over an email once have an update, we are closing your issue (#10107) as per our standard operating procedures. If you still need support for this issue, feel free to re-open at any time. Thank you for your co-operation! |
@v-muuppugund Before closing the issue, provide a tracking Id to reference. |
@Kaloszer As we are unable to raise ICM independently, so reached CSS team and they suggested support case from azure subscription, so they can assist you. |
Hey @v-muuppugund, what would be the correct way to report this so we can actually get a resolution to long standing issues and bugs? It seems that this is a never-ending circle, raise issue here then here, get no actual solution and it gets bounced around for months until we actually reach the product team. In a previous UEBA issue it was addressed by the product team eventually after raising said support case: For this set of issues: I could of course raise another set of support cases but it seems as if for this one I'm also getting a run around and it will take some time to get the issue to the product team. As we're an MSSP most of the time we can't raise support cases within a customers tenant (as either they don't have a support plan paid for, or we don't have access and Just for sanity sake, what should and should not be reported in this particular repository, would product issues go here, or should they go straight through internal Azure support system? Just to skip the run-around. |
HI @Kaloszer , I understood your point, as I don't have access to backend system, so reached our team internally on this ,as per their suggestion asked to raise azure support case for this issue, |
shared response in comment -#10107 (comment) |
Still happening from time to time, no real resolution for this issue other than waiting for a few days... |
@v-sudkharat can we reopen this? I have a logic app that creates a watchlist based on the output of various graph API requests/Azure rest api requests (approximately 10-20k rows). Every night when the logic app triggers, its set to delete the former day's watchlist and recreate. I've added a 6 minute delay in between the deletion and creation phases, but it continually breaks with the error "Cannot upload watchlist 'Resources'. Delete is currently in progress" I need the delete/recreate step, because otherwise the watchlist will hit the million row capacity after a few weeks of the logic app doing a nightly update on the state of resources. The watchlist itself is in a 'deleting' state saying 87% completed, this is a frozen number and has not progressed in several hours This is a pretty bad bug.. resource deletion shouldn't take days |
Recommended using the 2024-04-01-preview or later API versions to avoid this issue when calling the API. This API version will return a 202 (Accepted) status code for the "Delete a Watchlist" action, along with an "Azure-AsyncOperation" header, which can be used to poll for the status of the delete operation. The upload operation also returns a similar status header. For logic apps, our internal teams are working on updating the actions to use the new API version. In the meantime, we are in the process of releasing V2 actions specifically for delete operations, with deployment expected in the next few weeks. Once deployed, you should use this V2 action for delete operations and use the Azure-AsyncOperation header to poll for the status of the delete and only start the upload operation once the delete status is 100%. If you cannot wait for the deployment and need a fix sooner, we recommend using the 2024-04-01-preview REST API with the HTTP logic app connector (instead of Sentinel) and using the headers to poll statuses. Please note that adding a delay of hours might not always work because we don't know how much delay the operation would require technically due to the environmental complexity in each customer's environment. As an immediate solution, the best approach is to follow the workaround by using the HTTP connector to mock an API call. Another workaround : Use of the new alias names for the watchlist. ( temporary) ++++++++++++++
Here is a sample workflow using the HTTP logic app connector (Please feel free to edit as per your business needs)
For more detailed information and examples, you can refer to the Status of asynchronous operations - Azure Resource Manager[3]. |
Describe the bug
Sometimes the REST API/CLI/Portal - Remove watchlist will fail to remove and be stuck for an indefinite period of time
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Watchlist removal process does not get stuck or stops/retries if it fails to do so after some predefined time.
Screenshots
Additional context
Do note that said watchlist was tried to be removed with both AZ CLI/Rest API/Portal. In each of those cases it tells me 'Removed watchlist 'name' successfully!'
But it never actually goes away from the environment and causes the deployment process to fail.
This is what MSFT recommends as there is no 'replace' watchlist function. To update a watchlist (e.g. remove entries) you need to remove it and then push it.
https://learn.microsoft.com/en-us/azure/sentinel/watchlists-manage#:~:text=If%20you%27ve%20deleted%20an%20item%20from%20your%20watchlist%20file%20and%20upload%20it%2C%20bulk%20update%20won%27t%20delete%20the%20item%20in%20the%20existing%20watchlist.%20Delete%20the%20watchlist%20item%20individually.%20Or%2C%20when%20you%20have%20a%20lot%20of%20deletions%2C%20delete%20and%20recreate%20the%20watchlist.
Again, this has been occuring for over a year now but it's never been resolved/addressed. It's an intermittent issue that causes some pain for us. The 'undefined' amount of time can be even up to a week! - if it were 30 minutes it wouldn't be that bad. But it can block us from updating a critical watchlist.
The text was updated successfully, but these errors were encountered: