onepanelio / onepanel

The open source, end-to-end computer vision platform. Label, build, train, tune, deploy and automate in a unified platform that runs on any cloud and on-premises.
https://docs.onepanel.ai/
Apache License 2.0
710 stars 69 forks source link

Cvat can't login, suppose the backend down. #978

Open skytodmoon opened 2 years ago

skytodmoon commented 2 years ago

CVAT-1.0.6 version

Describe the bug A clear and concise description of what the bug is.

CLI version: v1.0.2 Manifest version: v1.0.2 API version: v1.0.2 Web UI version: v1.0.2

opctl init --provider microk8s \ --enable-metallb \ --artifact-repository-provider s3

Kubernetes information

Machine information

CVAT: onepanel/cvat:v1.0.2_cvat.1.6.0 `2022-05-08 13:17:16,675 DEBG 'runserver' stderr output: Traceback (most recent call last): File "/home/django/manage.py", line 21, in execute_from_command_line(sys.argv) File "/opt/venv/lib/python3.8/site-packages/django/core/management/init.py", line 401, in execute_from_command_line utility.execute() File "/opt/venv/lib/python3.8/site-packages/django/core/management/init.py", line 395, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/opt/venv/lib/python3.8/site-packages/django/core/management/base.py", line 330, in run_from_argv self.execute(*args, cmd_options) File "/opt/venv/lib/python3.8/site-packages/django/core/management/base.py", line 371, in execute output = self.handle(*args, *options) File "/opt/venv/lib/python3.8/site-packages/django/core/management/base.py", line 85, in wrapped res = handle_func(args, kwargs) File "/opt/venv/lib/python3.8/site-packages/django/core/management/commands/migrate.py", line 75, in handle self.check(databases=[database]) File "/opt/venv/lib/python3.8/site-packages/django/core/management/base.py", line 392, in check all_issues = checks.run_checks( File "/opt/venv/lib/python3.8/site-packages/django/core/checks/registry.py", line 70, in run_checks new_errors = check(app_configs=app_configs, databases=databases) File "/opt/venv/lib/python3.8/site-packages/django/core/checks/urls.py", line 13, in check_url_config return check_resolver(resolver) File "/opt/venv/lib/python3.8/site-packages/django/core/checks/urls.py", line 23, in check_resolver return check_method() File "/opt/venv/lib/python3.8/site-packages/django/urls/resolvers.py", line 408, in check for pattern in self.url_patterns: File "/opt/venv/lib/python3.8/site-packages/django/utils/functional.py", line 48, in get res = instance.dict[self.name] = self.func(instance) File "/opt/venv/lib/python3.8/site-packages/django/urls/resolvers.py", line 589, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/opt/venv/lib/python3.8/site-packages/django/utils/functional.py", line 48, in get res = instance.dict[self.name] = self.func(instance) File "/opt/venv/lib/python3.8/site-packages/django/urls/resolvers.py", line 582, in urlconf_module return import_module(self.urlconf_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/home/django/cvat/urls.py", line 27, in path('', include('cvat.apps.engine.urls')), File "/opt/venv/lib/python3.8/site-packages/django/urls/conf.py", line 34, in include urlconf_module = import_module(urlconf_module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/home/django/cvat/apps/engine/urls.py", line 7, in from . import views File "/home/django/cvat/apps/engine/views.py", line 42, in import cvat.apps.dataset_manager.views # pylint: disable=unused-import File "/home/django/cvat/apps/dataset_manager/views.py", line 15, in import cvat.apps.dataset_manager.task as task File "/home/django/cvat/apps/dataset_manager/task.py", line 17, in from .annotation import AnnotationIR, AnnotationManager File "/home/django/cvat/apps/dataset_manager/annotation.py", line 10, in from shapely import geometry File "/opt/venv/lib/python3.8/site-packages/shapely/geometry/init.py", line 4, in from .base import CAP_STYLE, JOIN_STYLE File "/opt/venv/lib/python3.8/site-packages/shapely/geometry/base.py", line 19, in from shapely.coords import CoordinateSequence File "/opt/venv/lib/python3.8/site-packages/shapely/coords.py", line 8, in from shapely.geos import lgeos File "/opt/venv/lib/python3.8/site-packages/shapely/geos.py", line 92, in free = load_dll('c', fallbacks=c_alt_paths).free File "/opt/venv/lib/python3.8/site-packages/shapely/geos.py", line 60, in load_dll raise OSError( OSError: Could not find lib c or load any of its variants ['libc.musl-x86_64.so.1'].

2022-05-08 13:17:16,675 INFO success: git_status_updater entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2022-05-08 13:17:16,675 INFO success: rqworker_default_0 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2022-05-08 13:17:16,675 INFO success: rqworker_default_1 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2022-05-08 13:17:16,675 INFO success: rqworker_low entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2022-05-08 13:17:16,675 INFO success: runserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2022-05-08 13:17:16,715 DEBG 'git_status_updater' stderr output: Traceback (most recent call last): File "/home/django/manage.py", line 21, in execute_from_command_line(sys.argv) File "/opt/venv/lib/python3.8/site-packages/django/core/management/init.py", line 401, in execute_from_command_line utility.execute() File "/opt/venv/lib/python3.8/site-packages/django/core/management/init.py", line 395, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/opt/venv/lib/python3.8/site-packages/django/core/management/init.py", line 244, in fetch_command klass = load_command_class(app_name, subcommand) File "/opt/venv/lib/python3.8/site-packages/django/core/management/init.py", line 37, in load_command_class module = import_module('%s.management.commands.%s' % (app_name, name)) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/home/django/cvat/apps/dataset_repo/management/commands/update_git_states.py", line 6, in from cvat.apps.dataset_repo.dataset_repo import update_states File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 20, in from cvat.apps.dataset_manager.task import export_task File "/home/django/cvat/apps/dataset_manager/task.py", line 17, in from .annotation import AnnotationIR, AnnotationManager File "/home/django/cvat/apps/dataset_manager/annotation.py", line 10, in from shapely import geometry File "/opt/venv/lib/python3.8/site-packages/shapely/geometry/init.py", line 4, in from .base import CAP_STYLE, JOIN_STYLE File "/opt/venv/lib/python3.8/site-packages/shapely/geometry/base.py", line 19, in from shapely.coords import CoordinateSequence File "/opt/venv/lib/python3.8/site-packages/shapely/coords.py", line 8, in from shapely.geos import lgeos File "/opt/venv/lib/python3.8/site-packages/shapely/geos.py", line 92, in free = load_dll('c', fallbacks=c_alt_paths).free File "/opt/venv/lib/python3.8/site-packages/shapely/geos.py", line 60, in load_dll raise OSError( OSError: Could not find lib c or load any of its variants ['libc.musl-x86_64.so.1'].`

I installed the libc.musl-x86_64.so.1 and make noting effect.

Any suggestions?