1. 30 Aug, 2007 2 commits
    • Iustin Pop's avatar
      Add one more check on cluster init. · 130e907e
      Iustin Pop authored
      This adds a check that the initial node's IP name doesn't resolve to a
      loopback address (127.x.y.z).
      
      Also remove an unused variable.
      
      Reviewed-by: imsnah
      130e907e
    • Iustin Pop's avatar
      Document kernel selection method · 16450d30
      Iustin Pop authored
      This changelist add:
        - documentation on how to select the kernel and initrd (if needed) for
          instances
        - support in hypervisor.py for the initrd
        - adds note about internet-connectivity and debootstrap requirements
          for the minimal etch os
        - documentation on the miminum xenvg size
      
      Reviewed-by: roman.marxer,ultrotter
      16450d30
  2. 28 Aug, 2007 2 commits
  3. 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
  4. 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
  5. 22 Aug, 2007 1 commit
  6. 21 Aug, 2007 1 commit
  7. 20 Aug, 2007 3 commits
  8. 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
  9. 16 Aug, 2007 1 commit
    • 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
  10. 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
  11. 08 Aug, 2007 1 commit
  12. 06 Aug, 2007 1 commit
  13. 03 Aug, 2007 6 commits
  14. 02 Aug, 2007 3 commits
  15. 30 Jul, 2007 1 commit
  16. 27 Jul, 2007 5 commits
  17. 26 Jul, 2007 4 commits
  18. 25 Jul, 2007 4 commits
  19. 24 Jul, 2007 1 commit