Skip to content
Snippets Groups Projects
  1. Aug 30, 2007
    • Iustin Pop's avatar
      Fix the manpage gnt-instance w.r.t. units · b9ac33e9
      Iustin Pop authored
      The manpage wrongly states that the default unit for disk sizes is
      gibibytes, whereas currently it's mebibytes. Fix that and also update
      the '--help' output to display the default unit.
      
      Reviewed-by: roman.marxer
      b9ac33e9
  2. Aug 24, 2007
    • Iustin Pop's avatar
      Rework ssh known-hosts handling. · 82122173
      Iustin Pop authored
      This changes:
        - cluster setup, we no longer edit /etc/ssh/ssh_known_hosts but our
          own file
        - node add, we no longer remove root's known_hosts (twice)
        - gnt-instance console, both the LU and the script: since now the ssh
          setup is not standard, we need to build the ssh cmdline in the LU
          (instead of manually building it in the script) with the correct
          parameters and use the command line as returned in the script
        - ssh.py, many changes, split options in module-level constants so
          that building the command line in different places is easier/more
          logical
        - backend.py, we no longer remove root's known_hosts in Add node, and
          we allow our own known_hosts file to be uploaded
      
      Reviewed-by: imsnah
      82122173
  3. Aug 23, 2007
    • Iustin Pop's avatar
      Improve LURunClusterCommand · 02715459
      Iustin Pop authored
      This function used a hand-coded ssh call to remote nodes. Fix it to use the
      ssh.SSHCall function, and in the process drop the command field from the
      results, as it's too verbose and we can use (in gnt-cluster) what we passed in.
      
      Reviewed-by: schreiberal
      02715459
  4. Aug 20, 2007
  5. Aug 17, 2007
    • Iustin Pop's avatar
      Change cli.OutputTable to cli.GenerateTable · 16be8703
      Iustin Pop authored
      Since the table generation might be useful elsewhere, let's change it to
      return the data instead of directly printing it.
      
      Its callers have also been updated.
      
      Reviewed-by: imsnah
      16be8703
  6. 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
  7. Aug 03, 2007
  8. Aug 02, 2007
  9. Jul 27, 2007
  10. Jul 26, 2007
  11. Jul 24, 2007
  12. 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
    • Iustin Pop's avatar
      Fix small typo. · 79f7be7b
      Iustin Pop authored
      Reviewed-by: imsnah
      79f7be7b
    • Iustin Pop's avatar
      Add the gnt-backup script and man-pages. · dd4b1106
      Iustin Pop authored
      Reviewed-by: imsnah
      dd4b1106
  13. Jul 16, 2007
Loading