« Previous | Next » 

Revision 9dae41ad

Parent cc9e1230
Child 9afb67fe

Added by Guido Trotter over 15 years ago

Create runtime dir in bootstrap

Some hypervisors (KVM) need RUN_GANETI_DIR to exist even at cluster init
time. This patch creates it in InitCluster just before hv parameter
checking. Since the code to make list of directories is already repeated
twice in the code, and this would be the third time, we abstract it into
an utils.EnsureDirs function and we call that one from ganti-noded,
ganeti-masterd and bootstrap.

Reviewed-by: iustinp


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences