Skip to content
Snippets Groups Projects
user avatar
Iustin Pop authored
This patch splits the single operation of replace peer into two distinct
phases, in order to make a single change to the instance configuration:
  - detach from network
  - if at least one drbd device succeeded, make one change to the
    instance, pointing all disks to the new peer
  - attach to the new peer

This should eliminate the case when a failure in the second reattach can
leave the instance with two secondaries.

Reviewed-by: imsnah
642445d9
Ganeti 1.2
==========

For installation instructions, read the INSTALL and the doc/install.pdf
files.

For a brief introduction, read the ganeti(7) manpage and the other pages
it suggests.