If you have actually specified a different flavor with the command, then it 
sounds like this is a bug.  I see the check here:

1450         if (current_memory_mb == new_memory_mb) and flavor_id:
1451             raise exception.CannotResizeToSameSize()

And I don't see any reason for it. It seems like it should be checking if the 
flavor_id is different.

Vish

On May 13, 2012, at 10:11 AM, Jimmy Tsai wrote:

> Hi all,
> 
> I only want to resize just the disk space with root_gb or ephemeral_gb.
> if I run a "nova resize" command to change the disk space of a instance, and 
> leave the vcpu and memory untouched,
> I'll get the error message like this : 
> ERROR: Resize requires a change in size. (HTTP 400)
> The condition of the resize procedure seems must be a change with memory 
> (vcpu is not must be ).
> Is there any nova config option to do with this? 
> 
> Thanks,
> -Jimmy
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to