Open DavidBuzatu-Marian opened 2 years ago
From the firecracker-containerd output, it looks like you're having auth issues:
failed to fetch oauth token: unexpected status: 403 Forbidden
For GHCR, the docker username is your GitHub username and docker password is a personal access token. If you haven't created an access token, you can follow https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry. If you have, can you verify that you're passing those correctly?
Hi Kern! Ah, I was using my actual password for it. However, after inserting my credentials accordingly, I am now getting:
Creating VM
Setting docker credential metadata
Pulling the image
Creating a container
Creating a task
failed to create shim task: failed to create task: rpc error: code = Unknown desc = OCI runtime create failed: unable to retrieve OCI runtime error (open /container/remoteSnapshotterDemo/log.json: no such file or directory): runc did not terminate successfully: exit status 2: unknown
Is this part of the actual image or could this be related to a setup issue?
Do you have the firecracker-containerd logs from that most recent failure?
Sure. I have added it as a file firecracker_output.txt
EDIT: Created a gist for the logs as that might be more useful: https://gist.github.com/DavidBuzatu-Marian/b9ae479a6d605ec42f4b03ea0800f998
Hi @Kern--. Apologies for the disturbance, but I wanted to ask if there is any update you may give me on this issue. Any pointers as to what could be wrong would be useful. I did take my time to look into the IOProxy class as it seems to be the one delegated to perform the IO operations that seem to file, though I am not sure where the file remoteSnapshotterDemo/log.json:
is expected to be, as that one is not found.
Hi! I'm David and I am interested in making use of the
firecracker-containerd
in the context of remote snapshots using thestargz
snapshotter.I have followed the setup provided for running containers using remote snapshots as described below, but came across an issue when creating the task for the stargz based image. Further details are provided below and I am most thankful for your time!
Setup details
System
Installation
Installed
main
version offirecracker-containerd
by following the steps from quickstart.Using firecracker-containerd to start a Docker based container using the following script works as expected:
Issue (UPDATED)
After following the remote snapshotter setup guide, running the command:
results in the following output:
Firecracker-containerd logs gist: