Skip to content
Snippets Groups Projects
  1. Sep 03, 2007
  2. Aug 31, 2007
  3. Aug 30, 2007
  4. Aug 24, 2007
  5. Aug 21, 2007
  6. Aug 16, 2007
    • Iustin Pop's avatar
      Some small fixes. · 8925faaa
      Iustin Pop authored
      It fixes the main Makefile.am to create $localstatedir/{lib,log}/ganeti.
      It fixes the testing Makefile.am after the rename fake_config.py ->
      mocks.py.  It strips the output of "ip link show" to have a nicer output
      if the master netdev does not exist.
      8925faaa
  7. Aug 14, 2007
    • Iustin Pop's avatar
      Style changes for pep-8 and python-3000 compliance. · 3ecf6786
      Iustin Pop authored
      This changes the raising of exceptions from:
        raise Exception, value
      to
        raise Exception(value)
      
      as the first form will be removed in python-3000 and the second form is
      preferred now.
      
      The changes also involve a few cases of changing from raising standard
      exceptions and use our own ones.
      
      The new version also fixes many pylint-generated warnings, especially in
      ganeti-noded where I changed many methods to @staticmethod.
      
      There is no functionality changed (barring any bugs).
      3ecf6786
  8. Aug 03, 2007
    • Iustin Pop's avatar
      Prepare for the tags implementation: · e00fb268
      Iustin Pop authored
        - add an Update method on the ConfigWriter class;
        - make the AddInstance method not log disks for diskless types (helps with testing)
        - implement limited testing for the ConfigWriter with focus on the new Update method
      
      e00fb268
  9. Jul 27, 2007
    • Iustin Pop's avatar
      Move the cluster name from ConfigWriter to SimpleStore. · 5fcdc80d
      Iustin Pop authored
      Reason: if left ConfigWriter, nodes don't know to which cluster they belong.
      This will bite us later when we'll revisit node join operation.
      
      Cons: we lose the cluster name from the config file, which means a
      standalone "cluster.data" is a little bit harder to analyze. But I have
      a plan for this which will follow shortly.
      
      Implementing this will also allow us to cleanly fix "gnt-cluster
      getmaster".
      
      Reviewed-by: imsnah
      5fcdc80d
  10. Jul 25, 2007
  11. Jul 23, 2007
    • Iustin Pop's avatar
      Big change/cleanup in relation to the master startup: · 880478f8
      Iustin Pop authored
        - move the master node name from the ConfigWriter to SimpleStore (all
          nodes need this, and it was the only thing pulled in from the
          ConfigWriter on nodes)
        - fix mcpu.py and the testing w.r.t. this change; for testing, rename
          the fake_config.py to mocks.py and add a FakeSStore object
        - then add a ganeti-master script which can be run on any node at boot
          and which will not do anything if not master on start (on stop it
          will still try to remove the ip address)
        - also add a new cluster-wide variable (master_netdev) that determines
          on which interface we add this ip address; it's customizable at
          cluster init time
        - also remove the cluster name file which was separately handled from
          ssconf (not needed anymore)
        - remove the master init.d links from the list of config files as this
          is not our responsibility now
      
      880478f8
    • Michael Hanselmann's avatar
      Allow default bridge to be configured. · 6f11f250
      Michael Hanselmann authored
      Reviewed-by: iustinp
      6f11f250
  12. Jul 16, 2007
Loading