Skip to content
Snippets Groups Projects
  1. Sep 27, 2012
  2. Sep 18, 2012
    • Michael Hanselmann's avatar
      constants: Move most paths to separate module · 3329f4de
      Michael Hanselmann authored
      
      This is inpreparation for the implementation of virtual clusters. Many
      paths will change based on an environment variable and are no longer
      constant and should no longer be in “constants.py”. Since “constants.py”
      is already huge a number of other paths are also moved in the process.
      
      For now a wildcard import is used to re-export all paths from
      “constants.py” (this will change over coming patches). Daemon log paths
      have been changed to use a function. “RUN_GANETI_DIR” was moved to
      “RUN_DIR” as the latter was only used in “constants.py”.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      3329f4de
  3. Aug 23, 2012
    • Iustin Pop's avatar
      Bump pep8 version to 1.2 · 5ae4945a
      Iustin Pop authored
      
      Debian Wheezy will ship with this version, and it has many improved checks compared to 0.6, so let's:
      
      - bump version in the docs
      - silence some new checks that are wrong due to our indent=2 instead of 4
      - fix lots of errors in the code where the indentation was wrong by 1
        or 2 spaces
      - fix a few cases of == True, False, None and replace with 'is'
      - re-indent some cases where the code is OK, but pep8 complains
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      5ae4945a
  4. Feb 28, 2012
  5. Feb 21, 2012
  6. Dec 08, 2011
  7. Nov 21, 2011
  8. Aug 30, 2011
  9. Jul 25, 2011
  10. May 24, 2011
  11. Apr 04, 2011
    • Iustin Pop's avatar
      daemon.py: move startup log message before prep_fn · fe295df3
      Iustin Pop authored
      
      Before this, the output in the rapi daemon log was:
      2011-04-04 03:09:51,026: ganeti-rapi pid=17447 INFO Reading users file
      at /var/lib/ganeti/rapi/users
      2011-04-04 03:09:51,027: ganeti-rapi pid=17447 INFO ganeti-rapi daemon
      startup
      
      Which is confusing, as it might look like the read of the users file
      is part of the previous run. This is because we log the 'daemon
      startup' message after the prepare_fn, which can log things on its
      own.
      
      The patch simply moves the 'daemon startup' message just before
      prepare_fn call.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      fe295df3
  12. Feb 02, 2011
  13. Jan 11, 2011
  14. Oct 07, 2010
  15. Sep 16, 2010
  16. Sep 07, 2010
  17. Aug 27, 2010
    • Manuel Franceschini's avatar
      Handle ENOENT case in ssconf.GetPrimaryIPFamily · 7dd999fc
      Manuel Franceschini authored
      
      This patch adds an optional default parameter to SimpleStore._ReadFile. This
      can be used to default the return value of this method in case the ssconf file
      is not present.
      
      In this particular case it is used to return AF_INET in case
      ssconf_primary_ip_familiy is absent. This is the case when upgrading
      from 2.2 -> 2.3. This is intended behaviour as it is suboptimal to copy
      the ssconf file manually to the nodes during an upgrade using
      cfgupgrade.
      
      In the concrete case of an upgrade from 2.2 -> 2.3 cfgupgrade will just
      add the primary_ip_family parameter to the cluster configuration and the
      daemons will start with default family AF_INET. This is perfectly fine,
      since there is no AF_INET6 2.2 clusters. After that, the admin is
      required (as in an major upgrade) to run 'gnt-cluster redist-conf' which
      will write ssconf_primary_ip_family on all nodes.
      
      Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      7dd999fc
  18. Aug 23, 2010
  19. Aug 19, 2010
  20. Aug 18, 2010
  21. Jul 12, 2010
    • Manuel Franceschini's avatar
      Confd IPv6 support · d8bcfe21
      Manuel Franceschini authored
      
      This patch series basically adds a new parameter 'family' to the constructors
      of daemon.AsyncUDPSocket and confd.client.ConfdUDPClient. This enables the
      users of these two classes to support IPv6.
      
      In ganeti-confd.ConfdAsyncUDPClient a method to check the address families of
      all peers is added.
      
      Furthermore it adds unittests for the added functionality.
      
      Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      d8bcfe21
  22. Jul 09, 2010
  23. Jun 30, 2010
  24. Jun 29, 2010
  25. Jun 17, 2010
  26. Jun 04, 2010
  27. Jun 03, 2010
Loading