Unable to retrieve Kernel details via API

September 26, 2016 85 views

I started a couple of days ago with DO and now I have an issue with the API. According to the API docs is it possible to retrieve details about the kernel. Both my droplets return null with a working READ/WRITE token.

$ curl -X GET  -H "Authorization: Bearer $TOKEN" "https://api.digitalocean.com/v2/droplets/25333333"

Am I missing something?

2 Answers

Newer DigitalOcean Droplets use their own bootloaders and “internally managed” kernels. For these Droplets, the API will report the "kernel" as null as you can not change the kernel either through the API or the control panel. You can update or install new kernels as you normally would on a bare-metal server. We can probably make that more clear in the API documentation.

We’ve also provided an upgrade path for older Droplets. In order to use the “internally managed” kernels without rebuilding your Droplet, you can now set the “DigitalOcean GrubLoader” from your Droplet’s kernel menu or via the API.

Find more details here:


by Adam LaGreca
Updating the kernel on your DigitalOcean Droplet is a straight forward process that differs slightly based on the Droplet's operating system. In this guide, we'll walk you through the process of updating your kernels for DigitalOcean Droplets.

Thanks for your response.

Why not display the current kernel even if it's an “internally managed” kernel? Showing what kernel is in use and not allow to change it through the API are two different topics from my point of view.

No need to login and to use uname ;-)

Have another answer? Share your knowledge.