Skip to content
Snippets Groups Projects
  1. Feb 08, 2013
  2. Nov 15, 2012
  3. 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
  4. Oct 25, 2012
  5. Oct 23, 2012
  6. Sep 19, 2012
  7. Jan 26, 2012
  8. Dec 12, 2011
  9. 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
  10. Apr 23, 2010
  11. Jan 12, 2010
  12. Nov 26, 2009
  13. Sep 28, 2009
  14. Sep 09, 2009
  15. Aug 31, 2009
  16. Aug 05, 2009
  17. 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
  18. 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
  19. Nov 25, 2008
  20. 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
  21. May 05, 2008
  22. Jan 28, 2008
  23. Jan 21, 2008
Loading