-
Notifications
You must be signed in to change notification settings - Fork 112
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
Unable to run Kedro in Azure with SQLiteSessionStore #1991
Comments
@Dekermanjian Thanks for reporting the issue, can you show the full stacktrace and logs if possible? Since you mention:
Does it works with any kedro command ? |
Thank you for the quick response @noklam
|
@Dekermanjian Are you able to run the same project outside of a VM environment? Something that caught my attention is the error shows two very different paths. The error itself is suggesting some locking issues that multi-process/thread is trying to access it at the same time.
|
@noklam Thank you for helping me with this, I really appreciate it. |
I can confirm that when I don't use kedro-viz plugin it works as expected. |
@Dekermanjian that's quite weird. We have CI job running in Linux regularly,I don't know what's different in a cloud VM. Which version of Kedro-viz are you using? If you just clone the exact same project to a local env would it work? |
@noklam |
Same here. My project was moved to Azure ML yesterday and I can't run anything. |
same here with version 0.19-3 (no pb with 0.18.14) on some cifs drives (linux), solved the problem by commenting in settings.py : |
Thanks for letting us know the issue and sorry this causes some bumpy experience. We are unable to reproduce this locally so it making this hard for us to fix quickly. I'll flag it to the team again. |
To reproduce , our config: ubuntu22.04 (mounted storage) /etc/fstab : /mnt/shares/L cifs credentials=/root/.cifspwd,auto,rw,user,noperm... and from a windows client on same storage some problems with shutils.copy if I remember well. |
Also wanted to let you know that I am facing the same issue as described above. I am using an Azure AI | Machine Learning Studio compute instance to run Kedro and have Kedro Viz installed as well.
The stacktrace looks as follows:
|
I am moving this to |
Any updates on this issue? Commenting out the lines mentioned below does work, but that shouldn't be necessary to begin
|
Hi , Sorry for the delayed response. Thanks for raising the issue. There seems to be multiple processes trying to access SQLite database that is initialized in At this moment, I do not have a permanent fix but we will take this as priority in the next sprint. For now, the work-around would be to comment out Thank you |
Completed in: #2131 |
Description
Whenever I try to load the catalog either using a jupyter lab or IPython interface I get the following error:
Failed to instantiate session store of type 'kedro_viz.integrations.kedro.sqlite_store.SQLiteStore'
Context
I am not able to set up a new project on the cloud (Azure compute instance)
Steps to Reproduce
1). Create a new kedro project on the cloud
2). Run kedro ipython
Expected Result
The catalog/context should load like it normally does in local development
Actual Result
An error message is thrown about a locked SQLAlchemy database with the following error:
Failed to instantiate session store of type 'kedro_viz.integrations.kedro.sqlite_store.SQLiteStore'
Your Environment
Brand new conda env with fresh installation of kedro
pip show kedro
orkedro -V
): 0.19.2python -V
): 3.10.13The text was updated successfully, but these errors were encountered: