Read more

OpenStack nova resize "ERROR: Resize requires a change in size"

Kim Klotz
May 13, 2014Software engineer at makandra GmbH

If you get this error when you try to resize an OpenStack instance:

# nova resize example 23 --poll
ERROR: Resize requires a change in size. (HTTP 400)
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

You need to change your flavor to have a different memory size. It's a bug in an older OpenStack version:

        # /nova/compute/api.py
        if (current_memory_mb == new_memory_mb) and flavor_id:		
            raise exception.CannotResizeToSameSize()

which got fixed 2012-09-12 ( https://git.openstack.org/cgit/openstack/nova/commit/nova/compute/api.py?id=843af52d49554f15c13e5617b9eb672c35c7fe51 Show archive.org snapshot ).

Posted by Kim Klotz to makandra dev (2014-05-13 15:12)