-
Notifications
You must be signed in to change notification settings - Fork 525
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]: Cannot deploy serverless function in Azure VM #3228
Comments
Hi @jaroslavknotek , Could you please run |
Hello @rokatyy, thank you for response. I noticed that the verbose logs (see below) explicitely say that I also tried to check if temp is where it should be:
Verbose logs:
|
Hello, is there any progress? I think I could be able to provide temporary access to the Azure VM so you can look around for yourself. |
Hello. Is there any progress or reaction. My offer to help you debug still stands. |
@jaroslavknotek Hey, sorry for the delay. I have a question—could you please verify during the nuctl execution if the file was actually created (just list files in directory with |
I read about handling TMP in Azure and it doesn't seem to be the culprit. Additionally, TMP has other stuff in there that hasn't been removed. TMP hadn't been empty before installation nor it was afterwards. Considering watching the tmp content. I tried using Is there anyhing else I can do to help you investigate? |
@jaroslavknotek I found this issue on cvat gh - cvat-ai/cvat#2067 (comment). Could you please try cleaning up |
@rokatyy Thank you for your response. Unfortunatelly, that didn't work. I also tried to deploy different functions to rule out that the problem is in SAM but to no avail. To try your solution, I exec'd into the
Then I ran the command again and got the same error (see below) I am surprised that you had to look into the github of CVAT. Can you tell me what is the problem here? I though that since I report error stemming from I understand that nuclio is open-source and I am grateful that you have been helping me. However, as a developer myself, I also think that a step leading to resolution of this issue would be to try nuclio on site (as I've offered you the machine) and see what the problem is and why it's not in the logs (My guess is that the confirmation that artifacts have been created would help here). I am aware that I can do this myself and I considering getting into GO just to debug this problem but before that I'd like to hear from you. Do you think that we can resolve the problem with your development team or do I have to look into it. Also, I am not the only user stuck on this issue but I understand that the majority doesn't have any problem. Thank you very much for your effort.
|
Nuclio Version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Nuclio.
Issue Description
I followed cvat tutorial and deployed it sucessfully. To extend the capabilites of CVAT the tutorial says to use nuctl to build a function,
however I cannot deploy a serverless function from Azure VM (ubuntu 22.04 + GPU nvidia).
I am stuck running the script
deploy_[gpu|cpu]
link:For demonstration purposes, I typed the problematic line separately:
Expected Behavior
The script will not complain about not being able to find stuff in
/tmp
Deployment Method
Docker
Nuclio Version
1.11.24,1.12.15,1.13.0
Additional Information
Going through the other issues, I noticed that it may be a problem with either
tmp
being at a different volume (which is not according tofindmnt
tool) ortmp
having too strict permission (which it doesn't - I ensured that bychmod 777 tmp
)Additionally, I tried this script on my home PC (not ubuntu but archlinux) where everything runs fine.
What is so different with VM that
nuctl
doesn't work as expected?Is there anything I can do?
The text was updated successfully, but these errors were encountered: