-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Not able to connect to Firecracker VM from the pod #5105
Comments
Hey @anubhavjana, thanks for submitting this report. It looks like you're using Kubernetes in your setup to orchestrate Firecracker uVMs. We only provide support for Firecracker in this repository, and I'm personally not very familiar with Kubernetes. If you could reproduce the issue on an environment with Firecracker only that'd be ideal. Alternatively, please provide a detailed explanation of your complete setup. In any case, I took a look and noticed you didn't set up any networking interface in Firecracker, nor a vsock. How is the communication between Kubernetes and the uVM supposed to work? Furthermore, if you could provide some logs from your code, firecracker, and the uVM serial console, it would be helpful to understand what's happening. Thanks, |
Hi @Manciukic , thanks for getting back. So my main motive is to have a firecracker pod up and running on kubernetes and then execute python script inside it. For this, I have already installed pip3 and python3 in the .ext4 filesystem that I am using. This is the portion of the firecracker setup inside the yaml definition (you can consider that these are the steps that I would have also used on the bare metal host)
On deploying it, here are the logs: ![]() Here is the output of ps aux from host. ![]()
{"vcpu_count":1,"mem_size_mib":128,"smt":false,"track_dirty_pages":false} Ran the following from the pod container where FC is supposed to boot up.
I have run the following command to setup tap device on the host
Finally this is the firecracker boot log inside the pod container ![]() So, could you please these logs and help me with how can I run a python script inside the microVM from outside the VM, say host. @Manciukic |
Hi @Manciukic @ShadowCurse - can i get some support on this ? This is a little bit on priority. |
I have a deployment file which is meant to boot a firecracker VM on the pod. I have installed python and pip inside the ex4 filesystem. I want to execute the python script from the host / pod (either through CLI or inside yaml specification). The pod starts running, the curl requests are successful.
Here is a sample deployment file i am using:
Please let me know what other information you need from my side. Please help.
The text was updated successfully, but these errors were encountered: