« Previous | Next » 

Revision 2d90608c

ID2d90608c0ebe560641be246ea266803d0a8e3ad8

Added by Iustin Pop over 12 years ago

Change config upgrade to be explicit

Currently the config upgrade is done at each object instantiation, that
means that ganeti-noded will run UpgradeConfig on all objects received
remotely (instances, disks, nics). This is not so good, so this patch
changes it so that only the ConfigWriter runs this method at
configuration load time.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>
(cherry picked from commit 90d726a80ce40a4990a26566211514e863985efc)

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences