Skip to content
Snippets Groups Projects
  1. Nov 15, 2012
  2. Nov 07, 2012
    • Iustin Pop's avatar
      Switch devel/upload to a static file · f9435bdc
      Iustin Pop authored
      
      We had twice in the past days questions about devel/upload being
      "broken", since bash re-reads shell scripts during their run and this
      file can get regenerated due to Makefile changes.
      
      Since we only need this to be dynamically built for 3 variables, let's
      make the file static and read those three variables when it is run,
      instead of when it is built, which allows us to re-read the "latest
      version" of these vars as well.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      f9435bdc
  3. Oct 25, 2012
  4. Oct 23, 2012
  5. Sep 19, 2012
  6. Jan 26, 2012
  7. Dec 12, 2011
  8. Nov 09, 2010
  9. Oct 13, 2010
    • Guido Trotter's avatar
      Require aclocal 1.11.1 or above for devel/release · 3ff614e2
      Guido Trotter authored
      
      1.11.1 is the version in squeeze and lucid, and we know it works. We
      also know that 1.10.1 in hardy and lenny doesn't, nor do 1.10 in etch
      and 1.9.6 in dapper. We haven't tested any other version.
      
      With older versions python.m4 is buggy, and results in the package being
      built not working on python 2.6 (which uses dist-packages rather than
      site-packages as a module directory).
      
      Version comparison is done component-by-component, over a bash array.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      3ff614e2
  10. Jul 19, 2010
    • Iustin Pop's avatar
      Introduce git reference/tag tracking for debugging · 84a12e40
      Iustin Pop authored
      
      This patch adds a new vcs-version file that is generated via git (and
      can be adapted if VCS is changed) and then embebbded as VCS_VERSION in
      the constants module.
      
      This means two things:
      - local modifications without committing to git (or when using a tar.gz
        archive + mods) will not be reflected
      - version is fixed at the time of the last make regen-vcs-version (dist time,
        or devel/upload which calls this)
      
      Thus this is more geared at developers rather than end users.
      
      The patch:
      
      - adds rules for generating the vcs-version file
      - adds a dist-hook for re-generating the file (if possible) and copying
        the updated version to the distdir
      - modifies devel/upload to re-generate the file before upload
      
      The output of --version will look like:
      gnt-cluster (ganeti v2.2.0beta0-184-gebca7e6) 2.2.0~beta0
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      84a12e40
  11. Jul 12, 2010
  12. May 20, 2010
  13. Apr 23, 2010
  14. Jan 13, 2010
  15. Jan 12, 2010
  16. Dec 18, 2009
  17. Nov 26, 2009
  18. Oct 05, 2009
  19. Sep 28, 2009
  20. Sep 09, 2009
  21. Aug 31, 2009
  22. Aug 05, 2009
  23. Aug 04, 2009
    • Iustin Pop's avatar
      Simplify the devel/upload script · c5159571
      Iustin Pop authored
      
      Instead of multiple uploads to each node, this script copies everything
      as needed to the temporary directory, exactly as to be installed in the
      destination machine, then runs only one rsync per host.
      
      This is more dangerous (we can break /etc now), but for development
      machines is fine.
      
      The patch then also uploads the bash completions and the current name
      for the cron job (I think that ganeti-master-cron is a deprecated name,
      not that someone actually intends to upload a file named like that). A
      flag --no-cron is added to skip uploading the cron file if desired.
      
      The patch also changes rsync to propagate the file permissions.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      c5159571
  24. Aug 03, 2009
  25. Dec 07, 2008
    • Guido Trotter's avatar
      chmod ganeti.initd before uploading it · c6286afc
      Guido Trotter authored
      When an upload is done to a node which doesn't have any version of
      ganeti installed, this prevents a non-executable-initd error later in
      the upload.
      
      Reviewed-by: imsnah
      c6286afc
  26. Nov 25, 2008
  27. Jun 26, 2008
    • Michael Hanselmann's avatar
      devel/upload: Add --no-restart option · f63eed35
      Michael Hanselmann authored
      If --no-restart is passed to devel/upload, it'll not run
      "/etc/init.d/ganeti restart" (which kills processes), making
      debugging on a terminal a bit easier.
      
      Reviewed-by: iustinp, ultrotter
      f63eed35
  28. Jun 19, 2008
  29. May 05, 2008
  30. Jan 28, 2008
  31. Jan 21, 2008
Loading