You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
I'm not sure if this question is best suited to this repository or firecracker-microvm/firecracker but I'm hoping someone might be able to help out.
Using the socket (in /var/lib/firecracker/vm/{vm-id}/firecracker.sock, I'm able to successfully write to the metadata store. However, attempting to access this from inside the guest OS isn't behaving as expected.
Following Firecracker's MMDS Version 2 user guide, I've tried to obtain a session token by hitting the /latest/api/token endpoint:
curl -X PUT "http://169.254.169.254/latest/api/token" \
-H "X-metadata-token-ttl-seconds: 21600"
which returns a 405 - Method Not Allowed error and the response body states that only GET and HEAD methods are allowed.
I tried following the Version 1 instructions instead, but I seem to get a 404 - Not Found error with this.
I'm able to hit some other endpoints (like GET / and GET /machine-config), so it's clear that the internal Firecracker API is functioning— does anyone know if there's a way to get the data from MMDS?
I'm not sure if this question is best suited to this repository or firecracker-microvm/firecracker but I'm hoping someone might be able to help out.
Using the socket (in
/var/lib/firecracker/vm/{vm-id}/firecracker.sock
, I'm able to successfully write to the metadata store. However, attempting to access this from inside the guest OS isn't behaving as expected.Following Firecracker's MMDS Version 2 user guide, I've tried to obtain a session token by hitting the
/latest/api/token
endpoint:which returns a
405 - Method Not Allowed
error and the response body states that onlyGET
andHEAD
methods are allowed.I tried following the Version 1 instructions instead, but I seem to get a
404 - Not Found
error with this.I'm able to hit some other endpoints (like
GET /
andGET /machine-config
), so it's clear that the internal Firecracker API is functioning— does anyone know if there's a way to get the data from MMDS?Possibly related issues/PRs:
#77 #132
The text was updated successfully, but these errors were encountered: