Skip to content
Snippets Groups Projects
  1. Jun 08, 2012
  2. Nov 04, 2011
  3. Oct 05, 2011
  4. Aug 17, 2011
  5. Jul 25, 2011
  6. 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
  7. Sep 14, 2010
  8. 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
  9. Aug 19, 2010
  10. Aug 18, 2010
  11. Jul 09, 2010
  12. Jun 01, 2010
  13. Apr 28, 2010
  14. Apr 19, 2010
  15. Apr 16, 2010
  16. Apr 08, 2010
  17. Mar 23, 2010
  18. Mar 18, 2010
  19. Mar 08, 2010
  20. Nov 03, 2009
  21. Oct 26, 2009
  22. Oct 12, 2009
  23. Sep 30, 2009
  24. Sep 22, 2009
  25. Sep 16, 2009
  26. Sep 11, 2009
  27. Aug 31, 2009
  28. Aug 28, 2009
  29. Aug 12, 2009
  30. Aug 10, 2009
  31. Aug 07, 2009
  32. Aug 06, 2009
  33. Aug 05, 2009
  34. Jul 16, 2009
    • Guido Trotter's avatar
      Simplify InitConfig and remove SimpleConfigWriter · a33848a5
      Guido Trotter authored
      
      InitConfig currently creates the cluster config_data, then puts it into
      a dict, passes it to SimpleConfigWriter to load it from a dict (which
      just reuses the dict value) and then saves it. The SimpleConfigWriter is
      then returned, but ignored. With this patch we just write out the
      config_data at InitConfig time, and thus can remove SimpleConfigWriter
      altogether. The now unused SimpleConfigReader.FromDict is also gone.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      a33848a5
Loading