- Feb 08, 2013
-
-
Iustin Pop authored
LIBDIR was not defined, so the files ended up directly under /, not good. Now they're properly installed under /usr/lib/ocf, as per http://linux-ha.org/wiki/OCF_Resource_Agents . Also add "set -u" to prevent future occurrences of this kind of bug. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 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>
-
- 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>
-
- 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 12, 2010
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@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>
-
- 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>
-
- 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
-
- 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
-