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
[Bug]: Issue with project delete (with RedisTarget) #5202
Comments
@george0st I can confirm that in a 1.5.2 environment, the project with RedisTarget can be deleted successfully. I will find a 1.6.0 environment to produce your issue shortly. Thanks! |
Hi @xsqian , only note, I tested the issue with new MLRun 1.6.1 also (not only under MLRun 1.6.0) and the issue still exist. NOTE: I saw in cycle these exceptions, see Exception('Background task not in terminal state. name=e74966f3-21b3-401d-9b03-36d593e35ee9, state=running') in the function _wait_for_background_task_to_reach_terminal_state see httpdb.py |
See discussion on Slack https://mlopslive.slack.com/archives/C014XCMNY4Q/p1709025666498859 |
Relation to the possible solution #5258 |
Hi @george0st thank you for submitting the issue. |
I see you already added the logs in slack. It is possible that the api chief is waiting for some nuclio function deletion that never happens. Do you have any dangling nuclio functions? |
Hi @alonmr , I tested two projects one with context.log_model and one without nuclio functions (only feature sets and feature vectors) and I have issue with delete both projects. The xsqian, caught the same issue (when he simulated my issues) also (see the note from him in slack). I tested the solution in desktop docker. NOTE: it does not have relation to Redis solution. In case of interest, I can show you details directly from debugger, let me know. |
Note: the same issue also under MLRun 1.6.2 |
MLRun Version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of MLRun CE.
Reproducible Example
Issue Description
It is not possible to delete project (via mlrun.get_run_db().delete_project) with RedisTarget.
NOTE: The part of code delete_project takes 5 minutes and after that all seems fine (without error/exception) but project still exists in UI.
Expected Behavior
It will be possible to delete project without delay.
NOTE: MLRun 1.5.2 works correctly.
Installation OS
Windows
Installation Method
Docker
Python Version
3.9.10
MLRun Version
1.6.0
Additional Information
No response
The text was updated successfully, but these errors were encountered: