- Nov 15, 2012
-
-
Guido Trotter authored
This allows offlining nodes that don't respond if they are part of a linux-HA cluster. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
This allows controlling the cluster master role if the nodes are part of a linux-HA cluster. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Nov 07, 2012
-
-
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:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Oct 25, 2012
-
-
Iustin Pop authored
The 'dumb-allocator' has been removed almost two years ago (commit 6f547f96, “Remove dumb-allocator”), let's remove this special casing for it from devel/upload. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
While running with a wrong --prefix/--sysconfdir, I saw that devel/upload actually uses a hardcoded path for the init script, even though it installs it in the correct place. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- Oct 23, 2012
-
-
Iustin Pop authored
To people not used to it, it was completely non-obvious why "./devel/upload" didn't do anything. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Sep 19, 2012
-
-
Michael Hanselmann authored
First the numbers: $ stat --format '%s %n' doc/examples/bash_completion* 77847 doc/examples/bash_completion 86492 doc/examples/bash_completion-debug The non-debug version doesn't use indentation and does not have some (primitive) facilities for debugging. The savings are about 8.5 kB or 10 %. The “-debug” version is used by “devel/upload”. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Jan 26, 2012
-
-
Bernardo Dal Seno authored
Permissions for the directories created during install depended on the umask of the user running the script. Now umask is reset inside the script to remove such dependency. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Iustin Pop <iustin@google.com> (cherry picked from commit 0f796800)
-
- Dec 12, 2011
-
-
Bernardo Dal Seno authored
Permissions for the directories created during install depended on the umask of the user running the script. Now umask is reset inside the script to remove such dependency. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Nov 09, 2010
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Oct 13, 2010
-
-
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:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Jul 19, 2010
-
-
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:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Jul 12, 2010
-
-
Manuel Franceschini authored
Use RFC 5737 IP addresses and RFC 2606 domain names in all unittests, docs, qa and docstrings. Signed-off-by:
Manuel Franceschini <livewire@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- May 20, 2010
-
-
Guido Trotter authored
Rather than calling devel/review with from..to target we can just use target, and assume target..HEAD as the range. This makes it a lot easier, as now you just have to say something like "devel/review devel-2.1" if you're already on the branch you want to commit, and want to commit it to devel-2.1. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Apr 23, 2010
-
-
Guido Trotter authored
When this option is used the /etc/defaults/ganeti file, which sets all the daemons in debug mode, is not copied. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Jan 13, 2010
-
-
Michael Hanselmann authored
- Print usage if no tree-ish (tag, branch or commit) was specified. - Use “gntrelease.XXXXXXXXXX” as temporary directory template. This makes it easier to find all of them. - Compute MD5 checksum. This doesn't cost a lot and might come in handy one day. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Jan 12, 2010
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Dec 18, 2009
-
-
Iustin Pop authored
Currently releases are done via the manual procedure on http://code.google.com/p/ganeti/wiki/ReleaseProcess , but that is not very reliable, and breaks for rc releases. The 1.2.9/2.0.5/2.1.0~rc2 releases were done with this new script that eases the process. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Nov 26, 2009
-
-
Iustin Pop authored
Since the rsync/ssh calls are done in parallel, they can't read properly a password or confirmation about keys from stdin. As such, it's better to enable batch mode so that they fail right away instead of prompting and then timing out after a long while. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Oct 05, 2009
-
-
Michael Hanselmann authored
This should prevent typos in aliases from going unnoticed. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Sep 28, 2009
-
-
Guido Trotter authored
Only install ganeti specific files if they exist. This way we can call ganeti's devel/upload in another sub-projects (eg. nbma) and have it uploaded to a host as well, without having to create a new script there. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Sep 09, 2009
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Luca Bigliardi <shammash@google.com>
-
- Aug 31, 2009
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Olivier Tharan <olive@google.com>
-
- Aug 05, 2009
-
-
Iustin Pop authored
The permissions replications also will change the permissions on the / and /usr directories, which is bad. This reverts it to the original behaviour. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 04, 2009
-
-
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:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Aug 03, 2009
-
-
Michael Hanselmann authored
I've been using this script for a while to update commits before pushing them to the main repository. It copies all commits in a range to another branch using git cherry-pick and starts an editor to modify the Reviewed-by: line(s) for each commit. The script is certainly not perfect, but it does the job. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Dec 07, 2008
-
-
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
-
- Nov 25, 2008
-
-
Guido Trotter authored
Reviewed-by: imsnah
-
- Jun 26, 2008
-
-
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
-
- Jun 19, 2008
-
-
Michael Hanselmann authored
This change allows us to use cleaner dependencies between directories. The build system is basically rewritten in large parts and may contain bugs. Reviewed-by: iustinp
-
- May 05, 2008
-
-
Michael Hanselmann authored
- Use variable with prefix instead of grep and sed - Always run with /bin/bash Reviewed-by: ultrotter
-
- Jan 28, 2008
-
-
Guido Trotter authored
Files are uploaded to $prefix/sbin, not $prefix/bin Reviewed-by: iustinp
-
- Jan 21, 2008
-
-
Guido Trotter authored
The upload tool can be used to submit the current code to an arbitrary list of nodes. This helps developers in easily testing their changes before submitting them. Reviewed-by: iustinp
-