Need a way for the instance to find its own tensordock uuid and other metadata
Jim Page
May 19, 2025
5
Jaden WangMay 20, 2025
huh this is surprisingly valid, though i believe the hostnode is the vmuuid
Jim PageMay 20, 2025
Not sure if this is the same thing, but following this https://cloud.google.com/compute/docs/instances/get-uuid#windows-powershell I get a different value to the `id` I got back from the POST instances API when I created it. Perhaps there's a different method? For now I can work around it by setting a UUID in the env via cloud-init which I can use in subsequent messaging, but it's a bit hand-held.
Jim PageMay 22, 2025
I just accidentally discovered the meta-data file on the CDROM volume on the instance I just fired up, which contains a meta-data file, including the instance ID I was looking for. Is this going to stay there? If so that will do nicely!
Jaden WangMay 25, 2025
Yeah that's our cloud-init disk, I'm inclined to say yes this will stay there, theres no plans to move to another provisioning method
Jaden WangMay 25, 2025
The metadata endpoint is a pretty good idea, adding it to our backlog.