« Previous | Next » 

Revision 5675cd1f

ID5675cd1f3c5d848e8f9257f06f86d2d2121c6c1a
Parent 1c65840b
Child 53beffbb

Added by Iustin Pop over 15 years ago

Implement checking for the master role in rapi

This patch moves the CheckMaster function from ganeti-masterd to ssconf
(most logical place, it cannot go in utils since we would have recursive
imports between ssconf and utils) and changes ganeti-rapi to also call
this function.

This is needed so that starting ganeti-rapi on a non-master node does
the right thing.

Reviewed-by: ultrotter

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences