Skip to content
Snippets Groups Projects
  1. Aug 17, 2010
  2. Aug 13, 2010
  3. Aug 10, 2010
  4. Aug 05, 2010
  5. Jul 30, 2010
  6. Jul 29, 2010
  7. Jul 28, 2010
  8. Jul 26, 2010
    • Iustin Pop's avatar
      Add modification of the reserved logical volumes · f38ea602
      Iustin Pop authored
      
      This doesn't allow addition/removal of individual volumes, only
      wholesale replace of the entire list. It can be improved later, if we
      ever get generic container parameters.
      
      The man page changes replaces some tabs with spaces (hence the
      whitespace changes).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      f38ea602
    • Iustin Pop's avatar
      5a3ab484
    • Iustin Pop's avatar
      Introuce a new cluster parameter - reserved_lvs · 999b183c
      Iustin Pop authored
      
      This parameter, which is a list of regular expression patterns, will
      make cluster verify ignore any such LVs. It will not prevent creation or
      removal of such volumes by the backend code.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      999b183c
    • Iustin Pop's avatar
      Change the meaning of call_node_start_master · 91492e57
      Iustin Pop authored
      
      Currently, backend.StartMaster (the function behind this RPC call) will
      activate the master IP and then, if the start_daemons parameter is true,
      it will also activate the master role.
      
      While this works, it has two issues:
      
      - first, it will activate the master IP unconditionally, even if this
        node will not start the master daemon due to missing votes
      - second, the activation of the IP is done twice if start_daemons is
        true, because the master daemon does its own activation too
      
      This behaviour seems to be unmodified since Summer 2008, so probably any
      rationale on why this is done in two places is forgotten.
      
      The patch changes so that this function does *either* IP activation or
      master role activation but not both. So the IP will be activated only
      once (from the master daemon or from LURenameCluster), and it will only
      be done if the masterd got enough votes for startup.
      
      I can see only one downside to this change: if masterd won't actually
      start (due to missing votes), RAPI will still start, and without the
      master IP activated. But this is no worse than before, when both RAPI
      was running and the IP was activated.
      
      Note that the behaviour of StopMaster remains the same, as noone else
      does the IP removal.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      91492e57
    • Iustin Pop's avatar
      Move the UsesRPC decorator from cli to rpc · e0e916fe
      Iustin Pop authored
      
      This is needed because not just the cli scripts need this decorator, but
      the master daemon too (and it already duplicated the code once).
      
      In cli.py we just leave a stub, so that we don't have to modify all the
      scripts to import rpc.py.
      
      We then change the master daemon code to reuse this decorator, instead
      of duplicating it.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      e0e916fe
  9. Jul 23, 2010
Loading