Skip to content
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

Error - fork/exec /opt/nuclio/common/openvino/python3: no such file or directory #5351

Closed
2 tasks done
yc-cui opened this issue Nov 24, 2022 · 1 comment
Closed
2 tasks done
Labels
invalid This doesn't seem right

Comments

@yc-cui
Copy link

yc-cui commented Nov 24, 2022

My actions before raising this issue

Expected Behaviour

Deploy a model successfully.

Current Behaviour

Very sure serverless/common/ was mounted inside the container and serverless/common/openvino/python3 is exectuable. Seems that the file _nuclio_wrapper.pyin the image is missing. Full logs attached below.

22.11.24 09:57:44.757 �[0;37msor.http.w0.python.logger�[0m �[0;32m(D)�[0m Running wrapper {"command": "/opt/nuclio/common/openvino/python3 -u /opt/nuclio/_nuclio_wrapper.py --handler main:handler --socket-path /tmp/nuclio-rpc-cdvk067v5a5itln3u6cg.sock --platform-kind local --namespace nuclio --worker-id 0 --trigger-kind http --trigger-name myHttpTrigger"}

Error - fork/exec /opt/nuclio/common/openvino/python3: no such file or directory
    ...//nuclio/pkg/processor/runtime/rpc/abstract.go:231

Call stack:
Can't run wrapper
    ...//nuclio/pkg/processor/runtime/rpc/abstract.go:231
Failed to run wrapper
    ...//nuclio/pkg/processor/runtime/rpc/abstract.go:106
Failed to start runtime
    /nuclio/pkg/processor/worker/factory.go:101
Failed to create worker
    /nuclio/pkg/processor/worker/factory.go:122
Failed to create workers
    /nuclio/pkg/processor/worker/factory.go:132

    /nuclio/pkg/platform/local/platform.go:1001
Failed to deploy function
    ...//nuclio/pkg/platform/abstract/platform.go:182

Possible Solution

Tried some solutions mentioned in #5205, #2820. None of these works. Maybe it's the version problem. However since the cvat 2.0.0 and nuclio 1.5.16 works fine as the document described, I don't think changing the version is a solution. Besides, to some reason, I have to use cvat 2.0.0.

Steps to Reproduce (for bugs)

  1. following Semi-automatic and Automatic Annotation step by step
  2. till run this command, errors occurred:
nuctl deploy --project-name cvat \
 --path serverless/openvino/dextr/nuclio \
 --volume `pwd`/serverless/common:/opt/nuclio/common \
 --platform local

Your Environment

  • Docker version docker version (e.g. Docker 17.0.05): 20.10.21
  • Are you using Docker Swarm or Kubernetes? No
  • Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 18.04 in VMware, physical host is Windows 10
  • Other diagnostic information / logs:
    log.txt
@yasakova-anastasia
Copy link
Contributor

I was unable to reproduce this issue (on Ubuntu 22.04). Instructions work pretty well for me. I don't have a PC with Windows. I found a similar issue. The problem was solved by a complete reinstall (#5317 (comment)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants