-
Notifications
You must be signed in to change notification settings - Fork 129
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
AutoDL not working with MinIO backend (migrating from Google Cloud) {google-cloud-merged branch} #3548
Comments
Hi @ObadaS, can you put also the command you are trying to run? And a quick summary of what we are trying to achieve here? Thank you. |
@Didayolo I updated the original post with more details |
I made a new branch to try things out. The docker images successfully builds, but the Django and Worker_Site containers crashes on startup with the following errors: Django Traceback (most recent call last):
File "scripts/initialize.py", line 15, in <module>
from configurations import importer
File "/usr/local/lib/python2.7/site-packages/configurations/__init__.py", line 2, in <module>
from .base import Settings, Configuration
File "/usr/local/lib/python2.7/site-packages/configurations/base.py", line 7, in <module>
from .utils import uppercase_attributes
File "/usr/local/lib/python2.7/site-packages/configurations/utils.py", line 5, in <module>
from django.utils.importlib import import_module
ImportError: No module named importlib
Traceback (most recent call last):
File "scripts/initialize.py", line 15, in <module>
from configurations import importer
File "/usr/local/lib/python2.7/site-packages/configurations/__init__.py", line 2, in <module>
from .base import Settings, Configuration
File "/usr/local/lib/python2.7/site-packages/configurations/base.py", line 7, in <module>
from .utils import uppercase_attributes
File "/usr/local/lib/python2.7/site-packages/configurations/utils.py", line 5, in <module>
from django.utils.importlib import import_module
ImportError: No module named importlib
/app/docker/run_django.sh: line 31: gunicorn: command not found Worker_Site Traceback (most recent call last):
File "/usr/local/bin/celery", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/celery/__main__.py", line 30, in main
main()
File "/usr/local/lib/python2.7/site-packages/celery/bin/celery.py", line 81, in main
cmd.execute_from_commandline(argv)
File "/usr/local/lib/python2.7/site-packages/celery/bin/celery.py", line 793, in execute_from_commandline
super(CeleryCommand, self).execute_from_commandline(argv)))
File "/usr/local/lib/python2.7/site-packages/celery/bin/base.py", line 309, in execute_from_commandline
argv = self.setup_app_from_commandline(argv)
File "/usr/local/lib/python2.7/site-packages/celery/bin/base.py", line 469, in setup_app_from_commandline
self.app = self.find_app(app)
File "/usr/local/lib/python2.7/site-packages/celery/bin/base.py", line 489, in find_app
return find_app(app, symbol_by_name=self.symbol_by_name)
File "/usr/local/lib/python2.7/site-packages/celery/app/utils.py", line 235, in find_app
sym = symbol_by_name(app, imp=imp)
File "/usr/local/lib/python2.7/site-packages/celery/bin/base.py", line 492, in symbol_by_name
return symbol_by_name(name, imp=imp)
File "/usr/local/lib/python2.7/site-packages/kombu/utils/__init__.py", line 96, in symbol_by_name
module = imp(module_name, package=package, **kwargs)
File "/usr/local/lib/python2.7/site-packages/celery/utils/imports.py", line 101, in import_from_cwd
return imp(module, package=package)
File "/usr/local/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/app/codalab/codalab/__init__.py", line 5, in <module>
from .celery import app as celery_app
File "/app/codalab/codalab/celery.py", line 12, in <module>
from configurations import importer
File "/usr/local/lib/python2.7/site-packages/configurations/__init__.py", line 2, in <module>
from .base import Settings, Configuration
File "/usr/local/lib/python2.7/site-packages/configurations/base.py", line 7, in <module>
from .utils import uppercase_attributes
File "/usr/local/lib/python2.7/site-packages/configurations/utils.py", line 5, in <module>
from django.utils.importlib import import_module
ImportError: No module named importlib |
When changing the
.env
file to use MinIO instead of Google Cloud on an existing deployment, then trying to download a file that's stored in MinIO (the files were copied from the Google cloud buckets into the MinIO buckets), we get this error.I am pretty sure that MinIO support was added later, starting (maybe) with this commit which is not present in the current branch for autodl.
The text was updated successfully, but these errors were encountered: