Report this

What is the reason for this report?

Droplet resize is not working

Posted on October 30, 2014

Hi, we came across the following issue with the resize not working properly. Upon resizing a droplet the following error message appears “Size is too large to fit on your droplet’s server” (enclosed below). Can you advise if it is as expected please?

Thank you,

GET https://api.digitalocean.com/v2/droplets/3019571 HTTP/1.1
Authorization: 
Accept: application/json
Content-Type: application/json;charset=UTF-8

HTTP/1.1 200 OK
{
   "droplet":{
      "id":3019571,
      "name":"testvm-stateful-1414696899536",
      "memory":1024,
      "vcpus":1,
      "disk":30,
      "locked":false,
      "status":"off",
      "kernel":{
         "id":2133,
         "name":"Ubuntu 14.04 x32 vmlinuz-3.13.0-36-generic",
         "version":"3.13.0-36-generic"
      },
      "created_at":"2014-10-30T19:21:39Z",
      "features":[
         "private_networking",
         "virtio"
      ],
      "backup_ids":[

      ],
      "snapshot_ids":[

      ],
      "image":{
         "id":6918735,
         "name":"14.04 x32",
         "distribution":"Ubuntu",
         "slug":"ubuntu-14-04-x32",
         "public":true,
         "regions":[
            "nyc1",
            "ams1",
            "sfo1",
            "nyc2",
            "ams2",
            "sgp1",
            "lon1",
            "nyc3",
            "ams3",
            "nyc3"
         ],
         "created_at":"2014-10-17T20:13:41Z",
         "min_size":"512mb"
      },
      "size_slug":"1gb",
      "networks":{
         "v4":[
            {
               "ip_address":"10.131.224.162",
               "netmask":"255.255.0.0",
               "gateway":"10.131.0.1",
               "type":"private"
            },
            {
               "ip_address":"178.62.113.136",
               "netmask":"255.255.192.0",
               "gateway":"178.62.64.1",
               "type":"public"
            }
         ],
         "v6":[

         ]
      },
      "region":{
         "name":"London 1",
         "slug":"lon1",
         "sizes":[

         ],
         "features":[
            "virtio",
            "private_networking",
            "backups",
            "ipv6",
            "metadata"
         ],
         "available":null
      }
   }
}
POST https://api.digitalocean.com/v2/droplets/3019571/actions HTTP/1.1
Authorization: 
Accept: application/json
Content-Type: application/json;charset=UTF-8

{"type":"resize","size":"2gb"}

HTTP/1.1 422 Unprocessable Entity
{"id":"unprocessable_entity","message":"Size is too large to fit on your droplet's server"}


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The “fast resize” option is limited by the amount of space available on the hypervisor that your droplet is currently on. Unfortunately if there is not enough room, you can not take advantage of that feature. If that is the case, you’ll have to resize via a snapshot.

Got it. This limitation really makes it difficult to create a SAAS solution on DO. We want to give our end user of our SAAS solution individual DO droplets.

I wanted to allow my end users to resize their droplet from the control panel we built around the DO API.

During testing we ran into this fast resizing limitation issue identified above.

The snapshot alternative is even more complex and seems to result in more downtime. As well, there is the minor risk that we could lose the IP address.

I am thinking we may have to make our SAAS upgrade something the end user schedules and maybe we do it manually.

Any recommendations?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.