google-compute-enginelibcloud

Instance failing to boot from disk on Google Compute Engine


I'm trying to boot an instance on GCE through libcloud.

When I boot through the libcloud function, ex_create_multiple_nodes (with 1 machine specified), the instance and the disk are created successfully, and the disk is attached. I verify this through the developer console. No exceptions are thrown by the function call.

Unfortunately, the instance never boots successfully: ... Booting from Hard Disk... Boot failed: not a bootable disk ... Full log: https://gist.github.com/danwinkler/dcf1351675eb8c744220 (This repeats again and again)

I've tested booting with the same parameters (snapshot, zone, size, etc.) through the developers console and it works fine.

A colleague pointed out that the error looks similar to those caused by virt-manager, but I don't see anything related to that in the docs or the console Link.

Thanks!


Solution

  • This error normally happens when you're trying to boot from an empty disk. You can attach the disk to another VM instance and check the disk contents to ensure that is has a valid and bootable partition.