Skip to content
Snippets Groups Projects
  1. Oct 07, 2008
  2. Oct 06, 2008
  3. Sep 30, 2008
  4. Sep 29, 2008
  5. Sep 27, 2008
  6. Sep 24, 2008
    • Iustin Pop's avatar
      Design doc for the master daemon · bb083b25
      Iustin Pop authored
      It's not complete, but I hope it's up to date. It's restructured text,
      but no make rules or such for html output are needed, it's readable
      as-is.
      
      Reviewed-by: imsnah
      bb083b25
  7. Sep 17, 2008
  8. Sep 05, 2008
  9. Aug 29, 2008
  10. Aug 04, 2008
  11. Jul 30, 2008
    • Iustin Pop's avatar
      Rework master startup/shutdown/failover · b1b6ea87
      Iustin Pop authored
      This (big) patch reworks the master startup/shutdown and the fixes the
      master failover.
      
      What does the patch do?
      
      For master start/stop:
        - remove the old ganeti-master script and its associated man page
        - moves the ip start/stop directly into the backend.(Start|Stop)Master
        - adds start/stop of the master/rapi daemon into these functions,
          selectively based on the start/stop arguments
        - makes the master call via rpc StartMaster(start_daemons=False) to
          the local node so that the master IP is started
        - and finally changes the example init.d script to directly start and
          stop all three daemons, since they do the right thing (depending on
          master/not master role)
      
      For master failover:
        - moves the code from LUMasterFailover into bootstrap.MasterFailover,
          since we need to start/stop the master during this operation and
          thus it can't be executed from the master
        - removes the LUMasterFailover and its associated opcode
      
      Notes: ubuntu's /etc/lsb-base-logging.sh is dumb, so the messages 'not
      master' are not seen during startup on non-master nodes.
      
      Reviewed-by: ultrotter
      b1b6ea87
  12. Jul 23, 2008
    • Guido Trotter's avatar
      Use pidfiles in example init script · 5947d6ec
      Guido Trotter authored
      Rather than searching for the ganeti daemons by name we'll use the
      pidfile they create to stop them. This change also adds the --oknodo
      option to start-stop-daemon when stopping ganeti (which means it won't
      give an error if it wasn't started).
      
      Reviewed-by: iustinp
      
      5947d6ec
  13. Jul 22, 2008
  14. Jul 11, 2008
    • Michael Hanselmann's avatar
      Fix rapi documentation · 081242d8
      Michael Hanselmann authored
      As a nice side-effect this also fixes "make distcheck".
      
      The way used to include the generated rapi-resources.sgml file only
      works if it's built in the same directory. That's not the case during
      "make distcheck". The patch changes the sed script used for variables
      to include the file using its absolute path.
      
      Reviewed-by: iustinp
      081242d8
    • Oleksiy Mishchenko's avatar
      Copy the rest of the Restful-API files to trunk · 4cbd4462
      Oleksiy Mishchenko authored
      Reviewed-by: imsnah
      4cbd4462
  15. Jun 19, 2008
  16. Jun 06, 2008
  17. May 31, 2008
  18. May 24, 2008
  19. May 05, 2008
  20. Apr 30, 2008
  21. Apr 25, 2008
  22. Apr 23, 2008
    • Iustin Pop's avatar
      Generalize the replace_secondary mode in iallocator · 2a139bb0
      Iustin Pop authored
      Currently the replace_secondary mode is too restrictive. This patch
      changes this to a general 'relocate' mode where the node(s) to be
      changed are specified via a new key in the request dict ('nodes') so
      that we can change any of the instance's nodes.
      
      Note that for the relocate mode, len(nodes) == required_nodes, so the
      required nodes field is redundant, but it is provided for consistency
      with the allocate mode.
      
      Reviewed-by: ultrotter
      2a139bb0
    • Iustin Pop's avatar
      Implement replace_secondary in the dumb allocator · eb0994e7
      Iustin Pop authored
      This patch allows the dumb allocator to perform the replace secondary
      request type. This is done simply by not allowing the current instances
      nodes as a valid selection, and using the existing instance data instead
      of the request (which doesn't have the instance info when doing the
      replace_secondary).
      
      Reviewed-by: ultrotter
      eb0994e7
    • Iustin Pop's avatar
      Send required_nodes field to the iallocator scripts · 27579978
      Iustin Pop authored
      This patch adds the 'required_nodes' field in the request dict for the
      iallocator.
      
      This means that the handmade-checks in the create instance can be
      simplified, and that the dumb allocator can be made simple. Therefore
      the patch also modifies it.
      
      The patch also sends the disk_space_total to the script in realocate
      mode and a small fix for showing errors (include stderr too).
      
      Reviewed-by: ultrotter
      27579978
  23. Apr 16, 2008
    • Iustin Pop's avatar
      IAllocator part 3: LUCreateInstance changes · 538475ca
      Iustin Pop authored
      This (final) patch allows the instance's nodes to be selected
      automatically based on the passed allocator algorithm.
      
      The patch changes the pnode opcode parameter from required to optional,
      now either the pnode or the iallocator must be passed.
      
      A possible improvement could be to organize all the _IAllocator
      functions into a separate class, but that can come later and the current
      version is functionally ok.
      
      Reviewed-by: ultrotter
      538475ca
Loading