1. 24 Aug, 2007 1 commit
    • 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
  2. 23 Aug, 2007 1 commit
    • 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
  3. 22 Aug, 2007 1 commit
  4. 21 Aug, 2007 2 commits
  5. 20 Aug, 2007 5 commits
  6. 17 Aug, 2007 1 commit
    • 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
  7. 16 Aug, 2007 3 commits
    • Iustin Pop's avatar
      Another documentation update. · 1005b0c1
      Iustin Pop authored
      This removes the section on packages from installing.sgml (until we have
      packages) and adds/corrects informations about using the startup script.
      
      It also adds notes about the ``--master-netdev`` option, which one needs
      to use if the node doesn't have an interface named xen-br0 (or if it's
      not the interface wanted for external access).
      1005b0c1
    • 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
    • Iustin Pop's avatar
      Documentation updates. · a7a19281
      Iustin Pop authored
      This changes installing.sgml, adding details about required software and
      OS instances. It also updates INSTALL and README to correspond with the
      sgml manual.
      
      Reviewed-by: ultrotter
      a7a19281
  8. 15 Aug, 2007 1 commit
    • Iustin Pop's avatar
      Some changes to the installation manual. · 5d6dd340
      Iustin Pop authored
      The biggest change is that at configure time one must specify
      --localstatedir=/var since the directories for ganeti (/var/log/ganeti,
      /var/lib/ganeti) must be located here.
      
      Reviewed-by: ultrotter
      5d6dd340
  9. 14 Aug, 2007 1 commit
    • 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
  10. 08 Aug, 2007 1 commit
  11. 06 Aug, 2007 1 commit
  12. 03 Aug, 2007 9 commits
  13. 02 Aug, 2007 7 commits
  14. 30 Jul, 2007 2 commits
  15. 27 Jul, 2007 4 commits