« Previous | Next » 

Revision cfefe007

IDcfefe007f184d4e54403347d811b683eba3aa9b0
Parent 4300c4b6
Child 5bc84f33

Added by Guido Trotter almost 16 years ago

Check memory size before setting it

With this change when a user asks for a new memory size for an instance,
the number is checked instead of just applied. The operation fails only
if the instance would not be able to restart on its primary node, but
generates warnings should it be impossible to failover the instance or
should the computation be impossible due to nodes being unreachable.

This is a forward-port from branches/ganeti-1.2

Original-Reviewed-by: iustinp
Reviewed-by: iustinp

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences