Skip to content
Snippets Groups Projects
  1. Aug 22, 2012
  2. Jun 08, 2012
  3. Nov 04, 2011
  4. Oct 05, 2011
  5. Aug 17, 2011
  6. Jul 25, 2011
  7. Mar 01, 2011
    • Apollon Oikonomopoulos's avatar
      Core shared file storage support · 4b97f902
      Apollon Oikonomopoulos authored
      
      This patch introduces core file storage support, consisting of the following:
      
      A configure-time switch for enabling/disabling shared file storage
      support and controlling the shared file storage location:
      --with-shared-file-storage-dir=.  Shared file storage configuration is then
      available as _autoconf.ENABLE_SHARED_FILE_STORAGE and
      _autoconf.SHARED_FILE_STORAGE_DIR and there is a cluster-wide ssconf
      key named "shared_file_storage_dir" for changing the file location.
      
      A new disk template named "sharedfile" (DT_SHARED_FILE), using
      ganeti.bdev.FileStorage.
      
      Auxiliary functions in lib/config.py to handle shared file storage.
      
      Signed-off-by: default avatarApollon Oikonomopoulos <apollon@noc.grnet.gr>
      [iustin@google.com: small style fixes]
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      4b97f902
  8. Sep 14, 2010
  9. 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
  10. Aug 19, 2010
  11. Aug 18, 2010
  12. Jul 09, 2010
  13. Jun 01, 2010
  14. Apr 28, 2010
  15. Apr 19, 2010
  16. Apr 16, 2010
  17. Apr 08, 2010
  18. Mar 23, 2010
  19. Mar 18, 2010
  20. Mar 08, 2010
  21. Nov 03, 2009
  22. Oct 26, 2009
  23. Oct 12, 2009
  24. Sep 30, 2009
  25. Sep 22, 2009
  26. Sep 16, 2009
  27. Sep 11, 2009
  28. Aug 31, 2009
  29. Aug 28, 2009
  30. Aug 12, 2009
  31. Aug 10, 2009
  32. Aug 07, 2009
  33. Aug 06, 2009
  34. Aug 05, 2009
Loading